@charset "UTF-8";
@media print, screen and (min-width: 1024px) {
  body .tab-sp,
  body .sp-tab {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  body .sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
  body div, body #main p {
    font-size: 16px;
  }
  body #main h6 {
    font-size: 16px;
    padding-left: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  header {
    height: 60px !important;
  }
  header .header_bg_black {
    background-image: url(../../media/images/sp/tab_header_bg.png);
  }
}
@media screen and (max-width: 767px) {
  header {
    height: 45px !important;
  }
  header .header_bg_black {
    background-image: url(../../media/images/sp/tab_header_bg.png);
    background-size: auto 100%;
  }
}
@media screen and (max-width: 1023px) {
  header .header_contents {
    width: auto !important;
  }
  header .header_contents .serch_area,
  header .header_contents .join_us_and_public_student_area,
  header .header_contents nav#gnavi {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  header .header_contents h1.logo {
    top: 10px;
    left: 24px;
  }
  header .header_contents h1.logo img {
    height: 40px;
  }
}
@media screen and (max-width: 767px) {
  header .header_contents h1.logo {
    top: 10px !important;
    left: 12px !important;
  }
  header .header_contents h1.logo img {
    height: 26px;
  }
}
header .menubar {
  position: absolute;
  top: 18px;
  right: 35px;
  z-index: 40;
}
@media screen and (max-width: 767px) {
  header .menubar {
    top: 12px;
    right: 30px;
  }
}
header .menubar span.open {
  position: absolute;
  top: 2px;
}
header .menubar span.open a {
  display: block;
  position: relative;
  width: 18px;
  height: 18px;
  width: 18px;
  height: 18px;
  border-top: 2px solid #fff;
}
header .menubar span.open a::before, header .menubar span.open a::after {
  position: absolute;
  display: block;
  content: " ";
}
header .menubar span.open a::before, header .menubar span.open a::after {
  width: 18px;
  left: 0;
  border-top: 2px solid #fff;
}
header .menubar span.open a:before {
  top: 5px;
}
header .menubar span.open a:after {
  top: 12px;
}
header .menubar span.close {
  position: absolute;
  display: none;
}
header .menubar span.close a {
  display: block;
  position: relative;
  width: 18px;
  height: 18px;
}
header .menubar span.close a::before, header .menubar span.close a::after {
  position: absolute;
  display: block;
  content: " ";
}
header .menubar span.close a::before, header .menubar span.close a::after {
  width: 23.4px;
  top: 9px;
  left: -3px;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}
header .menubar span.close a::after {
  transform: rotate(-45deg);
}

