/* ヘッダー */

.header-top {
  height: 70px;
  position: relative;
  width: 1160px;
  margin: 0 auto;
}

.header-inner {
  padding: 25px 0;
  background-color: #d97b7b;
  display: flex;
  justify-content: center;
}

.header-inner a {
  padding:12.5px 0;
  width: 166.4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.header-inner a:nth-child(1)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../img/common/line-dotted.png');
  background-size: cover;
  height: 100%;
  width: 1px;
}

.header-inner a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background-image: url('../img/common/line-dotted.png');
  background-size: cover;
  height: 100%;
  width: 1px;
}

.header-inner img {
  height: 25px;
  width: auto;
}

.header-inner a p {
  margin-top:12.5px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

@media screen and (max-width:768px) {
  *{box-sizing: border-box;
  }

  .header-inner {
    margin-top: 12.8vw;
    padding: 0;
    height: 36.5vw;
    flex-wrap:wrap; 
  }

  .header-inner a {
    width: 50%;
    flex-direction: row;
    padding:2.7vw 0;
  }

  .header-inner a::after {
    display: none;
  }
  .header-inner a:nth-child(1)::before {
    display: none
  }
  .header-inner img {
    height: 4.3vw;
    position: absolute ;
    left:4.3vw;
  
  }
  .header-inner a p {
    height: auto;
    margin-top: 0vw;
    font-size: 4.26vw;
    font-weight: 500;
    position: absolute;
    left: 12vw;
  }
  
  .header-inner a:nth-child(-n+4) {
    border-bottom: solid 0.26vw white;
  }
 
  .header-inner a:nth-child(2n+1) {
    border-right: solid 0.26vw white;
  }
}


/* フッター */

footer {
  margin-top: 41.6px;
  background-color: #ffffff;
}

.footer-top {
  display: flex;
  width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 41.6px 0;
}

.footer-top-content {
  flex: 1;
}

.footer-top-content:nth-child(1) {
  padding-right: 33.33px;
  border-right: solid 1px #d8d8d8;
}

.footer-top-content:nth-child(2) {
  padding-left: 33.33px;
}

.footer-top-content-image {
  height: 45px;
}

.footer-top-content:nth-child(1) .footer-top-content-image img {
  height: 100%;
  width: auto;
}

.footer-top-content:nth-child(2) .footer-top-content-image img {
  height: 29.16px;
  width: auto;
}

.footer-category {
  margin-top: 16.64px;
  display: flex;
  align-items: center;
}

.footer-category img {
  width: 18.5px;
  height: auto;
  margin-right:8px;
}

.footer-category p {
  font-size: 15px;
  color: #000000;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.footer-category-links {
  margin-top: 33.33px;
  display: flex;
  justify-content: space-between;
}

.footer-category-links a {
  font-size: 13px;
  letter-spacing: 1.6px;
  font-weight: 500;
  color: #000000;
}

.footer-top-content:nth-child(1) .footer-category-links a span {
  color: #5593c1;
  font-size: 8.32px;
}

.footer-top-content:nth-child(2) .footer-category-links a span {
  color: #d97b7b;
  font-size: 8.32px;
}

.footer-links {
  margin-top: 33.33px;
  display: flex;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.4px;
}

.footer-links a {
  color: #5d5d5d;
}

.footer-links span {
  margin: 0 6px;
}

.footer-bottom {
  display: flex;
  padding: 0 calc((100vw - 1000px) / 2);
  min-width: 1000px;
  color: #ffffff;
  background-color: #d97b7b;
  line-height: 33.33px;
}

.footer-bottom a {
  font-size: 11.68px;
  color: #ffffff;
  margin-right: 16px;
}

.footer-bottom p {
  font-size: 10px;
  color: #ffffff;
  margin-left: auto;
}

.dotted-top-border , .dotted-second-border {
  display:none;
}

@media screen and (max-width:768px) {
  footer {
    margin-top: 4vw;
  }

  .footer-top {
    width: unset;
    display:block;
    padding: 0 4vw;
    position: relative;
  }

  .footer-top-content-image {
    height: auto;
  }

  .footer-top-content {
    padding: 4vw 0 ;
  }

  .footer-top-content:nth-child(1){
    border-right: 0;
    border-bottom: solid 0.27vw #d8d8d8;
  }
  .footer-top-content:nth-child(2){
    padding-left: 0;
  }

  .footer-top-content:nth-child(1) .footer-top-content-image img{
    width: 26.1vw;
    height: 7.4vw;
  }  

  .footer-top-content:nth-child(2) .footer-top-content-image img {
    width: 46vw;
    height: 4.7vw;
  }
  
  .footer-top-content:nth-child(1) .footer-category {
    margin-top: 4.27vw;
    padding-bottom: 4vw;
    background-image: linear-gradient(to right, #5593c1, #5593c1 0.4vw, transparent 0.4vw, transparent 2.13vw);
    background-position: bottom;
    background-size: 2.13vw 0.4vw;
    background-repeat: repeat-x;
  }
  
  .footer-top-content:nth-child(2) .footer-category {
    margin-top: 4.1vw;
    padding-bottom: 4vw;
    background-image: linear-gradient(to right, #d97b7b, #d97b7b 0.4vw, transparent 0.4vw, transparent 2.13vw);
    background-position: bottom;
    background-size: 2.13vw 0.4vw;
    background-repeat: repeat-x;
  }
  

  .footer-category img {
    width:5.9vw;
    height: 4.8vw;
    margin-right: 2.61vw;
  }

  .footer-category p {
    font-size: 4.8vw;
    letter-spacing: 0.427vw;

  }

  .footer-category-links {
    flex-wrap: wrap;
    justify-content: left;
  }
  
  .footer-category-links a {
    width:auto;
    padding-right: 5.3vw;
    font-size: 4.27vw;
    letter-spacing: 0.0427vw;
    position: relative;
  }
  
  .footer-top-content:nth-child(1) .footer-category-links a span{
    font-size: 2.13vw;
    padding-right: 1.9vw;
  }

  .footer-top-content:nth-child(2) .footer-category-links a span{
    font-size:2.13vw;
    padding-right: 1.9vw;
  }

  .footer-category-links a:nth-child(4) {
    padding-right:0;
  }

  .footer-links {
    margin-top: 4vw;
    text-align: center;
    font-size: 3.7vw;
    letter-spacing: 0.37vw;
    flex-direction: column;
  }
  
  .footer-links span {
    display: none;
  }
  
  .footer-bottom {
    min-width: unset;
    line-height: 117.6px;
    padding: 4vw 9.3vw;
    flex-wrap: wrap;
    justify-content: space-between;
    
  }
  .footer-bottom a{
    font-size:3.7vw;
    margin-right:0vw;
    height:5.3vw;
    line-height: 5.3vw;
   
  }
  .footer-bottom p {
    text-align:center;
    font-size:3.2vw;
    letter-spacing: 0.32vw;
    height: 4.8vw;
    line-height:4.8vw;
    margin-left:0;
    margin-top:4vw;
  }  

  .dotted-top-border , .dotted-second-border {
    
    background-image: linear-gradient(to right, red 10%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
  }
}

/* ページネーション  */

.pnavi {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.pnavi span {
  box-sizing: border-box;
  padding: 0 15px;
  font-size: 13.33px;
  line-height: 38.4px;
  border-radius: 33.33px;
  background-color: #d97b7b;
  text-align: center;
  color: #ffffff;
  font-weight: 500;
  margin-right:8px;
}

.pnavi a {
  box-sizing: border-box;
  padding: 0 15px;
  font-size: 13.33px;
  line-height: 38.4px;
  border-radius: 33.33px;
  text-align: center;
  border: solid 1px #d8d8d8;
  color: #464849;
  font-weight: 500;
  margin-right:8px;
}


@media screen and (max-width:768px) {
  .pnavi {
    margin-top: 4vw;
    text-align: center;
  }
  
  .pnavi span {
    font-size: 3.73333vw;
    padding: 0 5.1vw;
    display: flex;
    justify-content: center;
    line-height: 12.2vw;
    border-radius: 17.12px;
    margin-right: 2.7vw;
  }

  .pnavi a {
    font-size: 3.73333vw;
    padding: 0 5.1vw;
    display: flex;
    justify-content: center;
    line-height: 12.2vw;
    border-radius: 17.12px;
    border: solid 0.267vw #d8d8d8;
    margin-right: 2.7vw;
  }
}

/* パンクズリスト */

#breadcrumb {
  background-color: #ffffff;
}
 
.breadcrumb-inner {
  width: 1000px;
  box-sizing: border-box;
  margin: 0 auto;
  padding:12.5px 0;
}

.breadcrumb-inner ul {
  display: flex;
  align-items: center;
}

.breadcrumb-inner ul li {
  margin-right:8px;
  font-size: 11.68px;
  font-weight: 500;
  line-height: 1;
  color: #939393
}

.breadcrumb-inner ul li a {
  color: #939393
}

.breadcrumb-inner ul li img {
  width: 15px;
  height: auto;
}

@media screen and (max-width:768px) {
  .breadcrumb-inner {
    width: unset;
    padding: 3.2vw 4vw;
  }

  .breadcrumb-inner ul li img {
    width: 4.8vw;
  }
  .breadcrumb-inner ul li {
    margin-right: 2.66666vw;
    font-size: 3.733333vw;
  }
}


/* バナー */

.banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.banner a {
  width: 19.2%;
  height: 58.4px;
  margin-bottom: 10px;
}

.banner a img {
  width: 100%;
  height: 100%;
}

.banner-top {
  margin-top: 41.6px;
}

.banner-bottom {
  margin-top: 25px;
  padding: 16.64px;
  background-color: #fffafa;
}

.recruit-banner {
  margin-top: 25px;
  padding: 16.64px;
  background-color: #fffafa;
}

.recruit-banner-title {
  display: flex;
  align-items: center;
  margin-bottom: 16.64px;
}

.recruit-banner-title p {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2.2px;
  color: #d97b7b;
}

.recruit-banner-title img {
  width: 500px;
  height: auto;
  margin-left: 16.64px;
}

.advatising-banner img {
  width: 100%;
  height: auto;
  margin-top: 41.6px;
}

@media screen and (max-width:768px) {
  .banner-top {
    margin-top: 4vw;
  }
  .banner {
    display: block;
  }

  .banner div {
    width: 100%;
    line-height: 28vw;
    font-size: 4.8vw;
    margin-bottom: 2.666666vw;
  }

  .banner div:nth-last-child(1) {
    margin-bottom: 0;
  }

  .recruit-banner {
    padding: 4vw;
  }

  .recruit-banner-title {
    margin-bottom: 4vw;
  }

  .recruit-banner-title p {
    font-size: 4vw;
  }

  .recruit-banner-title img {
    width: 24.8vw;
    margin-left: 4vw;
  }
}

/* ヘッダーナビ */

@media screen and (max-width:768px) {
  .nav-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 12.8vw;
    background-color: #fffafa;
    padding: 0 4vw;
  }
  
  .nav-hum span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000000;
    transition: .3s;
  }

  .nav-hum span:nth-child(n+2) {
    margin-top: 5px;
  }

  .nav-hum.clicked span:nth-child(1) {
    transform: rotate(45deg)translateY(5px);
  }

  .nav-hum.clicked span:nth-child(2) {
    display: none;
  }

  .nav-hum.clicked span:nth-child(3) {
    transform: rotate(-45deg)translateY(-5px);
  }
  
  .nav-inner {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 12.8vw;
    left: 0;
    right: 0;
    padding: 0 4vw;
    background-color: #D97B7B;
  }

  .nav-inner.clicked {
    display: block;
  }

  .nav-inner a {
    padding-bottom: 3vw;
    display: flex;
    align-items: center;
    font-size: 4vw;
    color: #ffffff;
    position: relative;
  }

  .nav-inner a:nth-child(n+2) {
    margin-top: 3vw;
  }

  .nav-inner a:nth-last-child(n+2)::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-image: url('../img/common/nav-dotted.png');
    background-size: cover;
  }

  .nav-inner a:nth-child(1) {
    padding-top: 3vw;
  }

  .nav-image {
    width: 6vw;
    margin-right:4vw;
    display: flex;
    align-items: center;
  }

  .nav-inner a img {
    height: 4.3vw;
    width: auto;
  }

  .nav-inner a span {
    margin-left: auto;
    font-size: 3.2vw;
  }

  .nav-inner > img {
    width: 100%;
    vertical-align: bottom;
  }
  
  .nav-top-title {
    width: 46vw;
  }
  .nav-shadow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    opacity: .6;
    z-index: 9999;
  }

  .nav-shadow.clicked {
    display: block;
  }
}
