@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  /* 3大特長 */
  #merit_area {
    width: calc(100% - 20px);
  }
  #merit_area > #flex-merit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 40px;
  }
  #merit_area > #flex-merit > div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0 10px;
    width: calc(33% - 20px);
  }
  #merit_area > #flex-merit > div > h2 {
    width: calc(100% - 40px);
    background-color: #e7eef7;
    padding: 20px;
    margin-bottom: 10px;
    color: #00427a;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
  }
  #merit_area > #flex-merit > div > .flex-stretch {
    flex-grow: 1;
    margin-bottom: 10px;
  }
  #merit_area > #flex-merit > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #999999;
    border-radius: 10px;
    background-color: #1987e5;
    color: #1d2088;
    height: 3em;
    text-align: center;
    margin-top: auto;
    margin-bottom: 10px;
  }
  #merit_area > #flex-merit > div > a:hover {
    background-color: #e7eef7;
    color: #00427a;
  }
  #merit_area > #flex-merit > div > a#merit-link01 {
    font-size: 2em;
    font-weight: bold;
    background-color: #51ade2;
  }
  #merit_area > #flex-merit > div > a#merit-link01:hover {
    background-color: #c7e1f5;
  }
  #merit_area > #flex-merit > div > a#merit-link02 {
    font-size: 2em;
    font-weight: bold;
    background-color: #8bc782;
  }
  #merit_area > #flex-merit > div > a#merit-link02:hover {
    background-color: #d6ead0;
  }
  #merit_area > #flex-merit > div > a#merit-link03 {
    font-size: 2em;
    font-weight: bold;
    background-color: #f3a69d;
  }
  #merit_area > #flex-merit > div > a#merit-link03:hover {
    background-color: #f9d1c9;
  }
  
  #merit_area > #flex-merit-model, #merit_area > #flex-merit-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
  }
  #merit_area > #flex-merit-model > h2, #merit_area > #flex-merit-more > h2{
    width: calc(100% - 20px);
    background-color: #00427a;
    padding: 10px 0;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
  }
  #merit_area > #flex-merit-model > div {
    width: calc(50% - 20px);
    padding: 0 10px;
  }
  #merit_area > #flex-merit-model > div > .merit-model-title {
    width: calc(100% - 20px);
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #00427a;
    color: #00427a;
  }
  #merit_area > #flex-merit-model > div > img {
    display: block;
    width: 50%;
    margin: 0 auto;
  }
  /* リンクボタン */
  #flex-merit-link {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
  }
  #flex-merit-link > #link-catalog {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(45% - 40px);
    margin:0 auto;
    padding: 10px 20px;
    border: none;
    border-bottom: solid 5px #155770;
    border-radius: 5px;
    background-color: #0f9ed5;
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    transition: .5s ease;
  }
  #flex-merit-link > #link-catalog:hover {
    background-color: #b9deec;
  }
  #flex-merit-link > #link-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(45% - 40px);
    margin:0 auto;
    padding: 10px 20px;
    border: none;
    border-bottom: solid 5px #cf3b00;
    border-radius: 5px;
    background-color: #ff6b00;
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    transition: .5s ease;
  }
  #flex-merit-link > #link-contact:hover {
    background-color: #ff9446;
  }
  
}
 
/* 小さい画面用 */
@media screen and (max-width: 767px) {
  /* 3大特長 */
  #merit_area {
    width: calc(100% - 20px);
  }
  #merit_area > #flex-merit {
    margin-bottom: 20px;
  }
  #merit_area > #flex-merit > div {
    display: flex;
    flex-direction: column;
    margin: 0 10px 40px;
    width: calc(100% - 20px);
  }
  #merit_area > #flex-merit > div > h2 {
    width: calc(100% - 40px);
    background-color: #e7eef7;
    padding: 20px;
    margin-bottom: 10px;
    color: #00427a;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
  }
  #merit_area > #flex-merit > div > .flex-stretch {
    margin-bottom: 20px;
  }
  #merit_area > #flex-merit > div > a {
    padding: 20px;
    margin-bottom: 10px;
    color: #1d2088;
    text-align: center;
    border-radius: 5px;
  }
  #merit_area > #flex-merit > div > a#merit-link01 {
    font-size: 1.4em;
    font-weight: bold;
    background-color: #51ade2;
  }
  #merit_area > #flex-merit > div > a#merit-link01:hover {
    background-color: #c7e1f5;
  }
  #merit_area > #flex-merit > div > a#merit-link02 {
    font-size: 1.4em;
    font-weight: bold;
    background-color: #8bc782;
  }
  #merit_area > #flex-merit > div > a#merit-link02:hover {
    background-color: #d6ead0;
  }
  #merit_area > #flex-merit > div > a#merit-link03 {
    font-size: 1.4em;
    font-weight: bold;
    background-color: #f3a69d;
  }
  #merit_area > #flex-merit > div > a#merit-link03:hover {
    background-color: #f9d1c9;
  }
  
  #merit_area > #flex-merit-model, #merit_area > #flex-merit-more {
    margin-bottom: 20px;
  }
  #merit_area > #flex-merit-model > h2, #merit_area > #flex-merit-more > h2 {
    width: calc(100% - 20px);
    background-color: #00427a;
    padding: 10px 10px;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
  }
  #merit_area > #flex-merit-model > div {
    width: calc(100% - 20px);
    padding: 0 10px;
  }
  #merit_area > #flex-merit-model > div > .merit-model-title {
    width: calc(100% - 20px);
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #00427a;
    color: #00427a;
  }
  #merit_area > #flex-merit-model > div > img {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  /* リンクボタン */
  #flex-merit-link {
    margin-bottom: 20px;
    text-align: center;
  }
  #flex-merit-link > #link-catalog {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    margin:0 auto;
    padding: 10px 20px;
    border: none;
    border-bottom: solid 5px #155770;
    border-radius: 5px;
    background-color: #0f9ed5;
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    transition: .5s ease;
  }
  #flex-merit-link > #link-catalog:hover {
    background-color: #b9deec;
  }
  #flex-merit-link > #link-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    margin:0 auto;
    padding: 10px 20px;
    border: none;
    border-bottom: solid 5px #cf3b00;
    border-radius: 5px;
    background-color: #ff6b00;
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    transition: .5s ease;
  }
  #flex-merit-link > #link-contact:hover {
    background-color: #ff9446;
  }
  
}




