@charset "utf-8";

/* layout */
.layout-screen{
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
  padding:var(--header-height) 0 0 0 ;
  @media (max-width: 500px) {
    padding: var(--header-height-sp) 0 0 0 ;
  }
}
.layout-header{
  position:fixed;
  background: white;
  top:0;
  left:0;
  width:100%;
  z-index: 100;
  @media (max-width: 500px) {
    border-bottom:1px solid var(--color-blue);
  }
  >.inner{
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height:var(--header-height);
    @media (max-width: 500px) {
      min-height:var(--header-height-sp);
    }
    > *{
      box-sizing: border-box;
      &.-upper{
       flex:1;
       display:flex;
       align-items:center;
       width:100%;
       @media (max-width: 500px) {
         padding-right:0;
         padding-left:14px;
       }
        >.logo{
          max-width:280px;
          flex:1;
          img{
            display: block;
            width:100%;
          }
        }
        >.tel{
          border-left: 1px solid #eee;
          padding-left:20px;
          margin-left:20px;
          text-align:center;
          @media (max-width: 500px) {
            padding-left:6px;
            margin-left:6px;
            margin-right:6px;
          }
          span{
            display: block;
            color: var(--color-blue);
            line-height: 1;
            margin: 5px 0;
            &.caption{
              font-size:12px;
              @media (max-width: 500px) {
                font-size: 9px;
              }
            }
            &.number{
              font-weight: bold;
              font-size:20px;
               @media (max-width: 500px) {
                font-size: 15px;
              }
            }
          }
        }
        >.kousha{
          margin-left:auto;
          display: flex;
          align-items: center;
          color:var(--color-kousha);
          font-weight: bold;
          gap:10px;
          @media (max-width: 500px) {
            gap: 0px;
          }
          a{
            display: block;
            color:var(--color-text);
          }
          span{
            display: block;
            margin:8px 0;
            letter-spacing: 0.5px;
            @media (max-width: 500px) {
              letter-spacing: 0;
              margin:6px 0;
              display: none;
            }
            &.sub{
              font-size:12px;
              @media (max-width: 500px) {
                font-size:10px;
              }
            }
            &.main{
              font-size:14px;
              @media (max-width: 500px) {
                font-size:10px;
              }
            }
          }
          img{
            display: block;
            width:40px;
            @media (max-width: 500px) {
              width:32px;
            }
          }
        }
      }
    }
  }
}
.layout-wrapper{
  max-width:var(--max-width);
  margin:0 auto;
  /* border:1px dotted red; */
  padding:0 40px;
  box-sizing: border-box;
  @media (max-width: 830px) {
    padding:0 30px;
  }
  @media (max-width: 500px) {
    padding:0 20px;
  }
}
.layout-footer{
  line-height: 1.8;
  margin: auto 0 0 0;
  .flex-res{
    display: flex;
  }
  >.sub{
    padding: 30px 0;
    background: var(--color-lightblue);
    .-address{
      align-items: center;
      padding:0;
      margin:0;
      &:last-child{
        font-size:90%;
        line-height: 1.6;
      }
      .-logo{
        max-width:200px;
      }
    }
  }
  >.inner{
    padding: 50px 0;
    color:white;
    background: var(--color-blue);
    @media (max-width: 500px) {
      text-align: left;
    }
    a{
      color:white;
    }
    > *{
      padding:20px;
    }
    .info{
      font-size:110%;
      padding:10px 0;
      font-weight: bold;
    }
    .copyright{
      font-size:80%;
      padding:10px 0;
    }
    .sitemap{
      /*
      .top {
        margin-bottom: 48.5px;
        > ul {
          @media (max-width: 834px) {
            flex-direction: column;
            row-gap: 30px;
          }
          > li {
            flex:1;
            @media (max-width: 834px) {
              flex-direction: column;
            }
            &.logo {
              margin-right:30px;
              a > img {
                max-width: 488px;
                display: block;
                width:100%;
              }
            }
            &.menu {
              > ul {
                > li {
                  flex:1;
                  margin-right:20px;
                  h3 {
                    font-size: 18px;
                    font-weight: 600;
                    margin-bottom: 15px;
                  }
                  > ul {
                    padding-left: 21px;
                    border-left: solid 1px #fff;
                    > li {
                      max-width: 237.5px;
                      &:not(:last-child) {
                        margin-bottom: 10px;
                      }
                      > a {
                        font-size: 14px;
                        line-height: 20px;
                        font-weight: 400;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      .bottom {
        > ul {
          justify-content: space-between;
          @media (max-width: 834px) {
            flex-direction: column;
          }
          > li {
            flex:1;
            &.menu {
              > ul {
                gap: 26px;
                > li {
                  > a {
                    font-size: 14px;
                    line-height: 20px;
                  }
                }
              }
            }
            &.copy {
              p {
                font-size: 12px;
                line-height: 17px;
              }
            }
          }
        }
      }
      */
    }
  }
}
.layout-section{
  display: block;
  /* &:first-of-type{
    padding-top:0;
  } */
  @media (max-width: 768px) {
    padding-bottom:0 !important;
  }
  & > .heading-bar{
    margin-top:0 !important;
  }
}
.layout-firstview{
  position: relative;
  padding: 80px 0 0 0;
  @media (max-width: 834px) {
      padding: 50px 0 0 0;
  }
  img{
    display: block;
    margin:0 auto;
    width:90%;
    max-width:1100px;
    @media (max-width: 834px) {
      
    }
  }
  .copy{
    text-align: center;
    margin:20px auto 0 auto;
    z-index: 2;
    color:var(--color-blue);
    font-weight: bold;
    font-size:2.8rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    @media (max-width: 834px) {
      font-size:2.2rem;
      line-height: 1.6;
    }
    @media (max-width: 500px) {
      font-size:1.8rem;
    }
  }
}
.layout-main{
  padding: 40px 0 80px 0 ;
  line-height: 1.8;
}
.layout-pagehead{
  padding: 30px 0 0 0;
  .title{
    font-weight: bold;
    font-size:180%;
    color:var(--color-text);
  }

  .sub{
    font-size:120%;
    font-weight: bold;
    color:var(--color-waterblue);
  }
}
.side-enable{
  margin: 40px 0 0 0;
  @media (max-width: 500px) {
    margin-top:0;
  }
}

