@charset "UTF-8";

img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 770px) {
  /* ヘッドライン　*/
  #headline {
    width: 100%;
    background-color: #1f5c7b;
    text-align: center;
    background-image: url('../image/works/headline.jpg');
    background-position: center;
    background-size: cover;
    z-index: 15;
    position: relative;
  }
  #headline div {
    margin: auto;
    padding: 100px 0;
    width: 20%;
  }
  #headline h2 {
    padding: 40px 0;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    background: rgba(31, 92, 123, 0.7);
  }

  /* メニューバー　*/
  #menu {
    width: 100%;
    height: 200px;
    background-color: #1f5c7b;
    transform: skew(0deg, -5deg);
    -webkit-transform: skew(0deg, -5deg);
    -moz-transform: skew(0deg, -5deg);
  }
  .menu_child {
    width: 100%;
    background-color: #fff;
    transform: skew(0deg, 5deg);
    -webkit-transform: skew(0deg, 5deg);
    -moz-transform: skew(0deg, 5deg);
  }
  .dropdwn {
    display: flex;
    width: 80%;
    margin: 0 auto;
  }
  .dropdwn li {
    width: 20%;
    text-align: center;
    position: relative;
    border-left: 2px solid #ddd;
  }
  .dropdwn a {
    display: block;
  }
  .dropdwn img {
    padding: 20px 0;
  }
  .dropdwn li:first-child {
    border: none;
  }
  .dropdwn a:hover {
    opacity: 0.5;
  }
  .dropdwn_menu {
    width: 100%;
    display: none;
    position: absolute;
    padding: 0;
    background: #fff;
  }
  .dropdwn_menu li {
    width: 100%;
    padding: 0;
    border: none;
  }
  .dropdwn_menu li a {
    padding: 10px 0;
    display: block;
    color: #000;
    font-size: 13px;
  }
  .dropdwn_menu li a:hover {
    background-color: #1f5c7b;
    color: #fff;
  }

  /* 現在のページのメニューの背景色を変更　*/
  #thispage {
    background-color: #399f4a;
  }
  #thispage img {
    filter: invert(100%);
  }

  /* 代表あいさつ　*/
  #message {
    width: 100%;
    margin: 150px auto;
  }
  #message h3 {
    font-size: 25px;
    text-align: center;
    font-weight: 900;
  }
  #message h3 mark {
    color: #333;
    background: rgba(252, 169, 169, 0.7);
  }
  #message h4 {
    margin-top: 100px;
    font-size: 20px;
    font-weight: 900;
    color: #1f5c7b;
    text-align: center;
  }
  .message_child {
    width: 70%;
    margin: 50px auto;
    display: flex;
    align-items: flex-start;
  }
  .message_child img {
    margin: auto 0;
    width: 45%;
  }
  .text {
    width: 50%;
    margin-left: auto;
  }
  .text img {
    width: 80%;
  }
  .text p {
    margin-top: 30px;
    font-size: 15px;
    line-height: 20px;
  }
  .text p:last-child {
    text-align: right;
  }

  /* 募集要項　*/
  #point {
    background-image: url('../image/recruit/background1.png');
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -100px;
    text-align: center;
  }
  #point h4 {
    font-size: 20px;
    padding-top: 200px;
    font-weight: 900;
    color: #fff;
    text-align: center;
  }
  .point_child {
    padding-bottom: 100px;
  }
  table {
    width: 70%;
    border-collapse: collapse;
    margin: 50px auto;
  }
  table th,
  table td {
    border: 2px solid #fff;
    padding: 20px;
    background-color: #f2f2f2;
    line-height: 20px;
  }
  table td {
    text-align: left;
  }

  table th {
    font-weight: bold;
    background-color: #abccd4;
  }

  #point a {
    padding: 20px 60px;
    border-radius: 10px;
    background-color: #fff;
    color: #1f5c7b;
    font-size: 1.2em;
  }

  #point a:hover {
    background-color: #399f4a;
    color: #fff;
    transition: 0.3s;
  }
  #staff {
    width: 100%;
    margin-bottom: 150px;
  }
  #staff h4 {
    font-size: 20px;
    padding-top: 100px;
    font-weight: 900;
    color: #1f5c7b;
    text-align: center;
    margin-bottom: 20px;
  }
  #staff .staff_child {
    display: flex;
    align-items: flex-start;
    width: 50%;
    margin: 40px auto;
  }
  #staff .staff_child h5 {
    font-size: 23px;
  }
  #staff .staff_child h5 span {
    font-size: 15px;
  }
  #staff div img {
    width: 35%;
    margin: auto;
  }
  #staff .text2 {
    width: 55%;
    margin: auto 0 auto auto;
    line-height: 25px;
  }
}

