@charset "utf-8";

body {
  background-color: #FDFBEC;
  color: #333333;
  line-height: 2;
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
}

/* common*/

a {
  color: #6C9D8C;
  word-break: break-all;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}
/* p{
  margin-bottom: 2rem;
} */

h1 {
  border-top: #6C9D8C 5px solid;
  border-bottom: #6C9D8C 5px solid;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5rem 0;
  margin-bottom: 3rem;
  position: relative;
}

h1::before {
  content: '';
  width: 100%;
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  border-top: #6C9D8C 2px dashed;
  border-bottom: #6C9D8C 2px dashed;
}

h2 {
  font-size: clamp(20px, 5.333vw, 24px);
  min-height: 0vw;
  font-weight: bold;
  padding: 0.5rem;
  margin: 3rem 0 2rem;
  border-left: #6C9D8C 3px solid;
  position: relative;
}

h2::before {
  content: '';
  height: 100%;
  position: absolute;
  left: 3px;
  top: 0;
  border-left: #6C9D8C 1px solid;
}

h3 {
  font-size: clamp(18px, 4.615vw, 20px);
  min-height: 0vw;
  font-weight: bold;
  padding-bottom: 0.5rem;
  margin: 2rem 0;
  border-bottom: #8B7E74 2px dashed;
}

h4{
  font-size: clamp(18px, 4.615vw, 20px);
  min-height: 0vw;
  font-weight: bold;
  padding-bottom: 0.5rem;
  margin: 3rem 0 2rem;
  border-bottom: #6C9D8C 2px dashed;

}

.highlight {
  background-color: #FFF2B1;
}

.toc {
  border: #6C9D8C 1px solid;
  margin: 4rem 0;

  .subject {
    background-color: #6C9D8C;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
  }

  .subject+p {
    font-weight: bold;
    padding: 0 1rem;

    a{
      color: #333333;
      text-decoration: none;
    }
  }

  dl {
    padding: 0 1rem;
    margin-bottom: 2rem;

    dt {
      border-bottom: #8B7E74 1px solid;
      padding-bottom: 0.5rem;
      margin: 2rem 0 1rem;
      
      a{
        text-decoration: none;
        color: #333333;
      }
    }

    dd a {
      text-decoration: none;
      color: #333333;
    }
  }
}

.list-wrap{
  margin: 3rem 0;
  border: #333333 1px solid;

  dl dt{
    padding: 0.5rem 1rem;
    border-bottom: #333333 1px solid;

    span{
      display: block;
      font-size: 0.875rem;
      font-weight: normal;
    }
  }

  dl dd{
    padding: 0.5rem 1rem;
    margin: 0;
    border-bottom: #333333 1px solid;
  }
}

.table-responsive {
  height: 600px;
  margin: 3rem 0;

  .table {
    width: 100%;
    table-layout: fixed;
    border: #333333 1px solid;
    font-size: 0.875rem;
    position: relative;

    thead span{
      display: block;
      font-weight: 0.875rem;
      font-weight: normal;
    }

    tr {
      border-bottom: #333333 1px solid;

      th {
        width: 120px;
        vertical-align: middle;
        border-right: #333333 1px solid;
        background-color: #8B7E74;
        color: #fff;
        text-align: center;
        z-index: 2;
      }

      td {
        word-break: break-all;
        border-right: #333333 1px solid;
        text-align: center;
      }

      .table-font-size {
        font-size: 0.75rem;
        display: block;
      }

      .table-font-color {
        color: #D2691E;
      }

      .text-start{
        padding-left: 1rem;
        position: relative;
      }
      .text-start::before{
        content: '✔';
        position: absolute;
        left: 0;
      }
    }

    thead th {
      position: sticky;
      -webkit-position:sticky;
      top: 0;
    }
  }
}