.sp.menu {
  position: absolute;
  z-index: 50;
  background: #002700;
  width: 100%;
  padding-bottom: 70px;
  box-shadow: 0 0 30px black;
  display: none;
}
.sp.menu > section {
  margin: 0 auto;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .sp.menu > section {
    width: 640px;
    padding: 20px 0;
  }
}
@media screen and (max-width: 767px) {
  .sp.menu > section {
    width: auto;
    padding: 20px;
  }
}
.sp.menu > section .buttons {
  display: flex;
}
.sp.menu > section .buttons a {
  display: block;
  width: 50%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: white;
  font-size: 15px;
}
@media screen and (max-width: 767px) {
  .sp.menu > section .buttons a {
    flex: 1 1 auto;
    width: auto;
    font-size: 14px;
  }
}
.sp.menu > section .buttons a.en {
  width: 100%;
}
.sp.menu > section .buttons a.entry {
  background: black;
}
.sp.menu > section .buttons a.public {
  background: #96b74d;
}
.sp.menu > section form {
  margin: 10px 0 18px;
  display: flex;
}
.sp.menu > section form input {
  flex: 1 1 auto;
  height: 40px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 5px;
  border: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.sp.menu > section form button {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #53842e;
  color: white;
  appearance: none;
  border: none;
  font-size: 16px;
}
.sp.menu > section nav a {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 0 14px;
  height: 42px;
  line-height: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp.menu > section nav a > span {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 42px;
  height: 42px;
  z-index: 10;
}
.sp.menu > section nav a > span span.open,
.sp.menu > section nav a > span span.close {
  position: absolute;
  top: 19px;
  left: 15px;
}
.sp.menu > section nav a > span span.open::before, .sp.menu > section nav a > span span.open::after,
.sp.menu > section nav a > span span.close::before,
.sp.menu > section nav a > span span.close::after {
  position: absolute;
  width: 15px;
  display: block;
  content: " ";
  border-top: 2px solid white;
}
.sp.menu > section nav a > span span.open::after {
  transform: rotate(90deg);
  top: 0;
}
.sp.menu > section nav a > span span.close {
  display: none;
}
.sp.menu > section nav ul.depth1 {
  border-bottom: 1px solid white;
}
.sp.menu > section nav ul.depth1 > li {
  border-top: 1px solid white;
}
.sp.menu > section nav ul.depth1 > li ul.depth2 {
  padding: 0 0 0 14px;
  display: none;
}
.sp.menu > section nav ul.depth1 > li ul.depth2 > li {
  border-top: 1px dotted rgba(255, 255, 255, 0.5);
}
.sp.menu > section nav ul.depth1 > li ul.depth2 > li ul.depth3 {
  padding: 0 0 0 14px;
  display: none;
}
.sp.menu > section nav ul.depth1 > li ul.depth2 > li ul.depth3 > li:first-child {
  border-top: 1px dotted rgba(255, 255, 255, 0.5);
}
.sp.menu > section nav ul.depth1 > li ul.depth2 > li ul.depth3 > li a {
  padding: 0 8px;
  height: 35px;
  line-height: 35px;
}
.sp.menu > section nav li.active > a {
  color: #96b74d !important;
}
.sp.menu > section nav.en a {
  font-size: 12px;
}
.sp.menu > section .lang {
  margin-top: 18px;
}
.sp.menu > section .lang a {
  display: block;
  text-align: center;
  height: 50px;
  line-height: 50px;
  background: #999999;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
}

@media screen and (max-width: 1023px) {
  section.main_contents_area .main_contents {
    width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  div.bg_green {
    padding: 0 24px;
    min-height: 100px;
  }
}
@media screen and (max-width: 767px) {
  div.bg_green {
    min-height: 70px;
  }
}
@media screen and (max-width: 1023px) {
  div.bg_green .page_title_area {
    width: auto;
  }
}
@media screen and (max-width: 1023px) {
  div.bg_green .page_title_area .page_title {
    position: static;
    padding-top: 20px;
    padding-bottom: 15px;
    font-size: 27px;
  }
}
@media screen and (max-width: 767px) {
  div.bg_green .page_title_area .page_title {
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 20px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  div.bg_green .page_title_area ul.pankuzu {
    margin-top: 12px;
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  div.bg_green .page_title_area ul.pankuzu {
    margin-top: 15px;
    font-size: 14px;
  }
  div.bg_green .page_title_area ul.pankuzu li {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents {
    width: auto;
    padding: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents {
    background: url(../../media/images/sp/bg_left.png) repeat-y left center, url(../../media/images/sp/bg_right.png) repeat-y right center;
  }
}
@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents > .clearfix {
    display: block;
  }
}
@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_left {
    width: auto !important;
    padding: 24px;
    float: none;
  }
}
@media screen and (max-width: 767px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_left {
    padding: 20px;
  }
}
@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main {
    zoom: 1;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main:before, .main_contents_area_lower .lower_contents > .clearfix .contents_left #main:after {
    content: "";
    display: table;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main:after {
    clear: both;
  }
}
@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main div.index {
    display: flex;
    width: auto;
    margin: 0;
    font-size: 14px;
  }
}
@media (max-width: 550px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main div.index {
    display: block;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main div.index ul {
    display: block;
    width: auto;
    float: none;
    margin-right: 0 !important;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_left #main div.index ul + ul {
    margin-top: -21px;
  }
}
.main_contents_area_lower .lower_contents > .clearfix .contents_left #main div.index.hidden {
  display: none;
}
@media screen and (max-width: 1023px) {
  .main_contents_area_lower .lower_contents > .clearfix .contents_right {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 24px 40px;
    background: #e4e3e0;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right li {
    font-size: 14px;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right li a, .main_contents_area_lower .lower_contents > .clearfix .contents_right li span {
    padding: 10px 13px;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right li.active {
    background-color: transparent !important;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right li.active > a {
    background-color: transparent;
    color: #96b74d;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right .logout {
    padding-bottom: 20px;
  }
  .main_contents_area_lower .lower_contents > .clearfix .contents_right .logout a {
    max-width: 300px;
    margin: 0 auto;
    background: #f4f4f4;
    color: #96b74d;
  }
}

@media screen and (max-width: 1023px) {
  .go_home_or_top_area {
    border: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .go_home_or_top_area .go_home_or_top_link {
    padding: 20px 0;
    width: 100%;
  }
  .go_home_or_top_area .go_home_or_top_link ul {
    position: static;
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width: 767px) {
  .go_home_or_top_area .go_home_or_top_link {
    height: auto;
    width: auto;
    padding: 10px;
  }
  .go_home_or_top_area .go_home_or_top_link ul {
    position: static;
    display: block;
    width: 300px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
  }
  .go_home_or_top_area .go_home_or_top_link ul li {
    box-sizing: border-box;
  }
  .go_home_or_top_area .go_home_or_top_link ul li a {
    width: auto;
    box-sizing: border-box;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.home {
    width: 49.5%;
    float: left;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.home a {
    background: #dddcda;
    width: 100%;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.home a::before {
    padding-left: 0;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.back {
    width: 49.5%;
    float: right;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.back a {
    width: 100%;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.back a::before {
    padding-left: 0;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.top {
    width: 100%;
    padding-top: 3px;
  }
  .go_home_or_top_area .go_home_or_top_link ul li.top a {
    width: 100%;
  }
}

#main img {
  max-width: 100%;
  height: auto !important;
}

#main .table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#main .table-wrapper table th, #main .table-wrapper table td {
  white-space: nowrap;
}

@media screen and (max-width: 1023px) {
  #main ul.column3pics,
  #main ul.column4pics {
    width: auto;
    display: flex;
    flex-wrap: wrap;
  }
  #main ul.column3pics > li,
  #main ul.column4pics > li {
    float: none;
    height: auto !important;
  }
}

#main ul.science_advisers {
  /*
      @include media (sp) {
          margin: 0;
          li {
              width: auto;
              margin: 0 10px 20px 0; 
              img {
                  width: 120px;
              }
              div {
                  p {
                      width: auto;
                  }
              }
          }
      }
  */
}
@media (max-width: 444px) {
  #main ul.science_advisers {
    margin: 0;
  }
  #main ul.science_advisers li {
    width: 50%;
    margin: 10px 0 20px;
  }
  #main ul.science_advisers li img {
    width: 100%;
  }
  #main ul.science_advisers li:nth-child(odd) {
    padding-right: 6px;
  }
  #main ul.science_advisers li:nth-child(even) {
    padding-left: 6px;
  }
}

@media screen and (max-width: 1023px) {
  #main #login_notice {
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  #wholewrapper #main table.topic {
    display: block;
  }
  #wholewrapper #main table.topic thead, #wholewrapper #main table.topic tbody, #wholewrapper #main table.topic tfoot, #wholewrapper #main table.topic tr, #wholewrapper #main table.topic th, #wholewrapper #main table.topic td {
    display: block;
  }
  #wholewrapper #main table.topic thead {
    display: none;
  }
  #wholewrapper #main table.topic tbody td:first-child {
    border: none;
    padding: 8px 5px 2px;
  }
  #wholewrapper #main table.topic tbody td:last-child {
    padding: 2px 5px 8px;
  }
}

@media print, screen and (min-width: 1024px) {
  body#login div #main form table input {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    font-size: 15px;
    padding: 2px;
    line-height: 1.5;
    border-radius: 0;
  }
  body#login div #main form div.submit input {
    background: #458623;
    color: white;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
  }
}
@media screen and (max-width: 767px) {
  body#login div #main form {
    padding: 10px 0;
  }
  body#login div #main form table {
    display: block;
    width: auto;
    margin: 0;
  }
  body#login div #main form table thead, body#login div #main form table tr, body#login div #main form table th, body#login div #main form table td {
    display: block;
    border: none;
    padding: 0;
  }
  body#login div #main form table th {
    padding: 0;
  }
  body#login div #main form table td {
    padding: 10px 0 20px;
  }
  body#login div #main form table input {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
    padding: 12px 8px;
    line-height: 1.5;
    border-radius: 0;
  }
  body#login div #main form div.submit input {
    background: #458623;
    color: white;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    width: 50%;
  }
}

