@charset "utf-8";

body {
  color: #523c01;
}

a:link,a:visited,a:active {
  text-decoration: none;
  color: #523c01;
}

a:hover {
  text-decoration: underline;
}

a:hover img {
  opacity: .7;
}
img {
  max-width: 100%;
}

h1,h2 {
  text-align: center;
  margin-bottom: 4%;
  padding: 0 4%;
}

input,select,textarea {
  box-sizing: border-box;
}


.clearfix:after {
    content:" ";
    display:block;
    clear:both;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hLogo {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 4%;
}

.bg01 {
  background: url("/common/images/common/bg-ptn01.jpg");
  padding-bottom: 80px;
}

.bg01::before {
  content: " ";
  display: block;
  width: 100%;
  max-width: 1276px;
  margin: 0 auto;
  height: 171px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

#main {
  line-height: 1.7rem;
  background: #fff;
  border-radius: 50px;
  max-width: 1000px;
  box-sizing: border-box;
  padding: 90px;
  margin: 20px auto 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

#main h1,
#main h2 {
  margin-bottom: 7%;
}

.subttl {
  text-indent: -99999px;
  height: 0;
  padding-bottom: 5.365%;
  overflow: hidden;
  margin-top: 10%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

.floatR {
  float: right;
}

.floatL {
  float: left;
}

/**********************************************/
/*                グローバルナビ                */
/**********************************************/
header {
  background: #fff;
  box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
  position: relative;
}

#res_head_toggle{
  display: none;
}

#gnav ul {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0;
}

#gnav ul li {
  display: inline-block;
  height: 60px;
  width: 147px;
  overflow: hidden;
  background-image: url('/common/images/common/gnav.png') ,url('/common/images/common/gnav-line.png');
  background-repeat: no-repeat, no-repeat;
  text-indent: -99999px;
  padding: 0 20px;
}

#gnav li:nth-child(1) {
  padding-left: 0;
  background-position: 0 0, right top;
}

#gnav li:nth-child(1):hover,
#kodawari #gnav li:nth-child(1) {
  background-position: 0 -60px, right top;
}

#gnav li:nth-child(2) {
  width: 163px;
  background-position: 20px -120px, right top;
}

#gnav li:nth-child(2):hover,
#koutei #gnav li:nth-child(2) {
  background-position: 20px -180px, right top;
}

#gnav li:nth-child(3) {
  width: 163px;
  background-position: 20px -240px, right top;
}

#gnav li:nth-child(3):hover,
#interview #gnav li:nth-child(3) {
  background-position: 20px -300px, right top;
}

#gnav li:nth-child(4) {
  width: 131px;
  background-position: 20px -360px, right top;
}

#gnav li:nth-child(4):hover,
#souzai #gnav li:nth-child(4) {
  background-position: 20px -420px, right top;
}

#gnav li:nth-child(5) {
  width: 82px;
  background-position: 20px -480px, right top;
}

#gnav li:nth-child(5):hover,
#company #gnav li:nth-child(5) {
  background-position: 20px -540px, right top;
}

#gnav li:nth-child(6) {
  width: 114px;
  padding-right: 0;
  background-image: url('/common/images/common/gnav.png');
  background-repeat: no-repeat;
  background-position: 20px -600px;
}

#gnav li:nth-child(6):hover,
#inquairy #gnav li:nth-child(6) {
  background-position: 20px -660px;
}

#gnav li a {
  display: block;
  width: 100%;
  height: 100%;
}
/**********************************************/
/*                   パンくず                  */
/**********************************************/
#breadcrumb {
  max-width: 1000px;
  margin:  .5em auto 0;
}

#breadcrumb ul li {
  display: inline-block;
  font-size: .8rem;
}
#breadcrumb ul li:first-child::before {
  content: url('/common/images/common/icon-home.png');
  padding: 0 .2em 0 0;
  vertical-align: middle;
}

#breadcrumb ul li + li::before {
  content: "＞";
  vertical-align: top;
  padding-right: .4em;
  margin-left: -.4em;
}

#breadcrumb h1 {
  display: inline;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: .8rem;
  font-weight: normal;
}


