@charset "UTF-8";
/* Scss Document1 */
html {
  font-size: 16px;
}

body {
  color: #444;
  line-height: 1.6;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.sp {
    display: none;
}
#wrapper {
  max-width: 1200px;
  margin: auto;
    background-color: #fff;
}

header {
  position: relative;

}
header h1 {
  padding: 20px 10px 10px;
  font-size: 1.5rem;
  line-height: 1.5rem;
}
header h1 a {
  font-weight: bold;
}
header p.desc {
  margin: 10px;
}
header #mainnav {
  width: 100%;
  margin-top: 20px;
}
header #mainnav ul {
  display: flex;
  justify-content: center;
}
header #mainnav ul li {
  flex: auto;
  border-right: solid 1px #ccc;
}
header #mainnav ul li a {
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 5px;
  border-bottom: solid 5px #ccc;
  background: rgba(255, 255, 255, 0.8);
}
header #mainnav ul li a:hover {
  border-bottom-color: #FFF100;
  text-decoration: none;
}
header #mainnav ul li.current_page_item a {
  border-bottom-color: #00AFEC;
}
header #mainnav ul li:last-child {
  border: none;
}

#content {
  padding: 10px;
}
#content #pagetitle {
  font-size: 1.5rem;
  text-align: center;
  margin: 10px auto;
  width: 90%;
}
#content #pagetitle span {
  display: inline-block;
  background-color: #fff;
  padding: 0 20px;
  color: #00AFEC;
}
#content #mainarea {
  flex: 2;
}
#content #subarea {
  flex: 1;
  margin-left: 20px;
}
table {
  width: 90%;
  margin: 0 auto;
}
table tr {
  border-top: solid 1px rgba(0, 175, 236, 0.3);
}
table tr th {
  padding: 5px;
}
table tr td {
  padding: 5px;
}
table tr:nth-child(odd) {
  background-color: rgba(0, 175, 236, 0.1);
}
.mw_wp_form form input {
  padding: 5px;
}
.mw_wp_form p.formtext {
  text-align: center;
  margin: 10px;
}
.mw_wp_form p.formtext strong {
  display: block;
  color: #c00;
}
.mw_wp_form .horizontal-item {
    display: block;
    margin-right: 20px;
}
.mw_wp_form form .horizontal-item + .horizontal-item {
    margin-left: 0px;
}
footer {
  padding: 10px;
  text-align: center;
}
a.pagetop { 
display: none;
cursor: pointer; 
position: fixed;
bottom: 50px;
right: 30px;
background-color: #192826;
border-radius: 50%;
width: 50px; 
height: 50px; 
font-size: 20px;
line-height: 50px;
text-align: center;
    color: #fff;
}
.pagetop:hover {
opacity: 0.5;
    text-decoration: none;
}
@media screen and (max-width: 559px) {
  .flex {
    display: block;
  }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
  header h1 {
    text-align: center;
  }

  p.desc {
    font-size: 0.9rem;
  }

  #content #subarea {
    margin: 20px 0;
  }

  #content table {
    width: 100%;
  }
  #content table tr:nth-child(odd) {
    background-color: #fff;
  }
  #content table tr {
    border: none;
  }
  #content table tr th {
    display: block;
    border-bottom: dotted 1px #ccc;
    padding-bottom: 0;
  }
  #content table tr td {
    display: block;
  }
  .mw_wp_form form input[type="text"],
  .mw_wp_form form input[type="email"],
   .mw_wp_form form textarea {
  width: 80%;
      
    }  .mwform-checkbox-field {
        display: block;
    }
    .mw_wp_form .horizontal-item + .horizontal-item {
        margin-left: 0;
    }
    .mw_wp_form form .mwform-tel-field input[type="text"] {
        width: 5rem;
    }
    .mwform-zip-field input[type="text"] {
            width: auto!important;
        }
    
}

