@charset "UTF-8";
/* カスタムプロパティ（変数）を定義する */
:root{
  --main-font-color: #333;
  --main-color:#536CBD;
}
/* normalize.cssに追記するリセット */
*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  color: var(--main-font-color);
  font-family: 'Noto Serif JP', sans-serif;
  line-height: 1.8;
  }

h1,
h2,
h3,
h4,
h5,
h6{
  margin: 0;
  padding: 0;
}
a{
  color: var(--main-font-color);
  text-decoration: none;
}
img{
  width: 100%;
  vertical-align: bottom;
}
ol,
ul{
  list-style: none;
}
/* ===========共通事項================== */
.inner{
  max-width: 1200px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.share{
  text-align: center;
  padding-bottom: 80px;
}

h2{
  color: var(--main-color);
  font-size: 40px;
}
/* =============ヘッダー================ */
.header{
  /* background-color: #fff; */
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 990;
}
.header-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 80%;
  padding: 10px 20px;
  /* background-color: rgb(255 255 255 / 90%);
  width: 100%;
  padding: 15px 20px;
  border-radius: 45px;
  box-shadow: 5px 5px 5px rgb(140 140 140 / 20%); */
}
.nav-list{
  display: flex;
  gap: 30px;
  white-space: nowrap;
}
.nav-list li a{
  font-family: "Playfair Display", serif;
  color: var(--main-color);
  line-height: 1;
}
/* .nav{
  background-color: rgb(255 255 255 / 50%);
  width: 60%;
  padding: 15px 20px;
  border-radius: 30px;
  box-shadow: 5px 5px 5px rgb(140 140 140 / 20%);
} */
.nav-list {
  background-color: rgb(255 255 255 / 75%);
  /* width: 100%; */
  padding: 15px 20px;
  border-radius: 30px;
  box-shadow: 5px 5px 5px rgb(140 140 140 / 20%);
}
header img{
  margin-left: 5%;
}
/* =============リンクボタン================ */
.job .link-btn{
  margin-bottom: 250px;
}