@media screen and (max-width: 769px) {
  /* ヘッドライン　*/
  
  #headline {
    width: 100%;
    background-color: #1f5c7b;
    text-align: center;
    background-image: url('../image/works/headline.jpg');
    background-position: center;
    background-size: cover;
    z-index: 15;
    position: relative;
  }
  #headline div {
    margin: auto;
    padding: 80px 0 100px;
    width: 40%;
  }
  #headline h2 {
    padding: 20px 0;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    background: rgba(31, 92, 123, 0.7);
  }

  /* メニューバー　*/
  #menu {
    width: 100%;
    height: 80px;
    margin-top: -5%;
    background-color: #1f5c7b;
    position: relative;
    z-index: 15;
    transform: skew(0deg, -5deg);
  }
  .menu_child {
    display: none;
  }

  /* 代表あいさつ　*/
  #message {
    width: 95%;
    margin: 100px auto;
  }
  #message h3 {
    font-size: 1em;
    font-weight: 900;
    text-align: center;
  }
  #message h3 mark {
    color: #333;
    background: rgba(252, 169, 169, 0.7);
  }
  #message h4 {
    margin: 100px auto 50px;
    font-size: 20px;
    font-weight: 900;
    color: #1f5c7b;
    text-align: center;
  }
  .message_child {
    width: 95%;
    margin: auto;
  }
  .message_child img {
    width: 100%;
  }
  .text {
    margin-top: 30px;
    width: 100%;
  }
  .text img {
    width: 80%;
  }
  .text p {
    margin-top: 30px;
    font-size: 1em;
    line-height: 1.5em;
  }
  .text p:last-child {
    text-align: right;
  }

  /* 募集要項　*/
  #point {
    background-image: url('../image/recruit/background1.png');
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -100px;
    text-align: center;
  }
  #point h4 {
    font-size: 20px;
    padding-top: 200px;
    font-weight: 900;
    color: #fff;
    text-align: center;
  }
  .point_child {
    padding-bottom: 100px;
  }
  table {
    width: 95%;
    border-collapse: collapse;
    margin: 50px auto;
  }
  table th,
  table td {
    border: 2px solid #fff;
    padding: 20px;
    background-color: #f2f2f2;
    line-height: 20px;
  }
  table td {
    text-align: left;
  }

  table th {
    font-weight: bold;
    background-color: #abccd4;
  }

  #point a {
    padding: 20px 60px;
    border-radius: 10px;
    background-color: #fff;
    color: #1f5c7b;
    font-size: 1.2em;
  }

  #staff {
    width: 100%;
    margin-bottom: 100px;
  }
  #staff h4 {
    font-size: 20px;
    padding-top: 100px;
    font-weight: 900;
    color: #1f5c7b;
    text-align: center;
  }
  #staff .staff_child {
    width: 80%;
    margin: 50px auto 100px;
    text-align: center;
  }
  #staff .staff_child h5 {
    font-size: 20px;
    text-align: center;
  }
  #staff .staff_child h5 span {
    font-size: 15px;
  }
  #staff div img {
    width: 50%;
  }
  #staff .text2 {
    width: 100%;
    text-align: left;
    font-size: 1em;
    line-height: 1.5em;
  }
}

.works .content-head {
  margin-top: 100px;
  text-align: center;
  font-size: 18px;
}

.works .content-head p {
  display: inline-block;
}

@media screen and (max-width: 769px) {
  .works .content-head p {
    font-size: 14px;
  }
}

.works .works-wrap {
  margin-top: 100px;
}

@media screen and (max-width: 769px) {
  .works .works-wrap {
    margin-top: 50px;
  }
}

.works .section-title {
  max-width: 1100px;
	color: #fff;
  font-weight: bold;
  font-size: 25px;
  white-space: nowrap;
  margin: 0 auto 50px;
}

@media screen and (max-width: 769px) {
  .works .section-title {
    font-size: 18px;
    margin-bottom: 30px;
  }
}

.works .section-title span {
	background: #399f4a;
  display: inline-block;
  padding: 20px;
}

.works .works-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding: 15px;
}

.works .works-list .works-item {
  width: 46%;
  margin-bottom: 75px;
}

@media screen and (max-width: 769px) {
  .works .works-list .works-item {
    width: 49%;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 500px) {
  .works .works-list .works-item {
    width: 100%;
  }
}

.works .works-list .works-description {
  font-size: 18px;
  padding: 50px;
  line-height: 1.5;
  box-shadow: 0 0 10px gray;
  position: relative;
  background: #fff;
}

.works .works-list .works-description::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  background: #1f5c7b;
  z-index: -1;
  box-shadow: 0 0 10px gray;
}

@media screen and (max-width: 769px) {
  .works .works-list .works-description {
    font-size: 14px;
    padding: 20px;
    line-height: 1.3;
  }
}