#main h3 {
  font-size: 18px;
  line-height: 1.4;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  #main p {
    margin: 15px 15px 10px;
  }
}
@media screen and (max-width: 767px) {
  #main p {
    margin: 15px 0 10px;
  }
}

@media screen and (max-width: 767px) {
  #main ul,
  #main ol {
    margin: 20px 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  #main .history table.books tr td:first-child {
    width: 125px;
  }
  #main .history table.books tr td:last-child {
    width: auto !important;
  }
}
@media screen and (max-width: 767px) {
  #main .history table.books {
    display: block;
  }
  #main .history table.books tr, #main .history table.books thead, #main .history table.books tbody, #main .history table.books th, #main .history table.books td {
    display: block;
  }
  #main .history table.books tr {
    margin-bottom: 30px;
  }
  #main .history table.books tr td:first-child {
    padding: 0;
    text-align: center;
    border: none;
  }
  #main .history table.books tr td:first-child img {
    width: 120px;
    height: auto;
  }
  #main .history table.books tr td:last-child {
    padding: 0 0 40px;
    border: none;
    width: auto !important;
  }
  #main .history table.books tr td:last-child p {
    font-size: 16px;
  }
  #main .history table.books tr td .target {
    margin-left: 0;
  }
  #main .history table.books tr td .target li {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  body #main .pcp_list_area ul {
    width: auto;
    padding: 0;
    margin-left: 0;
  }
  body #main .pcp_list_area ul li {
    list-style: none;
    text-indent: 0;
    padding: 0;
    margin: 5px 20px 20px 0;
  }
  body #main .pcp_list_area ul li p {
    padding: 0;
    margin: 5px 0 0;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  body #main .pcp_list_area ul {
    width: auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  body #main .pcp_list_area ul li {
    width: 50%;
    height: auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    float: none;
    border: none;
    text-indent: 0;
  }
  body #main .pcp_list_area ul li:nth-child(odd) {
    padding-right: 4px;
  }
  body #main .pcp_list_area ul li:nth-child(even) {
    padding-left: 4px;
  }
  body #main .pcp_list_area ul li p {
    text-align: center;
  }
  body #main .pcp_list_area ul li img {
    width: 100%;
  }
}
@media screen and (max-width: 1023px) {
  body #main .pcp_back_number_area ul.gallery_categories {
    margin: 0 0 20px;
  }
  body #main .pcp_back_number_area ul.gallery_categories li {
    width: 170px;
    text-align: left;
  }
}
@media screen and (max-width: 767px) {
  body #main .pcp_back_number_area ul.gallery_categories {
    margin: 0 -20px 0 0;
    padding: 0;
  }
  body #main .pcp_back_number_area ul.gallery_categories li {
    width: 135px;
  }
  body #main .pcp_back_number_area ul.gallery_categories li a {
    font-size: 14px;
  }
}
body #main #detail_gallery .members_login,
body #main #detail_gallery .pcp_img_detail.bg_color_box a {
  font-size: 14px;
}
@media screen and (max-width: 1023px) {
  body #main #detail_gallery .top_dotted_box {
    display: flex;
  }
  body #main #detail_gallery .top_dotted_box .pcp_img {
    float: none;
  }
  body #main #detail_gallery .top_dotted_box .pcp_text {
    width: auto;
    float: none;
  }
}
@media screen and (max-width: 767px) {
  body #main #detail_gallery .top_dotted_box {
    display: block;
  }
  body #main #detail_gallery .top_dotted_box .pcp_img {
    margin: 20px auto;
    padding: 0;
    max-width: 300px;
  }
  body #main #detail_gallery .top_dotted_box .pcp_img img {
    width: 100%;
  }
  body #main #detail_gallery .top_dotted_box .pcp_text {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
  }
  body #main #detail_gallery .top_dotted_box .pcp_text .title {
    order: 2;
    margin: 20px 0 10px;
    font-weight: bold;
    font-size: 18px;
  }
  body #main #detail_gallery .top_dotted_box .pcp_text .pcp_text_caption {
    margin: 0 0 10px;
    order: 3;
  }
  body #main #detail_gallery .top_dotted_box .pcp_text .provide {
    margin: 0;
    padding: 5px;
    border: 1px solid #ccc;
    order: 1;
  }
}
@media screen and (max-width: 1023px) {
  body #main #author ul.authors {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  body #main #author ul.authors li {
    float: none;
    margin: 20px 20px 0 0;
  }
  body #main #author ul.authors li:nth-child(3n+1) {
    clear: none;
  }
}
@media screen and (max-width: 767px) {
  body #main #author ul.authors li {
    width: 50%;
    margin: 0;
    box-sizing: border-box;
  }
  body #main #author ul.authors li:nth-child(odd) {
    padding: 10px 5px 0 0;
  }
  body #main #author ul.authors li:nth-child(even) {
    padding: 10px 0 0 5px;
  }
  body #main #author ul.authors li img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #main nav.prev_next a {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  body #main div.open_close {
    display: flex;
    height: 40px;
  }
  body #main div.open_close a {
    flex: 1 1 auto;
    width: auto;
    height: 40px;
    line-height: 36px;
    float: none;
    text-align: center;
    font-size: 14px;
    padding: 2px 0;
  }
  body #main div.open_close a:first-child {
    order: 2;
  }
  body #main div.open_close a:last-child {
    order: 1;
    margin-left: 0;
  }
}

