@charset "utf-8";

/*============================
代表挨拶
============================*/


#message img.left {
  margin-right: 20px;
}

#message .inner p{
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 20px;
}
#message .inner p:nth-last-child(2){
  margin-bottom: 0;
}

#message .inner .name{
  text-align: right;
  font-size: 16px;
  font-weight: bold;
  color: #006933;
}

@media only screen and (max-width: 768px) {
    #message img {
        width: 100%;
        padding-top: 50.75%;
        height: 0;
        overflow: hidden;
        background: url(../images/01_sp.jpg) no-repeat left top;
        background-size: 100%;
        margin: 0 0 20px;
    }
}
/*============================
Link
============================*/

#links{
  padding-top: 40px;
}

#links .link_w {
    width: 100%;
    margin: auto;
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
#links .link_w li {
    width: 320px;
  }
  
#links .link_w li a,
#links .link_w li input {
    display: block;
    line-height: inherit;
    width: 100%;
    padding: 13px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.06em;
    color: #003c29;
    border: none;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    border-radius: 30px;
    border: #003c29 solid 2px;
  }
  
#links .link_w li a::before,
#links .link_w li input::before,
#links .formBtn li::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: solid 2px #003c29;
    border-right: solid 2px #003c29;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 10;
  }
  
  #links .link_w li {
    width: 372px;
  }

  #links .link_w li:last-of-type{
  margin-top: 20px;  
  }
  
  @media only screen and (max-width: 768px) {
    #links .link_w {
      padding-top: 0;
      justify-content: center;
    }
  
    #links .link_w li {
      margin:20px 0 0 0;
    }
    #links .link_w li:first-of-type{
      margin-top: 0;
    }
    #links .link_w li a, #links .link_w li input {
      font-size: 13px;
    }
  }