@charset "UTF-8";
@import url("base.css");
@import url("../contact_form/mfp.statics/mailformpro.css");
/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/
/*基本設定*/
/*ヘッダー*/
/*メイン*/
#top_m {
  margin: 5em auto 0; }
  #top_m h1 {
    font-size: 250%;
    width: 100%;
    font-weight: bold;
    color: #2e3192;
    text-align: center; }

#contact {
  margin: 0 auto;
  position: relative; }
  #contact h2 {
    margin: 0 auto;
    font-size: 156%;
    font-weight: normal;
    margin: 0 0 0.5em;
    text-align: center; }
  #contact p {
    text-align: center;
    margin: 0 0 3em; }
  #contact #mailformpro {
    width: 92%;
    background-color: #fff;
    padding: 4em 4%; }
  #contact .mfp_buttons {
    width: 50%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    #contact .mfp_buttons button {
      width: 48%; }

#thanks {
  margin: 5em auto; }
  #thanks a {
    color: #00328C;
    text-decoration: underline; }
    #thanks a:hover, #thanks a:active {
      color: #00328C;
      text-decoration: underline; }
  #thanks span a {
    color: #fff;
    background-color: #00328C;
    text-decoration: none;
    border-radius: 10px;
    display: block;
    margin: 3em auto 0;
    width: 250px;
    padding: 0.5em 0;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease; }
    #thanks span a:hover, #thanks span a:active {
      color: #fff;
      background-color: rgba(0, 50, 140, 0.8);
      text-decoration: none; }

.button {
  display: inline-block;
  border-radius: 10px;
  /* 角丸       */
  text-align: center;
  /* 文字位置   */
  cursor: pointer;
  /* カーソル   */
  padding: 0.5em 0;
  /* 余白       */
  background: #00328C;
  /* 背景色     */
  color: #ffffff;
  /* 文字色     */
  opacity: 1;
  /* 透明度     */
  transition: .3s;
  /* なめらか変化 */
  border: none;
  font-size: 120%; }

.button:hover {
  background: rgba(0, 50, 140, 0.8); }

.inp01 {
  width: 30% !important; }

.inp02 {
  width: 50% !important; }

.inp03 {
  width: 80% !important; }

/*フッター*/
/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/
/* pc */
@media screen and (min-width: 1000px) {
  /*ヘッダー*/
  /*メイン*/
  #top_m, #contact, #thanks {
    width: 980px; }

  /*フッター*/ }
/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 999px) {
  /*ヘッダー*/
  /*メイン*/
  #top_m, #contact, #thanks {
    width: 90%; }

  /*フッター*/ }
/* tablet以下共通ここまで ------------------------------------------------------------------------------------------*/
/* tablet2  */
@media only screen and (min-width: 768px) and (max-width: 999px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/ }
/* tablet2  */
@media only screen and (max-width: 767px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/
  #top_m {
    padding: 2em 0 0; }
    #top_m #top_wrap {
      width: 80%;
      background-color: rgba(0, 50, 140, 0.9);
      height: 6em; }
    #top_m h1 {
      font-size: 160%;
      padding: 1em 0 1em; }

  #contact .mfp_buttons {
    width: 80%;
    flex-direction: column; }
    #contact .mfp_buttons button {
      width: 100%;
      margin: 0 0 1em; }

  .inp01 {
    width: 40% !important; }

  .inp02 {
    width: 70% !important; }

  .inp03 {
    width: 100% !important; }

  /*フッター*/ }
/* smartPhone1 */
@media only screen and (max-width: 499px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/
  /*フッター*/ }