@media screen and (max-width: 1023px) {
  body #sitemap {
    display: flex;
    width: auto;
    margin: 0;
    justify-content: space-between;
  }
  body #sitemap > div {
    float: none !important;
    margin: 0;
  }
  body #sitemap > div ul.depth1 {
    padding-left: 0;
  }
}
@media (max-width: 550px) {
  body #sitemap {
    flex-direction: column;
  }
  body #sitemap > div {
    width: 100% !important;
    min-height: 100px !important;
  }
}

@media screen and (max-width: 767px) {
  #main .tab_container.select {
    position: relative;
    height: 35px;
    margin-bottom: 20px;
    z-index: 10;
  }
  #main .tab_container.select .current {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 0 10px;
    line-height: 35px;
    color: #96b74d;
    background: #f1f1f0;
  }
  #main .tab_container.select .current::after {
    position: absolute;
    font-family: FontAwesome;
    content: "";
    padding-left: 0;
    padding-right: 0;
    color: black;
    top: 0;
    right: 10px;
    line-height: 35px;
  }
  #main .tab_container.select ul.tab {
    position: absolute;
    display: flex;
    flex-direction: column-reverse;
    top: 35px;
    left: 0;
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    display: none;
    border: none;
    border-top: 1px solid #ccc;
  }
  #main .tab_container.select ul.tab li {
    float: none;
    height: 35px;
  }
  #main .tab_container.select ul.tab li a {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: left;
    padding: 0 10px;
    color: #96b74d;
  }
  #main .tab_container.select ul.tab li.active a {
    border-top: none;
    border-left: none;
    border-right: none;
    background: #fafafa;
    border-bottom-color: #ccc;
  }
}
@media screen and (max-width: 767px) {
  body #main form.mailform {
    margin-bottom: 100px;
  }
  body #main form.mailform table {
    display: block;
    border: none;
  }
  body #main form.mailform tbody, body #main form.mailform tr, body #main form.mailform th, body #main form.mailform td {
    display: block;
  }
  body #main form.mailform th, body #main form.mailform td {
    padding: 0 !important;
    border: none;
  }
  body #main form.mailform td {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
  }
  body #main form.mailform td button {
    background: #eee;
    border: 1px solid #bbb;
    float: right;
    margin-top: 5px;
  }
  body #main form.mailform td .example, body #main form.mailform td .errormessage {
    font-size: 12px;
    padding: 0;
  }
  body #main form.mailform input {
    font-size: 16px;
  }
  body #main form.mailform textarea {
    font-size: 16px;
  }
  body #main form.mailform tr.error th, body #main form.mailform tr.error td {
    background: transparent;
  }
  body #main form.mailform tr.error th {
    color: #c00;
  }
  body #main form.mailform div.submit {
    display: flex;
    justify-content: center;
  }
  body #main form.mailform div.submit input {
    width: auto;
    margin: 0 5px;
  }
  body #main form.mailform div.submit input.confirm, body #main form.mailform div.submit input.send {
    background: #458623;
    color: white;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
  }
}