.layout-bread{
  margin:20px 0 0 ;
  ul{
    display: flex;
    font-size:76%;
    li{
      span,
      a{
        color: var(--color-text);
        opacity: 0.8;
      }
      &:after{
        content:'';
        display: inline-block;
        width:6px;
        height:6px;
        border-right:1px solid #666;
        border-bottom:1px solid #666;
        transform: rotate(-45deg);
        margin:0 10px ;
        vertical-align: middle;
      }
      &.-current{
        font-weight: bold;
        span,a{
/*          color:var(--color-yellow);*/
        }
        &:after{
          content:none;
        }
      }
    }
  }
}


/* nav */
.nav-global{
  background: var(--color-blue);
  margin-top:auto;
  display:flex;
  align-items:center;
  white-space: nowrap;
  @media (max-width: 700px) {
    position: absolute;
    top: var(--header-height-sp);
    z-index: 100;
    width:100%;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
    display: none;
  }
  > *{
    width:100%;
    &.layout-wrapper{
      @media (max-width: 500px) {
        padding:20px;
      }
    }
  }
  a{
    color:white;
    text-decoration: none;
    padding: 4px 12px;
    display: block;
    font-weight: bold;
    font-size:1.6rem;
    transition: all .3s;
    @media (max-width: 830px) {
      
    }
    @media (max-width: 500px) {
      padding: 8px 8px;
    }
    &:hover{
      background-color: rgba(255, 255, 255, 0.2);
    }
  }
  ul{
    display: flex;
    justify-content: center;
    padding: 8px 0;
    column-gap: 20px;
    @media (max-width: 834px) {
      column-gap: 0px;
    }
    @media (max-width: 500px) {
      display: block;
    }
    li{
      @media (max-width: 500px) {
       padding:5px 0;
      }
      &.-current{
        a{
/*          background-color: var(--color-yellow);*/
          border:1px solid rgba(255, 255, 255, 0.5);
        }
      }
    }
  }/*
  &.-footer{
    @media (max-width: 500px) {
      display: none !important;
    }
    padding:10px 0 ;
    border-bottom:1px solid rgba(255, 255, 255, 0.2);
    li{
      a{
        padding: 4px 14px;
      }
      &.-current{
        a{
          background-color: transparent;
        }
      }
    }
  }*/
}
.nav-sp{
  position: relative;
  width: 48px;
  height: 40px;
  cursor: pointer;
  z-index: 103;
  display: none;
  @media (max-width: 700px) {
    display: block;
  }
  &:hover{
    opacity: 0.7;
  }
  span {
    display: inline-block;
    height: 2px;
    width: 50%;
    margin: 0 auto;
    background-color: #999;
    position: absolute;
    top: 50%;
    left: 25%;
    transition: all 0.2s ease-in-out;
    &:nth-child(2) {
      margin-top: -7px;
    }
    &:nth-child(3) {
      margin-top: 7px;
    }
    
  }
}
.nav-side{
  margin: 20px 0 0 0;
  @media (max-width: 834px) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  @media (max-width: 500px) {
    grid-template-columns: 1fr;
  }
  &:first-child{
    margin-top:0;
  }
  > li{
    margin:0 !important;
    a{
      position: relative;
      display: block;
      padding: 2px 0 2px 16px;
      &:before{
        content:'';
        background-color: var(--color-link);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        display: inline-block;
        width:6px;
        height:10px;
        position: absolute;
        left:0;
        top:11px;
      }
    }
  }
  &.-anchor{
    > li{
      a{
        &:before{
          content:'';
          background-color: var(--color-link);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
          display: inline-block;
          width:10px;
          height:6px;
          position: absolute;
          left:0;
          top:14px;
        }
        &:after{
          content:'';
          background-color: var(--color-link);
          height:1px;
          width:10px;
          position: absolute;
          left:0;
          top:22px;
        }
      }
    }
  }
}
.nav-page{
/*  //background-color: #effbe1;*/
  border: 1px solid var(--color-link);
  border-radius: 6px;
  padding:10px;
  margin: 30px 0 0 0;
  ul{
    display: flex;
    justify-content: center;
    column-gap: 20px;
  }
}
.nav-top{
  display: block;
  width:40px;
  height:40px;
  overflow: hidden;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom:20px;
  right:20px;
  cursor:pointer;
  &:after{
    content:'';
    display: inline-block;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    width:12px;
    aspect-ratio: 1 / 0.8;
    background-color: white;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
  }
}
.nav-bread{
  transform:translateY(-100%);
  ul{
    display: flex;
    font-size:80%;

    li{
      &:after{
        content:'';
        display: inline-block;
        width:6px;
        height: 6px;
        border-right:1px solid #999;
        border-bottom:1px solid #999;
        transform: rotate(-45deg);
        line-height: 1;
        margin:0 10px;
      }
      &:last-child{
        &:after{
          content:none;
        }
      }
      a{
        color: var(--color-text);
      }
    }
  }
}
.nav-anchor{
  padding: 10px 20px;
  border:1px solid var(--color-link);
  background-color: #F0FAFF;
  border-radius: 8px;
  margin:0 0 30px 0;
  ul{
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 4px;
    margin:0;
    @media (max-width: 834px) {
      column-gap: 0px;
    }
    li{
      margin:0;
      @media (max-width: 834px) {
        width:calc( 33% );
      }
      @media (max-width: 500px) {
        width:100%
      }
      &.separator{
        border-left:1px solid var(--color-link);
        padding-left:20px;
<<<<<<< HEAD
=======
        @media (max-width: 834px) {
          border-left: none;
        }
>>>>>>> dee5963a16da7f9e37ec503c59322fe2565796f3
      }
      &.link{
        a{
          &:after{
            content:none;
          }
          &:before{
            clip-path: polygon(0 0, 100% 50%, 0% 100%);
            width:6px;
            height:10px;
          }
        }
      }
      a{
        position: relative;
        display: block;
        padding-left:18px;
        &:before{
          content:'';
          background-color: var(--color-link);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
          display: inline-block;
          width:10px;
          height:6px;
          position: absolute;
          left:0;
          top:10px;
        }
        &:after{
          content:'';
          background-color: var(--color-link);
          height:1px;
          width:10px;
          position: absolute;
          left:0;
          top:18px;
        }
      }
    }
  }
}
.nav-button{
  margin: 30px 0 0 0;
  &.-right{
    text-align: right;
  }
}
/* status */