/**********************************************/
/*                   リンク集                  */
/**********************************************/
#navGroup {
  background-image: url('/common/images/common/frame-corner.png'),
  url('/common/images/common/frame-corner.png'),
  url('/common/images/common/frame-corner.png'),
  url('/common/images/common/frame-corner.png'),
  url('/common/images/common/frame-line.png'),
  url('/common/images/common/frame-line.png'),
  url('/common/images/common/frame-line.png'),
  url('/common/images/common/frame-line.png');
  background-repeat: no-repeat;
  background-position: left top,left bottom, right top, right bottom, center top, center bottom, right center, left center;
  padding: 5% 0;
  text-align: center;
  margin-top: 80px;
}

#navGroup ul li img{
  width: 90%;
}

/**********************************************/
/*                   フッター                  */
/**********************************************/
.foot-contact {
  width: 570px;
  margin: 0 auto;
  padding: 70px 0;
}

.foot-contact p {
  text-align: center;
}

.foot-contact dl {
  float: left;
  font-weight: bold;
}

.foot-contact dl + dl {
  float: right;
}

.foot-contact dl dt {
  font-size: 1em; 
}

.foot-contact dl dd {
  font-size: 2em;
}

.foot-foot {
  background: url('/common/images/common/bg-ptn01.jpg');
  position: relative;
}

.foot-foot::before {
  content: " ";
  display: block;
  width: 100%;
  width: 100vw;
  height: 4px;
  background: url('/common/images/common/foot-line.png');
  position: absolute;
  top: -2px;
}

.foot-foot nav {
  padding: 60px 0;
}

.foot-foot nav div dl {
  margin-top: 0;
}

.foot-foot nav > dl,
.foot-foot nav > div {
  display: inline-block;
  vertical-align: top;
  margin: 0 13px;
}

.foot-foot nav dl dt {
  font-weight: bold;
  margin-bottom: 6px;
}

.foot-foot nav dl dd {
  font-size: .9em;
  margin-bottom: 3px;
}

.foot-foot nav dl dd::before {
  content: "-";
  margin-right: .5em;
}

.foot-foot nav .onlyDt dd::before {
  content: "";
}

.foot-foot .address {
  background: #fff;
  padding: 20px 0;
  position: relative;
}

.foot-foot .address img,
.foot-foot .address p {
  display: inline-block;
  margin-right: 20px;
}

#pageTop {
  position: absolute;
  bottom: 29px;
  right: 10px;
  width: 142px;
  height: 120px;
  background: url('/common/images/common/foot-pageTop_off.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  text-indent: -9999px;
  overflow: hidden;
}

#pageTop a {
  display: block;
  width: 100%;
  height: 100%;
}

#pageTop:hover {
  background: url('/common/images/common/foot-pageTop_on.png');
}

.copyright {
  text-align: center;
  line-height: 4em;
  margin: 0;
  font-size: .8em;
}

@media screen and (max-width: 1140px){
  .foot-foot .address img{
    display: block;
    margin-bottom: 0;
  }
}


@media screen and (max-width: 999px){
  #main {
    padding: 8%;
    width: 94%;
    font-size: .9rem;
  }

  #breadcrumb {
    width: 94%;
    font-size: .9rem;
    padding-left: 1em;
  }
  #breadcrumb li:first-child {
    text-indent: -.5em;
  }

/**********************************************/
/*                  フッター                   */
/**********************************************/

  .foot-foot nav {
    text-align:center;
  }

  .foot-foot nav > * {
    text-align: left;
  }

  .foot-foot nav > div > dl{
    display: inline-block;
    vertical-align: top;
    margin: 20px 13px 0;
  }

  .foot-foot nav dl dt {
    margin: 0
  }

  .foot-foot .address {
    padding: 30px 100px 30px 4%;
  }

  .foot-foot .address img{
    display: block;
    margin-bottom: 15px;
  }

  .foot-foot .address p {
    margin: 0 10px 0 ;
  }
}

@media screen and (max-width: 640px){
  body {
    font-size: 3.5%;
    font-size: 3.5vw;
  }

  #main {
    padding: 10% 6%;
  }

  .bg01::before {
    height: 0;
    padding-bottom: 30%;
    background-size: cover;
    margin-bottom: 3%;
  }

  .subttl {
    padding-bottom: 8.98%;
    margin-top: 15%;
  }

  #hFix {
    position: fixed;
    top: 0;
    width: 100%;
    width: 100vw;
    height: 50px;
    height: 15vw;
    background: none;
    background-color: rgba(255,255,255,.8);
    z-index: 100;
  }
  #hFix .hLogo {
    padding: 5px;
    padding: 3vw;
    font-size: 0;
    margin: 0;
  }
  #hFix .hLogo img {
    width: 40%;
    max-width: 222px;
  }