body #main form input[type=text], body #main form input[type=password], body #main form input[type=email], body #main form textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 10px;
}
@media screen and (max-width: 767px) {
  body #main form .table-wrapper table td {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  body #main table.communication {
    display: block;
    margin: 20px 0;
  }
  body #main table.communication tbody, body #main table.communication tr, body #main table.communication th, body #main table.communication td {
    display: block;
    border: none;
    padding: 0;
  }
  body #main table.communication ul {
    margin: 0;
    padding: 0;
  }
  body #main table.communication ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-indent: 0;
  }
}

@media screen and (max-width: 767px) {
  body #main blockquote {
    margin: 30px 0;
    padding: 8px;
  }
  body #main blockquote h4 {
    margin-left: -8px;
    margin-right: -8px;
  }
}

body #main .fig-in-sp img {
  max-width: 100%;
}

@media print, screen and (min-width: 1024px) {
  body #main table.table400 {
    width: 400px;
  }
}
@media screen and (max-width: 767px) {
  body #main {
    word-break: break-all;
  }
  body #main span.sp-block {
    display: block;
  }
  body #main ul li, body #main li {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  body #main #sitemap * {
    font-size: 14px !important;
  }
}
body #main i.fa {
  font-style: normal;
}

@media screen and (max-width: 767px) {
  body #main table.jspp-history,
  body #main table.table2block {
    display: block;
  }
  body #main table.jspp-history tbody, body #main table.jspp-history tr, body #main table.jspp-history th, body #main table.jspp-history td,
  body #main table.table2block tbody,
  body #main table.table2block tr,
  body #main table.table2block th,
  body #main table.table2block td {
    display: block;
    white-space: normal;
    border: none;
    padding: 5px 2px;
    box-sizing: border-box;
    word-break: break-all;
  }
  body #main table.jspp-history th,
  body #main table.table2block th {
    padding: 12px 0 2px;
    border-top: 1px solid #ccc;
    width: 100% !important;
  }
  body #main table.jspp-history tr:last-child td,
  body #main table.table2block tr:last-child td {
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
  }
  body #main table.jspp-history .table2block,
  body #main table.table2block .table2block {
    border: none;
    margin-top: 1px;
  }
  body #main table.jspp-history .table2block tr,
  body #main table.table2block .table2block tr {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -1px;
  }
  body #main table.jspp-history .table2block tr th, body #main table.jspp-history .table2block tr td,
  body #main table.table2block .table2block tr th,
  body #main table.table2block .table2block tr td {
    border: none;
  }
  body #main table.jspp-history .table2block tr th,
  body #main table.table2block .table2block tr th {
    padding-top: 8px;
  }
  body #main table.jspp-history .table2block tr td,
  body #main table.table2block .table2block tr td {
    padding-bottom: 8px;
  }
}