@media screen and (min-width:768px) {

  .list-wrap{
  
    dl dt{
      border-right: #333333 1px solid;
    }
    dl .d-md-block{
      background-color: #6C9D8C;
      color: #fff;
      text-align: center;
    }
  }

  .table-responsive .table tr{
    
    th{
      width: 200px;
    }

    .table-font-size {
      font-size: 0.875rem;
    }
  }
}

@media screen and (min-width:992px) {

  h1{
    padding: 1.5rem 0;
    font-size: 2rem;
  }

  h2 {
    border-left: #6C9D8C 3px solid;
    border-bottom: #6C9D8C 1px solid;
    margin: 4rem 0 3rem;
  }

  h2::before{
    content: none;
  }
  

  h3{
    margin: 4rem 0 3rem;
  }

  .toc {
    margin: 5rem 0;
  
    .subject {
      font-size: 1.5rem;
      text-align: left;
      padding: 1rem 2rem;
    }
  
    .subject+p {
      font-size: 1.25rem;
      padding: 0 2rem;
    }
  
    dl {
      padding: 0 2rem;
      margin-bottom: 3rem;

      dd{
        padding-left: 1rem;
      }
      a{
        color: #333333;
      }
    }
  } 
    
}

/* header */

header {
  background-image: url(../images/woman.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  color: #fff;
}

header .container-fluid {
  background-color: rgba(51, 51, 51, 0.3);
  height: 100%;
}

.top-bar {
  background-color: #6C9D8C;
  padding: 0.5rem 0;

  p {
    font-size: 0.625rem;
    letter-spacing: normal;
    margin-bottom: 0;

    span {
      display: inline-block;
      background-color: #fff;
      color: #6C9D8C;
      padding: 0 0.5rem;
    }
  }
}

.title {
  text-align: center;
  margin-bottom: 3rem;

  p:first-child {
    font-size: 0.875rem;
    margin-bottom: 0;
  }

  p:last-child {
    font-size: 2rem;
    margin-bottom: 0;
    font-family: 'M PLUS 1', sans-serif;
  }

  span {
    display: block;
    font-size: 1.75rem;
  }
}

@media screen and (min-width:768px) {

  .top-bar {

    p {
      font-size: 0.75rem;
    }
  }


  .title {
    margin: 4rem 0 8rem;

    p:first-child {
      font-size: 1.5rem;
    }

    p:last-child {
      font-size: 4rem;
    }

    span {
      display: block;
      font-size: 3rem;
    }
  }

}

@media screen and (min-width:1200px) {

  .title {
    text-align-last: left;
    margin: 8rem 0;
  }

}

@media screen and (min-width:1400px) {

  .title {
    margin: 13rem 0;
  }

}

/* sp-nav */

.menuBtn {
  background-color: transparent;
  border: #fff 1px solid;
  border-radius: 50%;
  color: #fff;
  font-size: 0.625em;
  height: 50px;
  margin: 1rem 1rem 1rem auto;
  padding: 0.5rem 0 0;
  width: 50px;

  span {
    background-color: #fff;
    display: block;
    height: 1px;
    margin: 0 auto;
    width: 20px;
  }
}

.closeBtn {
  background-color: transparent;
  border: none;
  height: 50px;
  width: 50px;
  position: relative;
}

.closeBtn::before,
.closeBtn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 25px;
  background: #fff;
}

.closeBtn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.closeBtn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sp-nav {
  background-color: #FDFBEC;
  color: #333333;
  padding: 0 0 2rem 0;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 99;
  overflow: auto;
  transition: all 0.5s;

  .nav-header {
    background-color: #6C9D8C;
    padding: 0.5rem 1rem;
  }

  p {
    color: #fff;
    font-size: 1.25rem;
    font-family: 'M PLUS 1', sans-serif;
    margin: 0;
  }

  dt {
    border-bottom: #8B7E74 2px solid;
    font-size: 1.125rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
  }

  a{
    color: #333333;
    text-decoration: none;
  }

  dd::before {
    content: '・';
  }
}

.sp-nav.active{
  right: 0;
}