.link-btn{
    display: flex;
    align-items: center;
    margin: 20px 0;
    width: 25%;
    height: 3.0em;
    border-radius: 100vh;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    outline : 1px solid #FFFFFF; 
    -webkit-outline : 1px solid #FFFFFF; 
    outline-offset : -5px; 
    -webkit-outline-offset : -5px; 
    margin-top: 100px;
    margin-bottom: 70px;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.b1{
  border: 1px solid #fff;
    background-color: #fff;
    outline : 1px solid var(--main-color); 
    color:var(--main-color);
}
.link-btn span{
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.link-btn:hover{
  border: 1px solid var(--main-color);
}
.b1:hover{
  border: 1px solid #fff;
}
.link-btn span:hover{
  color: var(--main-color);
  width: 100%;
  height: 100%;
  outline : 1px solid var(--main-color); 
  outline-offset : -5px; 
  border-radius: 100vh;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.b1 span:hover{
  color: #fff;
  outline : 1px solid #fff; 
}
.link-btn::after{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s;
}
.b1::after{
  background-color: var(--main-color);
}
.link-btn:hover::after{
  transform: scaleX(1);
  transform-origin: left top;
}
/* =============フッター================ */
footer{
  background-color:  var(--main-color);
  color: #fff;
  padding: 60px 45px 45px 45px;
}
.footer-list img{
  width: 100%;
  max-width: 40vh;
  display: block;
  margin: auto;
}

.footer-list ul{
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px;
  /* margin-left: 90px; */
}
.footer-list a{
  color: #fff;
}
footer p{
  text-align: center;
  margin-top: 45px;
}



/* レスポンシブ対応 */


@media only screen and (max-width:1043px){
  .header{
    position: sticky;
    top: -90px;
  }
  .header-wrap{
    flex-direction: column;
    /* position: relative; */
    align-items: center;
    gap: 10px;
  }
  .header-wrap img{
    display: block;
    margin: auto;
    /* position: absolute; */
    /* justify-content: center; */
  }
  .nav-list {
    background-color: rgb(255 255 255 / 80%);
    /* width: 100%; */
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 5px 5px 5px rgb(140 140 140 / 20%);
  }
}

/* footer */
@media only screen and (max-width:968px) {
  /* .footer-list{
    display: flex;
    flex-direction: column;
  } */
  /* footer img{
    width: 100%;
    margin: auto;
  }
  .footer-list ul{
    margin: auto;
  }
  .footer-list ul li{
    text-align: center;
    margin-top: 15%;
    font-size: 14px;
  }
  footer p{
    text-align: left;
  }
  .share{
    margin: initial;
  } */
  .footer-list ul{
    display: block;
    text-align: center;
    margin-top: 20px;
  }
  .footer-list li{
    margin-top: 10px;
  }
  /* footer a img{
    width: 100%;
    display: inline;
  } */
  .footer-list a{
    font-size: 15px;
  }
}
@media only screen and (max-width:500px) {
  .footer-list img{
    width: 100%;
    display: block;
    margin: auto;
  }
  footer{
    padding: auto;
  }
} 

@media only screen and (max-width:795px) {
.btn{
  width: 60%;
}
}

/* ハンバーガー */
@media only screen and (max-width:640px) {
      /* ドロアーメニュー */
      header .nav{
        background-color: #fff;
        width: 100vw;
        height: 100dvh;
        left: -100vw;
        z-index: 9000;
        border-radius: 0;
    }
    header nav ul{
        height: 100%;
        padding: 10% 0;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        font-size: calc( 16rem / 16 );
    }
    .trigger{
        display: block;
        background-color:#FFFFFF80;
        width: 50px;
        height: 50px;
        border-radius: 10px;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 10000;
    }
    .bar1{
        display: block;
        background-color: var(--main-color);
        width: 35px;
        height: 2px;
        position: absolute;
        left: 5px;
    }
    .bar2{
      display: block;
      background-color: var(--main-color);
      width: 30px;
      height: 2px;
      position: absolute;
      left: 5px;
  }
  .bar3{
    display: block;
    background-color: var(--main-color);
    width: 35px;
    height: 2px;
    position: absolute;
    left: 5px;
}
    .bar1{top: 14px;}
    .bar2{top: 24px;}
    .bar3{top: 34px;}

    .nav{
      position: fixed;
      top: 0;
      right: -100%;
      /* width: 100%; */
      height: 100%;
      font-size: 16px;
      box-sizing: border-box;
      z-index: 1;
      padding-top: 50px;
      transition: .3s;
      box-shadow: none;
  }
  .nav.open {
      right: 0;
  }
    /* ハンバーガーをクリックしたら */
    .open header nav{
        left: 0;
    }
    .open .bar1{top: 24px;rotate: 135deg;}
    .open .bar2{top: 24px;opacity: 0;}
    .open .bar3{top: 24px; rotate: -135deg;}

    header nav,
    .bar{
        transition: 0.4s ease-in-out;
    }

    /* コピペここまで */
.header-wrap a img{
    width: 80%;
    margin: 5% 0;
}
.header-wrap .nav-list li{
  border-bottom: solid 1px #C8C8C8;
  width: 80%;
  display: inline;
  position: relative;
}
/* header .nav-list::after{
  display: block;
  content: "まゆみ社会保険労務士事務所";
}
header nav .hamburger-address::before{
  display: block;
  content: "〒564-0062\A 大阪府吹田市垂水町3-19-13\A 幸和セントラルビジネスビル5階";
  white-space: pre;
} */
header .nav-list{
  margin: 5% 10%;
}
header .nav-list a{
  display: block;
  text-align: center;
  padding-bottom: 10px;
}
header .nav-list::after{
  display: block;
  content: "まゆみ社会保険労務士事務所\A〒564-0062\A大阪府吹田市垂水町3-19-13\A幸和セントラルビジネスビル5階";
  white-space: pre;
  font-size: calc( 14rem / 16);
  color: var(--main-font-color);
  margin:auto;
}
header .header-wrap nav ul li ::after{
  /* display: inline; */
  position: absolute;
  right: 0;
  content: url(../images/hamburger-arrow.svg);

  /* justify-content: flex-end; */
}
/* header .header-wrap nav ul li ::after{
  display: block;
  content: url(../images/hamburger-arrow.svg);
} */
.nav-list{
  box-shadow: none;
}
}