body table.tokutei-shotoriho td.prices div {
  display: flex;
}
body table.tokutei-shotoriho td.prices div span:nth-child(1) {
  width: 8em;
}
body table.tokutei-shotoriho td.prices div span:nth-child(2) {
  width: 6em;
}
body table.tokutei-shotoriho td.prices div span:nth-child(3) {
  width: 6em;
  text-align: right;
}

/*
#sns_wrapper {
    .fb-like.fb_iframe_widget {
        font-size: 10px;
        line-height: 0;
        left: 4px;
    }
}
*/
#sns_wrapper table tr {
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 767px) {
  #sns_wrapper table td.facebook {
    padding-top: 11px;
  }
}

@media screen and (max-width: 1023px) {
  footer {
    height: auto !important;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg {
    background: #002700 !important;
  }
}
@media screen and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents {
    width: auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents {
    display: flex;
    padding: 20px 23px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_about_us {
    position: static;
    flex: 0 0 320px;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_about_us {
    position: static;
    float: none;
    width: 280px;
    margin: 0 auto;
    padding: 20px 0;
  }
  footer .footer_black_bg .footer_contents .footer_about_us a {
    font-size: 14px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_links {
    position: static;
    flex: 1 1 auto;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_links {
    position: static;
    float: none;
    width: 280px;
    margin: 0 auto;
    padding: 10px 0;
  }
}
@media screen and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_links .clearfix {
    display: block;
  }
}
@media screen and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul {
    float: none;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul {
    margin-right: 0;
  }
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul:first-child {
    margin-top: 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul li {
    margin-top: 10px;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul li {
    margin-top: 0;
  }
  footer .footer_black_bg .footer_contents .footer_links .clearfix ul li a {
    display: block;
    line-height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_search {
    position: static;
    flex: 0 0 230px;
  }
  footer .footer_black_bg .footer_contents .footer_search img {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_search {
    position: static;
    float: none;
    height: auto;
    width: 280px;
    margin: 0 auto;
    padding: 20px 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_search .search_area {
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_search .search_area img {
    width: 100%;
  }
}
@media screen and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_search .twitter_img_link {
    position: static;
    width: 49%;
    float: left;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_search .twitter_img_link {
    width: 50%;
    padding: 6px 0;
    background: #50abf1;
  }
  footer .footer_black_bg .footer_contents .footer_search .twitter_img_link img {
    width: 100%;
  }
}
@media screen and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_search .facebook_img_link {
    position: static;
    width: 49%;
    float: right;
    box-sizing: border-box;
    zoom: 1;
  }
  footer .footer_black_bg .footer_contents .footer_search .facebook_img_link:before, footer .footer_black_bg .footer_contents .footer_search .facebook_img_link:after {
    content: "";
    display: table;
  }
  footer .footer_black_bg .footer_contents .footer_search .facebook_img_link:after {
    clear: both;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_search .facebook_img_link {
    width: 50%;
    padding: 6px 0;
    background: #3463a4;
  }
  footer .footer_black_bg .footer_contents .footer_search .facebook_img_link img {
    width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  footer .footer_black_bg .footer_contents .footer_search .copyright {
    clear: both;
    padding-top: 10px;
    position: static;
    font-size: 10px;
    text-align: left;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_black_bg .footer_contents .footer_search .copyright {
    clear: both;
    position: static;
    padding-top: 20px;
  }
}

/*# sourceMappingURL=common.css.map */
