@charset "UTF-8";

#base_wrap .table_usual th {
  background-color: #b4e0ee;
}

/*---------------------------------
  page_header
---------------------------------*/

.page_header {
  margin-bottom: 0;
}

@media screen and (min-width: 641px), print {
  .page_header img {
    width: 206px;
  }
}

@media screen and (max-width: 640px) {
  .page_header img {
    width: 206px;
  }
}

/*---------------------------------
   #lead
---------------------------------*/

#lead {
  background: url("../images/lead_bg.jpg") no-repeat center;
  background-size: cover;
}

#lead * {
  padding: 0;
  margin: 0;
}

#lead h2 span {
  display: inline-block;
  background-color: #fff;
}

#lead p {
  color: #fff;
  text-shadow: 0 0 10px #000;
}

@media screen and (min-width: 641px), print {
  #lead {
    height: 634px;
  }
  
  #lead h2 {
    width: 420px;
    margin: 0 auto;
    padding-top: 87px;
  }
  
  #lead h2 span {
    padding: 0 12px;
    font-size: 30px;
    line-height: 1.3666;
  }
  
  #lead p {
    font-size: 16px;
    line-height: 2;
  }
}

@media screen and (max-width: 640px) {
  #lead {
    padding: 40px 20px;
  }
  
  #lead h2 {
    width: 300px;
    margin: 0 auto;
    line-height: 0;
  }
  
  #lead h2 span {
    padding: 0 10px;
    font-size: 20px;
    line-height: 1.75;
  }
  
  #lead p {
    font-size: 13px;
    line-height: 1.75;
  }
}

/* --------------------------------------------  
	 #leave
-------------------------------------------- */

@media screen and (min-width: 641px), print {
  #base_wrap #leave .base_flex {
    position: relative;
  }
  
  #base_wrap #leave .base_flex .base_box:first-child {
    width: 450px;
  }
  
  #base_wrap #leave .base_flex .base_box:nth-child(2) {
    width: 490px;
  }
  
  #base_wrap #leave .base_flex .base_box:first-child .base_list li {
    width: 100%;
  }
  
  #base_wrap #leave .base_flex .base_box:nth-child(2) .base_list li:nth-child(odd) {
    width: 190px;
  }
  
  #base_wrap #leave .base_flex .base_box:nth-child(2) .base_list li:nth-child(even) {
    width: calc( 100% - 190px );
  }
}

/* --------------------------------------------  
	 #childcare
-------------------------------------------- */

#base_wrap #childcare .bnr_woman a {
  display: inline-block;
  transition: all 0.3s;
}

@media screen and (min-width: 641px), print {
  #base_wrap #childcare .base_list:nth-of-type(1) li:not(:last-child) {
    margin-right: 1em;
  }
  
  #base_wrap #childcare .base_list:nth-of-type(2) li:nth-child(odd) {
    width: 498px;
  }
  
  #base_wrap #childcare .base_list:nth-of-type(2) li:nth-child(even) {
    width: calc( 100% - 498px );
  }
  
  #base_wrap #childcare .bnr_woman {
    margin-top: 20px;
    text-align: right;
  }
  
  #base_wrap #childcare .bnr_woman a:hover {
    opacity: 0.75;
  }
}

@media screen and (max-width: 640px) {
  #base_wrap #childcare .base_flex {
    clear: both;
  }
}

/* --------------------------------------------  
	 #parental
-------------------------------------------- */

#base_wrap #parental .bnr_man a {
  display: inline-block;
  transition: all 0.3s;
}

#base_wrap #parental .table_usual th:first-child,
#base_wrap #parental .table_usual td:first-child {
  width: 16%;
}

#base_wrap #parental .table_usual th:not(:first-child),
#base_wrap #parental .table_usual td:not(:first-child) {
  width: 28%;
}

@media screen and (min-width: 641px), print {
  #base_wrap #parental .base_flex {
    position: relative;
  }
  
  #base_wrap #parental .base_flex .base_box {
    width: 515px;
  }
  
  #base_wrap #parental .base_flex figure {
    width: 415px;
  }
  
  #base_wrap #parental .table_usual {
    width: 100%;
  }
  #base_wrap #parental .bnr_man {
    position: absolute;
    right: 0;
    top: 330px;
  }
  
  #base_wrap #parental .bnr_man a:hover {
    opacity: 0.75;
  }
}

/* --------------------------------------------  
	 #nursing
-------------------------------------------- */

@media screen and (min-width: 641px), print {
  #base_wrap #nursing .base_block {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #base_wrap #nursing .base_list li:nth-child(odd) {
    width: 100px;
  }
  
  #base_wrap #nursing .base_list li:nth-child(even) {
    width: calc( 100% - 100px );
  }
}

/* --------------------------------------------  
	 #start
-------------------------------------------- */

@media screen and (min-width: 641px), print {
  #base_wrap #start .table_usual th,
  #base_wrap #start .table_usual td {
    font-size: 16px;
    line-height: 1.75;
  }
}

/* --------------------------------------------  
	 #various
-------------------------------------------- */

@media screen and (min-width: 641px), print {
  #base_wrap #various .base_flex .base_box {
    width: 425px;
  }
  
  #base_wrap #various .base_flex .base_block {
    width: 525px;
  }
  
  #base_wrap #various .base_list li {
    width: 100%;
  }
}

/* --------------------------------------------  
	 #employee
-------------------------------------------- */

@media screen and (min-width: 641px), print {
  #base_wrap #employee .base_flex:nth-of-type(1) .base_box {
    width: 515px;
  }
  
  #base_wrap #employee .base_flex:nth-of-type(1) figure {
    width: 415px;
  }
  
  #base_wrap #employee .base_flex:nth-of-type(2) {
    flex-wrap: wrap;
  }
  
  #base_wrap #employee .base_flex:nth-of-type(2) .base_box {
    width: 100%;
  }
  
  #base_wrap #employee .base_flex:nth-of-type(2) figure {
    width: 470px;
  }
}
  