/**********************************************/
/*                メニュートグル                */
/**********************************************/
  #res_head_toggle {
    display: block;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 102;
    position: absolute;
    top: 33%;
    top: calc(50% - 17px);
    right: 5%;
  }

  #res_head_toggle span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #5d83c2;
    right: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    border-radius: 2px;
  }

  #res_head_toggle span:nth-child(1) {
      top: 0;
  }

  #res_head_toggle span:nth-child(2) {
      top: 11px;
  }

  #res_head_toggle span:nth-child(3) {
      top: 22px;
  }

  #res_head_toggle p {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    font-size: .8em;
    text-align: center;
  }

  #res_head_toggle.active span:nth-child(1) {
      top: 11px;
      -webkit-transform: rotate(315deg);
      -moz-transform: rotate(315deg);
      transform: rotate(315deg);
  }
  #res_head_toggle.active span:nth-child(2) {
      width: 0;
      right: 50%;
  }
  #res_head_toggle.active span:nth-child(3) {
      top: 11px;
      -webkit-transform: rotate(-315deg);
      -moz-transform: rotate(-315deg);
      transform: rotate(-315deg);
  }

/**********************************************/
/*                グローバルナビ                */
/**********************************************/
  #gnav ul {
    position: fixed;
    transition: all 1s;
    top: 12.9%;
    top: 15vw;
    right: -100%;
    right: -120vw;
    max-height: 90%;
    max-height: 90vh;
    overflow-y: scroll;
    width: 100%;
  }

  #gnav.active ul {
    z-index: 10;
    right: 0;
  }

  #gnav ul li {
    display: block;
    background: none !important;
    background-color: rgba(255,255,255,.8) !important;
    text-indent: 0 !important;
    font-size: 1rem !important;
    font-weight: bold;
    width: 100% !important;
    height: auto;
    margin: 0 !important;
    padding: 5% !important;
    border-bottom: 1px solid #aaa;
    text-align: left;

  }
  #gnav.active ul li {
    display: block !important;

  }
  #gnav ul li::after {
    content: ">";
    position: absolute;
    right: 5%;
  }
  #gnav ul li a {
    display: inline-block;
  }
  header {
    margin-top: 15%;
    margin-top: 15vw;
  }

/**********************************************/
/*                   フッター                  */
/**********************************************/

  .foot-contact {
    box-sizing: border-box;
    width: 100%;
    padding: 70px 4%;
  }

  .foot-contact dl + dl {
    margin-left: 2%;
  }

  .foot-contact dl dt {
    font-size: .7em;
  }

  .foot-contact dl dd {
    font-size: 1.5em;
  }

  #sitemap {
    padding: 0;
  }

  #sitemap a {
    display: block;
    padding: 6% 5%;
    position: relative;
    z-index: 10;
  }

  .foot-foot nav > dl,
  .foot-foot nav > div dl,
  .foot-foot nav > div {
    display: block;
    float: none;
    text-align: left;
    margin: 0;
  }

  .foot-foot nav > dl dt,
  .foot-foot nav > dl dd,
  .foot-foot nav > div dl dt,
  .foot-foot nav > div dl dd {
    border-top: 1px solid #d8c3a4;
    font-size: 1.2em;
    position: relative;
  }

  .foot-foot nav > dl:first-child dt {
    border-top: 0px;
  }

  .foot-foot nav dl dt:not(.accordion)::after,
  .foot-foot nav dl dd::after {
    content: ">";
    position: absolute;
    top: 20%;
    right: 7%;
    font-size: 1.5em;
    font-weight:normal;
    z-index: 0;
  }

  .foot-foot nav dl dd::before {
    content: none;
  }

  .foot-foot nav dl dt span {
    display: inline-block;
    position: absolute;
    top: 17%;
    right: 3%;
    padding-top: 12%;
    width: 12%;
    background: url('/common/images/common/foot-nav-accordion_off.png');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
  }
  
  .foot-foot nav dl dt span.active {
    background-image: url('/common/images/common/foot-nav-accordion_on.png');
  }
  .foot-foot nav dl dd {
    display: none;
  }

  .foot-foot .address p {
    font-size: .9em;
  }
}