.status-nav{
  .nav-global{
    display: block;
  }
  .nav-sp{
    span {
      &:nth-child(1) {
        opacity: 0;
      }
      &:nth-child(2) {
        transform: rotate(45deg);
        margin-top:0;
      }
      &:nth-child(3) {
        transform: rotate(-45deg);
        margin-top:0;
      }
      
    }
  }
  .layout-screen{
    &:after{
      display: block;
    }
  }
  .bg-shadow{
    display: block;
    height:100vh;
  }
}
.status-scroll{
  .layout-header{
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
  }
}

.bg-shadow{
  content:'';
  display: none;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:0vh;
  display: none;
  transition: all .3s;
}

/* Pagenation */
.pagenation {
  padding-top: 54.5px;
  @media (max-width: 1100px) {
    padding-top: 37.5px;
  }
  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    @media (max-width: 1100px) {
      gap: 12px;
    }
    li {
      margin-bottom: 0;
      a {
        display: block;
        width: 36px;
        height: 36px;
        line-height: 36px;
        @media (max-width: 1100px) {
          width: 30px;
          height: 30px;
          line-height: 30px;
        }
      }
      &.arrow {
        a {
          position: relative;
          &:before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            background: transparent;
            width: 8px;
            height: 8px;
            transform: translate(-50%, -50%) rotate(-45deg);
            transition: .3s allease-out;
            @media (max-width: 1100px) {
              width: 6.5px;
              height: 6.5px;
            }
          }
        }
      }
      &.arrow.prev {
        a {
          &:before {
            border-left: 2px solid #0088CC;
            border-top: 2px solid #0088CC;
          }
        }
      }
      &.arrow.next {
        a {
          &:before {
            border-right: 2px solid #0088CC;
            border-bottom: 2px solid #0088CC;
          }
        }
      }
      &:not(.arrow) a {
        font-size: 16px;
        font-weight: 500;
        border-radius: 6px;
        border: solid 1px #ddd;
        text-align: center;
        color: #666;
      }
      &.current a {
          pointer-events: none;
          border-color: #0088CC;
          color: #0088CC;
      }
      &.over {
        font-size: 14px;
      }
    }
  }
}

