@charset "UTF-8";
main {
  position: relative;
  padding: 82px 0 0 0;
  margin: 0;
  display: block;
}

.contents {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 170px;
  padding: 106px 20px 0;
  box-sizing: border-box;
}

.index-btn_box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
.index-btn_box .index-btn {
  position: relative;
  display: flex;
  width: 48.5%;
  box-sizing: border-box;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0px 4px 20px 0px rgba(17, 54, 134, 0.2);
  transition: all 0.3s;
  cursor: pointer;
  height: 300px;
}
.index-btn_box .index-btn .title {
  position: absolute;
  top: 45px;
  left: 30px;
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  /* 可読性アップ */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.index-btn_box .index-btn .title_box {
  position: absolute;
  top: 45px;
  left: 30px;
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  list-style: none;
  /* 可読性アップ */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.index-btn_box .index-btn .title_box dt {
  margin-bottom: 20px;
}
.index-btn_box .index-btn .title_box dd {
  margin-bottom: 15px;
  font-size: 20px;
}
.index-btn_box .index-btn .image {
  width: 100%;
  height: auto;
}
.index-btn_box .index-btn .image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.index-btn_box {
  /* 背景画像 */
}
.index-btn_box .index-btn.top-message {
  background-image: url("../img/company/top_image.jpg");
}
.index-btn_box .index-btn.company {
  background-image: url("../img/company/company_image.jpg");
}
.index-btn_box .index-btn:hover {
  opacity: 0.7;
  cursor: pointer;
}

.message {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}
.message .message_box {
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 70px;
}
.message .message_box .title {
  font-size: 3rem;
  line-height: 1.75;
  margin-bottom: 25px;
}
.message .message_box .text {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 2.5em;
}
.message .message_box .mb70 {
  margin-bottom: 70px;
}
.message .message_box .boss_name {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.1em;
  text-align: right;
}
.message .img_box {
  width: 44.9%;
  max-width: 520px;
}
.message .img_box img {
  width: 100%;
  height: auto;
}

/* 狭間の記述
========================================================= */
@media screen and (min-width: 961px) and (max-width: 1720px) {
  .index-btn_box .index-btn .image img {
    width: 90%;
    margin: 0 auto;
    vertical-align: bottom;
  }
}
/* タブレット用）の記述
========================================================= */
@media screen and (min-width: 768px) and (max-width: 960px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  main {
    padding: 65px 0 0 0;
  }
  main .index-btn_box {
    display: block;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
  }
  main .index-btn_box .index-btn {
    position: relative;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 20px 0px rgba(17, 54, 134, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    height: 370px;
  }
  main .index-btn_box .index-btn .title {
    position: absolute;
    top: 45px;
    left: 30px;
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    /* 可読性アップ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  main .index-btn_box .index-btn .title_box {
    position: absolute;
    top: 45px;
    left: 30px;
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    list-style: none;
    /* 可読性アップ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
  main .index-btn_box .index-btn .title_box dt {
    margin-bottom: 20px;
  }
  main .index-btn_box .index-btn .title_box dd {
    margin-bottom: 15px;
    font-size: 20px;
  }
  main .index-btn_box .index-btn .image {
    width: 100%;
    height: auto;
  }
  main .index-btn_box .index-btn .image img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  main .index-btn_box {
    /* 背景画像 */
  }
  main .index-btn_box .index-btn.top-message {
    background-image: url("../img/company/top_image.jpg");
    margin: 0 auto 30px;
  }
  main .index-btn_box .index-btn.company {
    background-image: url("../img/company/company_image.jpg");
  }
  main .index-btn_box .index-btn:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  .contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 10px;
    box-sizing: border-box;
  }
  /* フッター設定 */
  #footer_wrapper {
    text-align: center;
    width: 100%;
    margin: 30px 0;
    font-size: 14px;
  }
}
/* スマホ用）の記述
========================================================= */
@media screen and (max-width: 767px) {
  /* 479px以下用（スマートフォン用）の記述 */
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  main {
    padding: 45px 0 0 0;
  }
  main .index-btn_box {
    display: block;
    width: 90%;
    margin: 0 auto;
  }
  main .index-btn_box .index-btn {
    position: relative;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 20px 0px rgba(17, 54, 134, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    height: 200px;
    margin-bottom: 20px;
  }
  main .index-btn_box .index-btn .title {
    position: absolute;
    top: 25px;
    left: 20px;
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    /* 可読性アップ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  main .index-btn_box .index-btn .title_box {
    position: absolute;
    top: 25px;
    left: 20px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    list-style: none;
    /* 可読性アップ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
  main .index-btn_box .index-btn .title_box dt {
    margin-bottom: 15px;
    font-size: 1.8rem;
  }
  main .index-btn_box .index-btn .title_box dd {
    margin-bottom: 10px;
    font-size: 1.4rem;
  }
  main .index-btn_box .index-btn .image {
    width: 100%;
    height: auto;
  }
  main .index-btn_box .index-btn .image img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  main .index-btn_box {
    /* 背景画像 */
  }
  main .index-btn_box .index-btn.top-message {
    background-image: url("../img/company/top_image.jpg");
  }
  main .index-btn_box .index-btn.company {
    background-image: url("../img/company/company_image.jpg");
  }
  main .index-btn_box .index-btn:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  .contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0 10px;
    box-sizing: border-box;
  }
  /* フッター設定 */
  #footer_wrapper {
    text-align: center;
    width: 100%;
    margin: 30px 0;
    font-size: 14px;
  }
}