/* pc-nav */

.pc-nav {
  background-color: #8B7E74;

  ul li {
    border-left: #fff 1px solid;
    padding: 0.5rem 1rem;
    text-align: center;


    a {
      color: #fff;
      text-decoration: none;
      display: block;
      width: 100%;
      height: 100%;
    }
  }

  ul li:last-child {
    border-right: #fff 1px solid;
  }

  ul .linked{
    background-color: rgba(225, 225, 225, 0.3);
  }
  
}


/* パンくず */

.breadcrumb {
  /* font-size: 0.75rem; */
  font-size: clamp(12px,3.076vw,14px);
  min-height: 0vw;
}

/* main-contents */

.main-contents {
  background-color: #fff;
  padding: 2rem 1rem;
  margin-bottom: 5rem;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.35);
}

.pickup {
  border: #6C9D8C 1px solid;
  padding: 1rem;
  margin: 3rem 0;

  li {
    padding-left: 1rem;
    position: relative;
  }

  li::before {
    content: '●';
    position: absolute;
    left: 0;
  }
}

.item {
  border: #6C9D8C 1px solid;
  padding: 1rem;
}

@media screen and (min-width:768px) {

  .main-contents{
    padding: 3rem;
  }
  
}

/* wedgit */

.wedgit {
  background-color: #fff;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.35);
  padding: 1rem;
  margin: 3rem 0;

  h4 {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    border-bottom: #6C9D8C 1px solid;
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  ul {
    padding: 0;

    li {
      padding-left: 1rem;
      line-height: 2;
      position: relative;

      a {
        text-decoration: none;
        color: #333333;
      }
    }

    li:before {
      content: '・';
      display: block;
      position: absolute;
      left: 0;
    }
  }

  ul+div {
    text-align: end;

    a {
      text-decoration: none;
      vertical-align: middle;
    }
  }
}

/* footer */

footer {
  background-color: #6C9D8C;
  color: #fff;

  .footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin: 2rem 0;

    span {
      font-size: 0.875rem;
      font-weight: normal;
      padding-bottom: 0.5rem;
      display: block;
    }
  }

  dl {
    margin-bottom: 2rem;

    dt {
      border-bottom: #fff 1px solid;
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;

      a{
        color: #fff;
        text-decoration: none;
      }
    }

    dd a {
      color: #fff;
      text-decoration: none;
    }
  }

  .bg-white p {
    color: #333333;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    margin: 0;
  }
}

.footer-bar {
  background-color: #8B7E74;
  color: #fff;
  padding: 1rem 0;

  small {
    font-size: clamp(12px,3.0769vw,14px);
    min-height: 0vw;
  }

  p {
    font-size: clamp(12px,3.0769vw,14px);
    min-height: 0vw;
    text-align: end;
    margin: 0;

    a {
      color: #fff;
      display: block;
      width: 100%;
      height: 100%;
    }
  }
}

@media screen and (min-width:768px) {

  footer .footer-title {
    font-size: 1.55rem;
    margin: 3rem 0;

    span {
      font-size: 1.25rem;
    }
  }

  footer dl dd{
    display: inline;
  }

  footer dl dd::after{
    content: '／';
    padding: 0 0.5rem;
  }

  footer dl dd:last-child::after{
    content: none;
  }  
  
}

/* 各ページcss */

#index #sec3 h2 {
  border-left: none;
  background-color: #6C9D8C;
  color: #fff;
}

#index #sec3 h2::before {
  content: none;
}

#index #sec4 h3 {
  border-bottom: none;
  color: #8B7E74;
}


#check section h3{
  color: #6C9D8C;
  border: none;
}

#check #sec3 .table-responsive,
#check #sec4 .table-responsive{
  height: auto;
}

#about #sec6 h3{
  color: #6C9D8C;
  border: none;
}

#about #sec6 h3:last-of-type{
  color: #333333;
  border-bottom: #8B7E74 2px dashed;
}
