@charset "utf-8";
/*
Theme Name: hokudai english site theme
Theme URI:
Description: hokudai english site theme
Author:
Author URI:
*/
/* common setting
---------------------------------------------- */

html {
  color: #333;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* exlude MacIE5 \*/

* html .clearfix {
  height: 1%
}

.clearfix {
  display: block;
}

/* end MacIE5 */

img {
  max-width: 100%;
  height: auto;
  width: auto\9;
  /* ie8 */
}

#contents_wrapper #content h2.title {
  margin-top: 0;
}



.widget_simpleimage .more,
.home .more {
  margin-top: 5px;
  line-height: 1.4rem;
}

.home .more a {
  text-align: left;
  line-height: 1.2rem;
}

.home .wpel-icon.wpel-image {
  display: none;
}

.more span {
  background: url(img/common/arrow_gray.gif) no-repeat right center;
  padding-right: 12px;
}

.share-links {
  margin: 0 auto 30px auto;
  max-width: 1200px;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  .share-links {
    width: calc(100% - 10px);
  }
}

.share-links ul {
  width: 116px;
  margin-left: auto;
}

.share-links li {
  float: left;
  margin-right: 4px;
}

.share-links li.last {
  margin-right: 0;
}

.update {
  font-weight: bold;
  float: left;
  width: 100%;
  margin-bottom: 30px;
}

@media screen and (max-width: 480px) {
  .update {
    border-top: 1px dotted #808080;
    padding-top: 10px;
  }
}

.single .date {
  color: #007E2D;
}

.update span,
.date span {
  //  font-family: Verdana, Geneva, sans-serif;
  //  font-style: italic;
  font-weight: normal;
  color: #808080;
}



.page_top {
  height: 120px;
  width: 30px;
  position: fixed;
  top: 180px;
  margin-left: 1210px;
  z-index: 9000;
  left: auto;
}

@media screen and (max-width: 1300px) {
  .page_top {
    height: 30px;
    width: 30px;
    top: auto;
    bottom: 0;
    right: 0px;
  }

  .page_top a {
    display: block;
    height: 30px;
    width: 30px;
    background: url(img/common/btn_top_s.png) no-repeat;
    text-indent: -9999px;
    background-size: 100%;
  }
}

/* Hyper text
---------------------------------------------- */

a {
  color: #447B9E;
  text-decoration: underline;
  outline: none;
}

a:visited {
  color: #9E4474;
}

a:hover {
  color: 10557E;
  text-decoration: none;
}

h2.title a {
  color: #000000;
  text-decoration: none;
}

h2.title a:hover {
  color: #000000;
  text-decoration: underline;
}

/* wrap
---------------------------------------------- */

#wrap {
  margin: 0 auto;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  #wrap {
    xxx width: 98%;
    xxx margin: 0 1%;
  }

  .home #wrap {
    margin-bottom: 20px;
  }
}


/* header
---------------------------------------------- */

header {
  font-family: Verdana, Geneva, sans-serif;
  color: #000;
  position: relative;
}

.global-header {
  margin: 0 0 67px;
}

@media screen and (max-width: 800px) {
  .global-header {
    margin: 0 0 3px;
  }
}

body.home .global-header {
  margin-bottom: 0;
}


@media screen and (max-width: 800px) {
  .global-header__inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 60px;
    //    margin: 0 0 10px;
    padding: 0 0 0 80px;
    background-color: #007E2C;
  }
}

@media screen and (max-width: 500px) {
  .global-header__inner {
    height: 42px;
  }
}

.global-header-logo {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(50% - 1200px / 2);
  width: 130px;
  height: 130px;
}

@media screen and (max-width: 1200px) {
  .global-header-logo {
    left: 0;
  }
}

@media screen and (max-width: 800px) {
  .global-header-logo {
    width: auto;
    height: auto;
    margin-top: 8px;
  }

  .global-header-logo a {
    width: 180px;
    height: 42px;
    display: block;
    background: url(img/common/logo-s.jpg) no-repeat center;
    background-size: cover;
  }

  .global-header-logo a img {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .global-header-logo {
    margin-top: 0;
  }
}

.global-header-quick-menu {
  background: #fff;
  height: 100%;
}

.global-header-quick-menu__inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  padding: 0px 10px 0px 160px;
  box-sizing: border-box;
}

.global-header-quick-menu__inner {
  align-items: center;
}

@media screen and (max-width: 800px) {
  .global-header-quick-menu__inner {
    padding: 0;
  }
}

.global-header-quick-menu .menu {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .global-header-quick-menu {
    background: none;
  }

  .global-header-quick-menu .menu {
    display: none;
  }
}

.global-header-quick-menu .menu>li {
  font-size: 14px;
  color: #505050;
}

@media screen and (max-width: 800px) {
  .global-header-quick-menu .menu>li {
    font-size: 10px;
  }
}

.global-header-quick-menu .menu>li>a {
  display: block;
  position: relative;
  padding: 14px 10px;
  color: inherit;
  text-decoration: none;
}

.global-header-quick-menu .menu>li>a:hover {
  background: #e7e7e7;
  transition: 0.3s;
}

.global-header-quick-menu .menu>li.sub-menu-active>a {
  color: #404040;
  background: #f9f9f9;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
}

.global-header-quick-menu .menu>li>.sub-menu {
  display: block;
  position: absolute;
  z-index: -9001;
  padding: 17px 10px;
  background: #f9f9f9;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-30px);
  transition: 0.35s ease 0s transform, 0.35s ease 0s opacity;
  box-sizing: border-box;
}

.global-header-quick-menu .menu>li.sub-menu-active>.sub-menu {
  z-index: 9001;
  opacity: 1;
  transform: translateY(0);
}

.global-header-quick-menu .sub-menu>li {
  font-size: 13.5px;
  color: #404040;
  border-top: 1px solid #ddd;
  line-height: 140%;
}

@media screen and (max-width: 800px) {
  .global-header-quick-menu .sub-menu>li {
    font-size: 11px;
  }
}

.global-header-quick-menu .menu>li>.sub-menu>li:last-child {
  border-bottom: 1px solid #ddd;
}

.global-header-quick-menu .sub-menu>li a {
  display: block;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}

.global-header-quick-menu .sub-menu .sub-menu li {
  padding: 0 0 0 8px;
  font-size: 13px;
  color: #5B5B5B;
}

@media screen and (max-width: 800px) {
  .global-header-quick-menu .sub-menu .sub-menu li {
    font-size: 10px;
  }
}

.global-header-search {
  position: relative;
  margin: 0 0 0 16px;
  font-size: 0;
}

@media screen and (max-width: 800px) {
  .global-header-search {
    font-size: 15px;
    padding: 0;
  }
}

@media screen and (max-width: 500px) {
  .global-header-search {
    margin: 0 0 0 8px;
  }
}

.global-header-search__open {
  -webkit-appearance: none;
  width: 15px;
  height: 16px;
  font-size: inherit;
  background: url(img/common/btn_search_green.svg) no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  padding: 12px 23px 11px 40px;
}

@media screen and (max-width: 800px) {
  .global-header-search__open {
    width: auto;
    height: auto;
    margin: 0;
    color: #fff;
    background-image: url(img/common/btn_search_white.svg);
    background-position: 13px center;
    background-size: 21px auto;
    /*    border-left: 1px solid rgba(255, 255, 255, 0.5); */
    /*    border-right: 1px solid rgba(255, 255, 255, 0.5); */
    text-transform: uppercase;
    padding: 20px 23px 21px 45px;
    font-family: Verdana, Geneva, sans-serif;
  }
}

@media screen and (max-width: 500px) {
  .global-header-search__open {
    font-size: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    background-position: center;
  }
}

.global-header-search__modal {
  position: fixed;
  z-index: -9001;
  right: 0;
  padding: 40px 40px;
  opacity: 0;
  background: #F9F9F9;
  transform: translate(100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

@media screen and (max-width: 800px) {
  .global-header-search__modal {
    padding: 30px 20px;
    text-align: center;
  }
}

.global-header-search__modal.is-active {
  z-index: 9001;
  opacity: 1;
  transform: translate(0);
  transition: 0.35s ease 0s transform, 0.35s ease 0s opacity;
}


.global-header-search__input {
  font-size: 12px;
  padding: 16px 20px;
  border: 1px solid #999;
  width: 280px;
  margin-right: 8px;
}

.global-header-search__submit {
  -webkit-appearance: none;
  font-size: 12px;
  padding: 16px 14px 16.5px 30px;
  color: #fff;
  border: 1px solid #008129;
  background: #008129 url(img/common/btn_search_white.svg) no-repeat 14px center;
  background-size: 12px 12px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 500px) {
  .global-header-search__input {
    width: auto;
    padding: 12px 16px;
  }

  .global-header-search__submit {

    padding: 12px 14px 12px 30px;

  }
}

.global-header-search__close {
  -webkit-appearance: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: #B5B5B5;
  cursor: pointer;
}

.global-header-search__close:before,
.global-header-search__close:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 20px;
  height: 2px;
  background: #fff;
}

.global-header-search__close:before {
  transform: rotate(45deg);
}

.global-header-search__close:after {
  transform: rotate(-45deg);
}

.global-header-hamburger {
  display: none;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .global-header-hamburger {
    display: block;
    position: relative;
    z-index: 100;
    margin: 0;
    color: #fff;
    background: #007E2C;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.35s ease 0s width, 0.35s ease 0s padding;
    padding: 22px 27px 23px 50px;
    font-size: 15px;
  }

  .global-header-hamburger:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    transition: 0.35s ease 0s transform;
  }

  .global-header-hamburger:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 26px;
    height: 15px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 1px;
    transition: 0.35s ease 0s transform;
  }

  .hamburger-active .global-header-hamburger {
    position: fixed;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    font-size: 0;
    padding: 13px 10px 13px 10px;
  }

  .hamburger-active .global-header-hamburger:before {
    transform: rotate(45deg);
  }

  .hamburger-active .global-header-hamburger:after {
    height: 2px;
    background: #fff;
    border: none;
    transform: rotate(-45deg);
  }
}

@media screen and (max-width: 500px) {
  .global-header-hamburger {
    width: 42px;
    height: 42px;
    font-size: 0;
    margin: 0;
    padding: 0;
  }

  .hamburger-active .global-header-hamburger {
    padding: 0;
  }

  .global-header-hamburger:before,
  .global-header-hamburger:after {
    left: 0;
    right: 0;
    width: 24px;
  }
}

.global-header-main-menu {
  background: #404040;
}

@media screen and (max-width: 800px) {
  .global-header-main-menu {
    display: block;
    position: fixed;
    z-index: -10;
    top: 0;
    right: 0;
    width: 70vw;
    opacity: 0;
    transform: translate(100%);
    transition: 0.35s ease 0s transform, 0.35s ease 0s opacity;
  }

  .hamburger-active .global-header-main-menu {
    z-index: 11;
    opacity: 1;
    transform: translate(0);
  }
}

@media screen and (max-width: 500px) {
  .global-header-main-menu {
    width: 100%;
  }
}


.global-header-main-menu__inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0px 10px 0px 160px;
  box-sizing: border-box;
}

@media screen and (max-width: 800px) {
  .global-header-main-menu__inner {
    max-height: 100vh;
    padding: 0;
    overflow: auto;
  }
}

.global-header-main-menu .menu {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .menu {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    background: #404040;
  }
}

.global-header-main-menu .menu>li {
  flex: 1 1 auto;
  font-size: 15px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.3);

}

.global-header-main-menu .menu>li:hover {
  transition: 0.3s;
  background-color: #6d6d6d;
}

@media screen and (max-width: 1000px) {
  .global-header-main-menu .menu>li {
    font-size: 11px;
  }
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .menu>li {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}

.global-header-main-menu .menu>li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .menu>li:last-child {
    border-right: none;
  }
}

.global-header-main-menu a {
  word-break: normal;
  hyphens: none;
}

.global-header-main-menu .menu>li>a {
  display: block;
  position: relative;
  padding: 25px 10px;
  line-height: 1.25;
  color: inherit;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

@media screen and (max-width: 1000px) {
  .global-header-main-menu .menu>li>a {
    padding: 20px 14px;
  }
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .menu>li>a {
    text-align: left;
  }
}

.global-header-main-menu .menu>li.sub-menu-active>a {
  color: #333;
  background: rgba(240, 240, 240, 1);
}

.global-header-main-menu .menu>li.current-page-ancestor>a,
.global-header-main-menu .menu>li.current-menu-item>a {
  position: relative;
}

.global-header-main-menu .menu>li.current-page-ancestor>a:before,
.global-header-main-menu .menu>li.current-menu-item>a:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  bottom: 3px;
  margin: auto;
  width: calc(100% - 8px);
  height: 2px;
  background: #F9F9F9;
}

@media screen and (max-width: 800px) {

  .global-header-main-menu .menu>li.current-page-ancestor>a:before,
  .global-header-main-menu .menu>li.current-menu-item>a:before {
    content: none;
  }
}

.global-header-main-menu .sub-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: absolute;
  left: 0;
  z-index: -9001;
  width: 100%;
  margin: 0 -3px;
  padding: 27px 29px;
  opacity: 0;
  transform: translateY(-30px);
  background: linear-gradient(rgba(240, 240, 240, 1), rgba(240, 240, 240, 0.85));
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.5);
  transition: 0.35s ease 0s transform, 0.35s ease 0s opacity;
  box-sizing: border-box;
}

@media screen and (max-width: 1000px) {
  .global-header-main-menu .sub-menu {
    padding: 20px;
  }
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .sub-menu {
    padding: 15px 6px 9px;
  }
}

.global-header-main-menu .sub-menu-active .sub-menu {
  z-index: 9001;
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .sub-menu-active .sub-menu {
    position: static;
    margin: 0;
    box-shadow: none;
    background-color: #fff;
  }
}

.global-header-main-menu .sub-menu>li {
  display: flex;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(100% / 3 - 7px);
  margin: 0 3px 6px;
  font-size: 16px;
  line-height: 1.25;
  color: #333;
  background: #fff;
}

@media screen and (max-width: 900px) {
  .global-header-main-menu .sub-menu>li {
    flex-basis: calc(100% / 2 - 7px);
    font-size: 12px;
  }
}

@media screen and (max-width: 500px) {
  .global-header-main-menu .sub-menu>li {
    flex-basis: 100%;
    margin: 0 0 6px;
  }
}

.global-header-main-menu .sub-menu>li.current-page-ancestor,
.global-header-main-menu .sub-menu>li.current-page-parent,
.global-header-main-menu .sub-menu>li.current-menu-item {
  color: #f9f9f9;
  background: #333;
}

@media screen and (max-width: 800px) {

  .global-header-main-menu .sub-menu>li.current-page-ancestor,
  .global-header-main-menu .sub-menu>li.current-menu-item {
    position: relative;
    color: #333;
    background: #fff;
  }

  .global-header-main-menu .sub-menu>li.current-page-ancestor:before,
  .global-header-main-menu .sub-menu>li.current-menu-item:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #333;
  }
}

.global-header-main-menu .sub-menu>li>a {
  display: block;
  width: 100%;
  padding: 13px 30px;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}

.global-header-main-menu .sub-menu>li:hover {
  color: #636363;
  transition: 0.3s;
  background: #f3f3f3;
}

.global-header-main-menu .menu.display-mobile {
  display: none;
}

@media screen and (max-width: 800px) {
  .global-header-main-menu .menu.display-mobile {
    display: flex;
    background: #f9f9f9;
  }

  .global-header-main-menu .menu.display-mobile>li {
    color: #333;
    border-color: rgba(0, 0, 0, 0.3);
  }

  .global-header-main-menu .menu.display-mobile .sub-menu .sub-menu {
    display: none;
  }
}



input.gsc-search-button {
  background: url(img/common/btn_search.gif) no-repeat !important;
  padding-top: 16px !important;
  width: 15px !important;
  height: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

#gs_cb50 {
  padding-top: 4px !important;
}

#gs_tti50 {
  padding-bottom: 2px !important;
}

.page #content article.page .gsc-input-box>table {
  margin-bottom: 0;
}

/* nav_area
---------------------------------------------- */

#nav_area {
  background: url(img/common/bg_navi.png) repeat;
  margin-top: -67px;
  margin-bottom: 67px;
  position: relative;
  z-index: 3000;
}

@media screen and (max-width: 768px) {
  #nav_area {
    background: none;
    background-color: #000000;
    margin-top: 0;
    margin-bottom: 30px;
    height: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #nav_area {
    background: none;
    background-color: #000000;
    margin-top: 0;
    margin-bottom: 30px;
    height: 100%;
  }
}

.home #nav_area {
  margin-bottom: 0;
}

@media screen and (max-width: 480px) {
  .home #nav_area {
    margin-bottom: 30px;
  }
}

/* gNav */

#gNav {
  font-size: 92.4%;
  line-height: 1.2;
  max-width: 840px;
  margin: 0 auto 0 auto;
  padding-left: 120px;
  padding-top: 10px;
  position: relative;
  z-index: 4000;
}

@media screen and (max-width: 960px) {
  #nav_area {
    padding-left: 120px;
    width: 100%;
    width: calc(100% - 120px);
  }

  #gNav {
    width: 100%;
    padding-left: 0;
  }

  #gNav #menu li.sub div {
    width: 95%;
    left: 0.3%;
    top: 100%;
  }

  #gNav #menu li.sub {
    xxx margin-left: 2.5px;
    font-size: 1.22vw;
    padding-left: 1vw;
    padding-right: 1vw;
  }
}

@media screen and (max-width: 768px) {
  #gNav {
    width: 100%;
    padding-top: 0;
    padding-left: 0;
  }

  #nav_area {
    padding-left: 0;
    width: 100%;
  }

  #gNav #menu li.sub {
    font-size: 1.47vw;
    padding-left: 1vw;
    padding-right: 1vw;
  }
}

@media screen and (max-width: 620px) {

  #gNav #menu li.sub {
    font-size: 11px;
    padding-left: 2.2vw;
    padding-right: 2.2vw;
  }
}

@media screen and (max-width: 480px) {
  #gNav {
    width: 100%;
    padding: 0;
  }
}

/* menu_mb */

#menu_for_mb {
  display: none;
}

@media screen and (max-width: 480px) {
  #menu_for_mb {
    display: block;
  }

  #menu_for_mb .title {
    border-bottom: #808080 solid 2px;
    background: url(img/common/arrow_navi.png) no-repeat 10px center;
    background-color: #F1F1F1;
    color: #2C2C2C;
    font-weight: bold;
    line-height: 1.2;
    padding: 14px 0 14px 25px;
    cursor: pointer;
  }

  #menu_for_mb .title.selected {
    border-bottom: #808080 solid 2px;
    background: url(img/common/arrow_navi_anc.png) no-repeat 7px center;
    background-color: #F1F1F1;
  }

  #menu_for_mb .title:hover {
    text-decoration: underline;
  }

  #menu_for_mb ul {
    background-color: #FFF;
  }

  #menu_for_mb ul li {
    border-bottom: #999 dotted 1px;
    padding: 14px 10px;
  }

  #menu_for_mb ul li a:hover {
    color: #007F2D;
    text-decoration: underline;
  }
}

/* topic_path
---------------------------------------------- */

ul.pan {
  border-bottom: 4px solid #007F2D;
  font-size: 92.4%;
  margin: 0 auto 10px auto;
  width: calc(100% - 10px);
  max-width: 1190px;
  padding-bottom: 10px;
  padding-left: 10px;
}

ul.pan li {
  float: left;
  line-height: 1.2;
}

ul.pan li:last-child {
  display: none;
}

ul.pan li.top a {
  background: url(img/common/icon_home.gif) no-repeat left center;
  display: block;
  text-indent: -9999px;
  width: 11px;
  margin-right: 0.5em;

}

@media screen and (max-width: 800px) {
  ul.pan {
    padding-top: 0;
    padding-bottom: 5px;
  }
}

ul.pan li,
ul.pan li a {
  font-family: Verdana, Geneva, sans-serif;
  color: #808080;
}

/* discover
---------------------------------------------- */

#discover {
  width: 868px;
  margin: 0 auto 40px auto;
  padding-left: 92px;
}

@media screen and (max-width: 960px),
screen and (max-width: 768px) {
  #discover {
    width: 98%;
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  #discover {
    display: none;
  }
}

#discover li {
  float: left;
  margin-right: 19px;
}

#discover li.last {
  margin-right: 0;
}

@media screen and (max-width: 960px),
screen and (max-width: 768px) {
  #discover li {}

  #discover li img {
    width: 100%;
    height: auto;
  }
}

/* contents_wrapper
---------------------------------------------- */

#contents_wrapper {
  max-width: 1200px;
  overflow: hidden;
  margin: 10px auto 15px auto;
  padding: 0 20px;
}

.page #contents_wrapper,
.archive #contents_wrapper,
.single #contents_wrapper {
  width: calc(100% - 60px);
  max-width: 1200px;
  padding: 0 30px;
}

@media screen and (max-width: 800px) {
  #contents_wrapper {
    padding: 0 5px;
  }

  .page #contents_wrapper,
  .archive #contents_wrapper,
  .single #contents_wrapper {
    width: calc(100% - 30px);
    padding: 0 15px;
  }
}

/* main_wrap
---------------------------------------------- */

#main_wrap {
  max-width: 77%;
  float: left;
  padding: 0 1%;
}

@media screen and (max-width: 800px) {
  #main_wrap {
    float: none;
    max-width: calc(100% - 20px);
    padding: 0 10px;
  }
}

/* content
---------------------------------------------- */

#content {
  float: right;
}

#content article {
  overflow: hidden;
}

#content article li {
  list-style-type: disc;
  list-style-position: inside;
  line-height: 1.6;
  margin-bottom: 1em;
}

#content article ol li {
  list-style-type: decimal;
}

#content article em,
#content article address {
  font-style: italic;
}

/* 404 */

.error404 #content {
  float: none;
  margin-bottom: 70px;
}

.error404 #content h2 {
  font-size: 184.7%;
  margin-bottom: 1em;
}

/* home */

.bnr-sub {
  padding-top: 10px;
  border-top: 1px solid #dcdcdc;
}

.home .event-wrap {
  //  border-bottom: 1px solid #dcdcdc;
}

.home .event_state-wrap {
  position: relative;
  padding-bottom: 20px;
}

.home .event_state-wrap .event_state {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 8px;
  font-size: 72%;
  color: #fff;
  z-index: 10;
  letter-spacing: 0.5px;
}

.home .event_state-wrap.event-1 .event_state,
.category-event .event_state-wrap.event-1 .event_state {
  background-color: #1e45c2;
}

.home .event_state-wrap.event-2 .event_state,
.category-event .event_state-wrap.event-2 .event_state {
  background-color: #c7c7c7;
}

.home .event_state-wrap.event-3 .event_state,
.category-event .event_state-wrap.event-3 .event_state {
  background-color: #ad1750;
}

.home .event_state-wrap .event_state-subcat {
  display: block;
  font-size: 80%;
  color: #007F2D;
}

.home .event_state-wrap .event-date {
  display: block;
  font-size: 90%;
  margin-bottom: 10px;
  color: #666;
}

.home .event_state-wrap .event-date span {
  font-size: 160%;
}

.home .event_state-wrap .event_ttl {
  display: block;
  line-height: 160%;

}

.archive .event-date,
.archive .event_state {
  display: inline-block;
  margin-bottom: 3px;
}


@media screen and (max-width: 800px) {
  .home .event-wrap {
    display: flex;
    flex-wrap: wrap;
  }

  .home .event-wrap>li {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
    flex-basis: 100%;
  }
}

@media screen and (max-width: 500px) {
  .home .event-wrap>li {
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
  }
}

.category-event .event_state-wrap {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: #808080 dotted 1px;
}

.category-event .event_statedate_wrap {
  padding: 10px 0;
  color: #666;
}

.category-event .event_state {
  color: #fff;
  padding: 2px 5px;
  font-size: 85%;
  margin-right: 10px;
}

.single .event_state-wrap {
  padding-top: 15px;
}


.category-event .event_ttl {
  display: block;
}

.category-event .event_ttl a {
  line-height: 1.5rem;
}



.category-event .event_statedate_wrap {
  display: block;
}

.category-event .news-card-image {
  float: right;
  width: 30%;
  margin-left: 20px;
}

.category-event .pan .top {
  display: none;
}


.home #content {
  width: 67%;
  margin: 0 0 70px;
  position: relative;
  padding-bottom: 15px;
}

@media screen and (max-width: 800px) {
  .home #content {
    width: 100%;
    margin-bottom: 90px;
    float: none;
    padding-bottom: 2px;
  }
}

.home #content h2 {
  font-size: 115.4%;
  margin-bottom: 1em;
  padding-bottom: 0.7em;
  border-bottom: 3px solid #ccc;
}

.home #content .rss {
  height: 16px;
  width: 16px;
  position: absolute;
  right: 0;
  top: 0;
}

.home #content dl {
  border-bottom: #808080 dotted 1px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.home #content dl:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 800px) {
  .home #content dl.news-list {
    display: none;
  }
}

.home #content dt {
  color: #808080;
  margin-bottom: 1em;
}

.home #content dt span {
  color: #007F2D;
}

.home #content dt span a {
  color: #007F2D;
  text-decoration: none;
}

.home #content dd {
  line-height: 1.6;
}

/* page */

.page #page_list_wrap_mb {
  display: none;
  z-index: 9000;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {
  .page #page_list_wrap_mb {
    display: block;
    position: fixed;
    top: 75px;
    xxx width: 98%;
    right: 0;
  }

  .page #page_list_wrap_mb .page_list {
    float: right;
    display: none;
    width: 86%;
  }
}

.page #content {
  float: left;
  width: 65%;
}

@media screen and (max-width: 480px) {
  .page #content {
    margin-bottom: 25px;
  }
}

.page #content h2.title {
  font-size: 200%;
  font-weight: bold;
  border-bottom: #808080 dotted 1px;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  line-height: 1.3;
}

.page #content article.page {
  border-bottom: #808080 dotted 1px;
  margin-bottom: 15px;
  overflow: visible;
  padding-bottom: 15px;
  word-wrap: break-word;
}

@media screen and (max-width: 480px) {
  .page #content article.page {
    border: none;
  }
}

.page #content article.page h1,
.page #content article.page h2,
.page #content article.page h3,
.page #content article.page h4 {
  font-weight: bold;
  margin-bottom: 0.8em;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.page #content article.page h1 {
  font-size: 184.7%;
}

.page #content article.page h2 {
  color: #007F2D;
  font-size: 184.7%;
}

.page #content article.page h3 {
  font-size: 115.4%;
}

.page #content article.page h4 {
  color: #007F2D;
  font-size: 115.4%;
}

.page #content article.page p {
  /* margin-bottom:1em; */
  line-height: 1.4;
}

@media screen and (max-width: 480px) {
  .page #content article.page p {
    font-size: 14px;
  }
}

.page #content article.child-page {
  border-bottom: #808080 dotted 1px;
  margin-bottom: 15px;
  padding: 0 0 15px 20px;
}

@media screen and (max-width: 480px) {
  .page #content article.child-page {
    border-bottom: none;
    margin: 0;
    padding: 0;
  }

  .page #content article.child-page:last-child {
    border-bottom: #808080 dotted 1px;
  }
}

.page #content article.child-page .listing-img {
  height: 110px;
  width: 110px;
  margin-right: 15px;
  float: left;
}

@media screen and (max-width: 480px) {
  .page #content article.child-page .listing-img {
    display: none;
  }
}

.page #content article.child-page .listing-img p.image {
  background: url(img/common/bg_blogphoto_thb.gif) no-repeat;
  padding: 4px;
}

.page #content article.child-page .listing-body {
  float: left;
  width: 420px;
}

@media screen and (max-width: 768px) {
  .page #content article.child-page .listing-body {
    width: 70%;
  }
}

@media screen and (max-width: 480px) {
  .page #content article.child-page .listing-body {
    border-top: #808080 dotted 1px;
    float: left;
    width: 100%;
  }
}

.page #content article.child-page .listing-body h3 {
  font-size: 107.7%;
  font-weight: bold;
  margin: 0 0 1em 0;
}

.page #content article.child-page .listing-body h3 a {
  color: #007E2D;
}

@media screen and (max-width: 480px) {
  .page #content article.child-page .listing-body h3 {
    font-size: 84.7% !important;
    font-weight: normal;
    margin: 0;
  }

  .page #content article.child-page .listing-body h3 a {
    color: #000;
    display: block;
    background-color: #EBEBEB;
    padding: 9px 20px;
  }
}

.page #content article.child-page .listing-body p {
  line-height: 1.3;
}

@media screen and (max-width: 480px) {
  .page #content article.child-page .listing-body p {
    display: none;
  }
}

/* special-listhing */

.page.page-template-special-listing-php #content {
  float: none;
  width: 100%;
}


.page.page-template-special-listing-php #content article.page {
  border-bottom: none;
  margin-bottom: 15px;
  overflow: hidden;
}

.page.page-template-special-listing-php #content article.page p.image {
  background: url(img/common/bg_mainvisual_sl.gif) no-repeat;
  width: 720px;
  margin-bottom: 1.5em;
  text-align: center;
}

.page.page-template-special-listing-php #content article.page p.image img {
  padding-top: 1%;
}

@media screen and (max-width: 768px) {
  .page.page-template-special-listing-php #content article.page p.image {
    background-size: 100% 100%;
    margin-bottom: 1em;
    padding: 0;
    width: 100%;
  }

  .page.page-template-special-listing-php #content article.page p.image img {
    width: 97%;
  }
}

@media screen and (max-width: 480px) {
  .page.page-template-special-listing-php #content article.page p.image {
    background-size: 100% auto;
    margin-bottom: 1em;
    padding: 0;
    width: 100%;
    height: auto;
  }

  .page.page-template-special-listing-php #content article.page p.image img {
    width: 97%;
  }
}

.page.page-template-special-listing-php #content .listing-body {
  border-bottom: #808080 dotted 1px;
  margin: 0 -15px 10px 0;
  font-size: 0;
}

@media screen and (max-width: 480px) {
  .page.page-template-special-listing-php #content .listing-body {
    display: none;
  }
}

.page.page-template-special-listing-php #content .listing-body div {
  display: inline-block;
  /* display: inline; */
  /* zoom: 1; */
  width: calc(100% / 3 - 15px);
  margin: 0 15px 45px 0;
  vertical-align: top;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .page.page-template-special-listing-php #content .listing-body div {
    font-size: 14px;
  }
}

.page.page-template-special-listing-php #content .listing-body div p.image {
  // background: url(img/common/bg_listing_sl.gif) no-repeat;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 0 0.5em;
  padding: 7px 0;
  text-align: center;
  overflow: hidden;
  border: 1px solid #dcdcdc;
}

.page.page-template-special-listing-php #content .listing-body div p.image:before {
  content: "";
  display: block;
  padding-top: 44%;
}

.page.page-template-special-listing-php #content .listing-body div p.image img {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 14px);
  max-height: calc(100% - 14px);
}

.page.page-template-special-listing-php #content .listing-body div h3 {
  font-size: 123.1%;
  line-height: 1.2;
}

.page.page-template-special-listing-php #content #sideR_tb {
  display: none;
}

@media screen and (max-width: 768px) {
  .page.page-template-special-listing-php #content #sideR_tb {
    display: none;
  }
}

.page.page-template-special-listing-php #content .listing-body_mb {
  display: none;
}

@media screen and (max-width: 480px) {
  .page.page-template-special-listing-php #content .listing-body_mb {
    font-size: 92.4%;
    display: block;
    margin-bottom: 35px;
  }

  .page.page-template-special-listing-php #content .listing-body_mb li {
    display: block;
    line-height: 1.2;
  }

  .page.page-template-special-listing-php #content .listing-body_mb li a {
    background: url(img/common/arrow_green_s.png) no-repeat 9px center;
    display: block;
    background-color: #EBEBEB;
    border-bottom: #808080 dotted 1px;
    padding: 8px 20px;
  }
}

/* archive */

.single #cat_list_wrap_mb,
.archive #cat_list_wrap_mb {
  display: none;
  z-index: 9000;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {

  .single #cat_list_wrap_mb,
  .archive #cat_list_wrap_mb {
    display: block;
    position: fixed;
    top: 75px;
    width: 75%;
    right: 0;
  }

  .single #cat_list_wrap_mb .cat_list,
  .archive #cat_list_wrap_mb .cat_list {
    float: right;
    display: none;
    width: 86%;
  }
}

.open_list {
  display: none;
  height: 30px;
  width: 30px;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {
  .open_list {
    display: block;
    float: right;
  }

  .open_list:hover {
    cursor: pointer;
  }
}

.archive #content {
  width: 65%;
}

.archive #content h2.title,
.single #content h2.title {
  font-size: 200%;
  font-weight: bold;
  border-bottom: #808080 dotted 1px;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  line-height: 1.3;
}

.archive #content dl {
  border-bottom: 1px dotted #808080;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.archive #content dt {
  color: #808080;
  margin-bottom: 1em;
}

.archive #content dt span {
  color: #007F2D;
  font-style: normal;
}

.archive #content dd {
  line-height: 1.6;
}

/* single */

.single #content {
  width: 65%;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {
  .single #content {
    margin-bottom: 20px;
  }
}

.single #content article.post h1,
.single #content article.post h2,
.single #content article.post h3,
.single #content article.post h4 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.8em;
  margin-top: 1.5em;
}

.single #content article.post h1 {
  font-size: 184.7%;
}

.single #content article.post h2 {
  color: #007F2D;
  font-size: 184.7%;
}

.single #content article.post h3 {
  font-size: 115.4%;
}

.single #content article.post h4 {
  color: #007F2D;
  font-size: 115.4%;
}

.single #content article.post p {
  /* margin-bottom: 1.8em; */
  line-height: 1.35;
}

@media screen and (max-width: 480px) {
  .single #content article.post p {
    font-size: 14px;
  }
}

.single #content article.post iframe {
  vertical-align: bottom;
  max-width: 100%;
}

.single #content article.post .iframe-full iframe {
  width: 100% !important;
}

/* content mediaquery */

@media screen and (max-width: 768px) {

  .page #content,
  .single #content,
  .archive #content {
    width: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  #content {
    width: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  .home #content {
    position: relative;
  }
}

/* ページ内切り替え画像 */

#content ul#pageimg {
  width: auto !important;
  height: auto !important;
  margin-bottom: 0;
}

#content ul#pageimg li {
  list-style-type: none;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  margin-bottom: 2%;
  line-height: 0;
}

#content ul#pageimg li img {
  width: 100% !important;
  height: auto !important;
}

#content ul.thumbs {
  list-style-type: none;
  width: 100%;
  height: auto !important;
  padding: 0 0;
}

#content ul.thumbs li {
  position: relative;
  list-style-type: none;
  width: 32%;
  height: auto !important;
  margin-left: 2%;
}

#content ul.thumbs li:first-child {
  margin-left: 0;
}

#content ul.thumbs li::before {
  content: "";
  display: block;
  padding-top: 50%;
}

#content ul.thumbs li img {
  /*display: inline-block;*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* caption */

.caption {
  line-height: 1.3;
  text-align: left;
}

.caption a {
  color: #fff;
  padding: 0 5px;
  word-wrap: break-word;
}

/* sideL
---------------------------------------------- */
/* home */

#sideL {
  float: left;
  position: relative;
}

.home #sideL {
  float: left;
  margin-right: 0;
  width: 30%;
}

@media screen and (max-width: 800px) {
  .home #sideL {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .home .homesub-bnr_widget,
  .home .bnr-sub aside p {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
  }

  .home .bnr-sub .widget_simpleimage .simple-image a,
  .home .bnr-sub .widget_simpleimage .simple-image a img {
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .home #sideL {
    margin: 0 0 35px 0;
    width: 100%;
    margin-right: 0;
    clear: both;
  }

  .home .arrow-links,
  .home .subnavR_widget p.more,
  .home .subnavR_widget .simple-image+p {
    max-width: 180px;
    margin: 0 auto;
  }

  .home #sideR .arrow-links {
    width: 100%;
    max-width: 100%;
  }
}

.home #sideL>div {
  position: relative;
  margin-bottom: 60px;
}

@media screen and (max-width: 800px) {
  .home #sideL>div {
    padding: 0;
  }
}

.home #sideL .rss {
  height: 16px;
  width: 16px;
  position: absolute;
  right: 0;
  top: 0;
}

.home #sideL h2 {
  font-size: 115.4%;
  margin-bottom: 1em;
  padding-bottom: 0.7em;
  border-bottom: 3px solid #ccc;
}

.home #sideL dl {
  border-bottom: #808080 dotted 1px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.home #sideL dt {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 77%;
  color: #808080;
  display: block;
  float: left;
  margin-right: 25px;
  width: 35px;
  text-align: center;
}

.home #sideL dt span {
  color: #007F2D;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 240%;
}

.home #sideL dd {
  display: block;
  float: left;
  width: calc(100% - 60px);
  line-height: 1.6;
}

/* single,archive,page-child,single */

.single #sideL,
.archive #sideL {
  position: relative;
  width: 32%;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {

  .single #sideL,
  .archive #sideL {
    margin: 0;
    width: 100%;
  }
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {

  .single #sideL #cat_list_wrap,
  .archive #sideL #cat_list_wrap {
    display: none;
  }
}

.single #sideL h3,
.archive #sideL h3 {
  margin-bottom: 10px;
}

.page-child #sideR h3.sns,
.page-template-page-search-php #sideR h3.sns,
.single #sideL h3.sns,
.archive #sideL h3.sns,
.page-id-1219 #sideR h3.sns {
  border-bottom: #808080 dotted 1px;
  margin-bottom: 0.8em;
  padding-bottom: 0.8em;
}

.single ul.cat_list,
.single ul#archive_list,
.single div#recent_list,
.archive ul.cat_list,
.archive ul#archive_list {
  font-family: Verdana, Geneva, sans-serif;
  background: url(img/common/bar_gray.gif) repeat-x;
  margin-bottom: 40px;
  padding-top: 4px;
}

.single div#recent_list {
  padding-top: 25px;
}

.single ul.cat_list li,
.single ul#archive_list li,
.archive ul.cat_list li,
.archive ul#archive_list li {
  display: block;
  //  font-size: 77%;
  line-height: 1.4;
}

.single ul.cat_list li a,
.single ul#archive_list li a,
.archive ul.cat_list li a,
.archive ul#archive_list li a {
  display: block;
  background-color: #EBEBEB;
  border-bottom: #808080 dotted 1px;
  padding: 8px 20px;
}

.single ul.cat_list ul.inner,
.single ul#archive_list ul.inner,
.archive ul.cat_list ul.inner,
.archive ul#archive_list ul.inner {
  background: none;
  padding-top: 0;
}

.single ul.cat_list ul.inner li,
.single ul#archive_list ul.inner li,
.archive ul.cat_list ul.inner li,
.archive ul#archive_list ul.inner li {
  display: block;
}

.single ul.cat_list ul.inner li a,
.single ul#archive_list ul.inner li a,
.archive ul.cat_list ul.inner li a,
.archive ul#archive_list ul.inner li a {
  display: block;
  background: url(img/common/icon_sidelink.gif) no-repeat 27px center;
  background-color: #FFF;
  padding-left: 40px;
}

.single ul.cat_list li a:hover,
.single ul#archive_list li a:hover,
.archive ul.cat_list li a:hover,
.archive ul#archive_list li a:hover {
  color: #007F2D;
}

.single #sideL dl {
  border-bottom: 1px dotted #808080;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.single #sideL dt {
  color: #808080;
  margin-bottom: 1em;
  font-size: 14px;
}

.single #sideL dt span {
  color: #007F2D;
}

.single #sideL dd {
  line-height: 1.6;
}

/* サイドバーカレント */

.category-news #sideL ul#cat_list li.nav001 a {
  color: #007F2D;
  cursor: default;
}

.category-news #sideL ul#cat_list li.nav001 a:hover {
  text-decoration: none;
}

.category-event #sideL ul#cat_list li.nav002 a {
  color: #007F2D;
  cursor: default;
}

.category-event #sideL ul#cat_list li.nav002 a:hover {
  text-decoration: none;
}

.category-student-news #sideL ul#cat_list li.nav101 a {
  color: #007F2D;
  cursor: default;
}

.category-student-news #sideL ul#cat_list li.nav101 a:hover {
  text-decoration: none;
}

.category-university-news #sideL ul#cat_list li.nav102 a {
  color: #007F2D;
  cursor: default;
}

.category-university-news #sideL ul#cat_list li.nav102 a:hover {
  text-decoration: none;
}

.category-alumni-news #sideL ul#cat_list li.nav103 a {
  color: #007F2D;
  cursor: default;
}

.category-alumni-news #sideL ul#cat_list li.nav103 a:hover {
  text-decoration: none;
}

/* sideR
---------------------------------------------- */

#sideR {
  float: right;
}

/* home,special-listhing */

.home #sideR {
  width: 19%;
  margin: 0 1%;
}

.page.page-template-special-listing-php #sideR {
  width: 31%;
  margin: 0;
}

#banner-links #banners li {
  flex-grow: 0;
  flex-basis: calc(100% / 4 - 14px);
}

@media screen and (max-width: 800px) {
  .home #sideR {
    width: calc(100% - 20px);
    margin: 0;
    padding: 0 10px;
  }

  #banner-links #banners li {
    flex-grow: 0;
    flex-basis: calc(100% / 2 - 14px);
  }
}

@media screen and (max-width: 800px) {
  .home #sideR {
    float: none;
  }

  .page.page-template-special-listing-php #sideR {
    float: none;
    width: 100%;
  }

  .page.page-template-special-listing-php #sideR>*:not(.sns) {
    display: none;
  }
}

@media screen and (max-width: 580px) {

  #banner-links #discover,
  #banner-links #banners {
    flex-direction: column;
  }

  #banner-links ul li.dummy {
    display: none;
  }
}

.home #sideR div,
.page.page-template-special-listing-php #sideR div,
.page.page-template-special-listing-php #sideR_tb div {
  margin-bottom: 24px;
  display: block;
}

.home #sideR div.display-PC {
  margin-bottom: 10px;
  display: block;
}

.home #sideR h3,
.page.page-template-special-listing-php #sideR h3,
.page.page-template-special-listing-php #sideR_tb h3 {
  font-size: 100%;
  display: block;
  border-bottom: #808080 dotted 1px;
  margin-bottom: 0.8em;
  padding-bottom: 0.8em;
  line-height: 1.3rem;
}

.home #sideR h3.has-no-border,
.page.page-template-special-listing-php #sideR h3.has-no-border,
.page.page-template-special-listing-php #sideR_tb h3.has-no-border {
  padding-bottom: 0;
  border-bottom: none;
}

.home #sideR ul.arrow-links li,
.page.page-template-special-listing-php #sideR li,
.page.page-template-special-listing-php #sideR_tb li {
  //  font-family: Verdana, Geneva, sans-serif;
  background: url(img/common/arrow_gray_w.gif) no-repeat left 7px;
  line-height: 1.4rem;
  margin-bottom: 0.4rem;
  padding-left: 16px;
}

.home #sideR ul.arrow-links.has-border {
  padding-bottom: 0.8em;
  border-bottom: #808080 dotted 1px;
}

.home #sideR .image,
.page.page-template-special-listing-php #sideR .image,
.page.page-template-special-listing-php #sideR_tb .image {
  text-align: center;
  margin-bottom: 5px;
}

.home #sideR .image {
  margin-bottom: 15px;
}

.home #sideR #banner-links li {
  margin-bottom: 10px;
}

/* page */

.page #sideR {
  width: 32%;
}

#sideL div.sns,
#sideL div.sns,
#sideR div.sns {
  max-width: 230px;
}

@media screen and (max-width: 480px),
screen and (max-width: 768px) {
  .page #sideR {
    width: 100%;
  }

  .page #sideR #page_list_wrap {
    display: none;
  }

  .single #sideL ul.sns,
  .archive #sideL ul.sns,
  .page #sideR ul.sns {
    margin: 25px 0 30px;
    display: flex;
    justify-content: center;
  }

  .single #sideL ul.sns li,
  .archive #sideL ul.sns li,
  .page-child #sideR .sns li {
    float: none;
  }
}

.page #sideR h3 {
  margin-bottom: 10px;
}

.page ul.page_list {
  font-family: Verdana, Geneva, sans-serif;
  //  font-size: 77%;
  background: url(img/common/bar_gray.gif) repeat-x;
  margin-bottom: 40px;
  padding-top: 4px;
}

@media screen and (max-width: 768px) {
  .page ul.page_list {
    height: 600px;
    overflow: auto;
  }
}

@media screen and (max-width: 568px) {
  .page ul.page_list {
    height: 170px;
    overflow: auto;
  }
}

.page ul.page_list li {
  display: block;
  line-height: 1.2;
}

.page ul.page_list li a {
  display: block;
  background-color: #EBEBEB;
  border-bottom: #808080 dotted 1px;
  padding: 8px 20px;
}

.page ul.page_list ul.children {
  background: none;
  padding-top: 0;
}

.page ul.page_list ul.children li {
  display: block;
}

.page ul.page_list ul.children li a {
  display: block;
  background: url(img/common/arrow_green_s.png) no-repeat 29px center;
  background-color: #FFF;
  padding-left: 40px;
}

.page ul.page_list ul.children .children li a {
  background-position: 49px center;
  padding-left: 60px;
}

.page ul.page_list li a:hover {
  color: #007F2D;
}

#sideR {
  width: 220px;
}

#sideR .share-links {
  margin-bottom: 20px;
}

/* サイドバーカレント */

.page ul.page_list li.current_page_item a {
  color: #007F2D;
  cursor: default;
}

.page ul.page_list li.current_page_item a:hover {
  text-decoration: none;
}

.page ul.page_list li.current_page_item .children a {
  color: #333333;
  cursor: pointer;
}

.page ul.page_list li.current_page_item .children a:hover {
  text-decoration: underline;
}

/* sns
---------------------------------------------- */

.archive #sideL .sns {
  margin-bottom: 40px;
}

.home #sideR .sns li,
.page-template-page-search-php #sideR .sns li,
.page-child #sideR .sns li,
.page.page-template-special-listing-php #sideR .sns li,
.page.page-template-special-listing-php #sideR_tb .sns li,
.archive #sideL .sns li,
.single #sideL .sns li,
.page-id-1219 #sideR .sns li {
  background-image: none;
  float: left;
  margin-bottom: 6px;
  margin-right: 1.5%;
  margin-left: 1.5%;
  height: auto;
  padding: 0;
  width: 17%;
}

.sns li img {
  width: 100%;
}

/* footer_pagination
---------------------------------------------- */

.footer_pagination {
  font-family: Verdana, Geneva, sans-serif;
  clear: both;
  position: relative;
  line-height: 1.2em;
  text-align: center;
}

.footer_pagination p {
  display: inline-block;
  text-align: left;
  /display: inline;
  /zoom: 1;
}

.footer_pagination span,
.footer_pagination a {
  display: block;
  float: left;
  margin: 2px 0 0 0;
  padding: 6px 6px 5px 6px;
  text-decoration: none;
  width: auto;
  color: #808080;
}

.footer_pagination a:hover {
  color: #333333;
}

.footer_pagination .current {
  padding: 6px 9px 5px 9px;
  color: #333333;
  font-weight: bold;
}

/* Footer
---------------------------------------------- */

footer {
  font-family: Verdana, Geneva, sans-serif;
  color: #FFF;
  background: url(img/common/bar_green.gif) repeat-x top;
  font-size: 77%;
  padding-top: 6px;
  overflow: hidden;
}

@media print {
  footer {
    visibility: hidden;
    height: 1px;
  }
}

@media screen and (max-width: 768px) {
  footer {
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  footer {
    margin: 0 auto;
  }
}

footer a {
  color: #FFF;
  text-decoration: none;
  outline: none;
}

footer a:visited {
  color: #FFF;
}

footer a:hover {
  color: #FFF;
  text-decoration: underline;
}

/* footer_inner_top */

#footer_inner_top {
  background: #167D2C url(img/common/bg_footer.gif) repeat;
  padding-top: 25px;
  padding-bottom: 25px;
}

#footer_inner_top .contents {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 30px;
  box-sizing: border-box;
}

@media screen and (max-width: 800px) {
  #footer_inner_top .contents {
    padding: 10px 20px;
  }
}


#footer_inner_top .menu {
  margin: 0 -0.5%;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  #footer_inner_top .menu {
    flex-direction: column;
  }
}

#footer_inner_top .menu li {
  line-height: 1.2;
  margin-bottom: 1em;
}

#footer_inner_top .menu>li {
  flex: 1;
  margin: 0 0.5%;
}

#footer_inner_top .menu>li>a {
  display: inline-block;
  width: 100%;
  margin: 0 0 1em;
  font-weight: bold;
  line-height: 1.3;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  #footer_inner_top .sub-menu {
    display: none;
  }
}

/* footer_inner_bottom */

#footer_inner_bottom {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: #000;
}

#footer_inner_bottom .contents {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 30px 0px 30px;
  box-sizing: border-box;
}

@media screen and (max-width: 800px) {
  #footer_inner_bottom {
    background-color: #f1f1f1;
    color: #2C2C2C;
    padding-bottom: 0;
  }

  #footer_inner_bottom .contents {
    padding: 0;
  }

  #footer_inner_bottom a {
    color: #2C2C2C !important;
  }
}

@media screen and (max-width: 800px) {
  #footer_inner_bottom .contents {
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  #footer_inner_bottom .contents {
    width: 100%;
    margin: 0 auto;
  }
}


#footer_inner_bottom .contents ul {

  width: 120px;
  float: left;
  padding-right: 1%;
}

#footer_inner_bottom .contents ul:nth-child(2) {
  width: 180px;
}

@media screen and (max-width: 800px) {
  #footer_inner_bottom .contents ul:nth-child(2) {
    width: auto;
  }
}

#footer_inner_bottom .contents .text {
  float: left;
  width: 180px;
  padding-right: 1%;
}

#footer_inner_bottom .contents ul li {
  margin-bottom: 5px;
  line-height: 1rem;
}

#footer_inner_bottom .contents .text {
  margin-bottom: 15px;
}

#footer_inner_bottom .contents .text.bottom {
  background-color: #000;
  color: #FFF;
  margin-bottom: 0;
  float: left;
  width: calc(100% - 530px);
}

#footer_inner_bottom .contents .text.bottom .logo {
  width: 100%;
}

#footer_inner_bottom .contents .text.bottom img {
  width: 210px;
}

@media screen and (max-width: 800px) {
  #footer_inner_bottom .contents .text.bottom img {
    width: 200px;
  }
}


#footer_inner_bottom .contents li {
  margin-bottom: 1em;
}

#footer_inner_bottom .contents .text h4 {
  font-weight: bold;
  line-height: 1.3;
}

#footer_inner_bottom .contents .text p {
  line-height: 1.6;
}

#footer_inner_bottom .contents .text p.logo {
  text-align: right;

}

#footer_inner_bottom .contents .text p.copy {
  font-size: 90%;
  text-align: right;
}

#footer_inner_bottom a {
  color: #FFF;
  text-decoration: underline;
  outline: none;
}

#footer_inner_bottom a:hover {
  color: #FFF;
  text-decoration: none;
}

@media screen and (max-width: 800px) {

  #footer_inner_bottom .contents ul,
  #footer_inner_bottom .contents .text,
  #footer_inner_bottom .contents .text.bottom {
    /*width: 50%; */
    margin-bottom: 35px;
    float: left;
    padding-left: 0;
  }

  #footer_inner_bottom .contents .text p.logo,
  #footer_inner_bottom .contents .text p.copy {
    text-align: center;
  }
}

@media screen and (max-width: 800px) {

  #footer_inner_bottom .contents ul,
  #footer_inner_bottom .contents .text {
    padding-left: 20px;
    padding-right: 0px;
    width: auto;
    font-size: 85%;
  }

  #footer_inner_bottom .contents .text.bottom {
    margin-bottom: 0px;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

@media screen and (max-width: 960px) {
  #sideL {
    width: 25%;
  }

  /* ===== ページ内切り替え画像 ===== */
  /*
  #content ul#pageimg li {
    position: static!important;
  }
  #content ul#pageimg li img {
    height: auto!important;
  }
  */
  /* #content ul.thumbs li {
  width: 30%;
  height: auto!important;
  padding: 0 1.5%;
  } */
  /* #content ul.thumbs li img { height: auto!important; } */
  /* ===== 一覧ページ ===== */
  .listing-img {
    width: 30%;
    margin-right: 2%;
  }

  /* ******************************
  SideR Style
  ****************************** */
  #sideR {
    width: 25%;
  }
}

/* ******************************
editer setting
****************************** */

.alignleft {
  display: inline;
  float: left;
}

.alignright {
  display: inline;
  float: right;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ******************************
table setting
****************************** */

table.type01,
table.type02,
table.type03,
table.type04 {
  line-height: 1.4;
  border-right: 1px solid #CBCBCB;
  width: 100%;
  border-top: 1px solid #CBCBCB;
  border-left: 1px solid #CBCBCB;
}

table.type01 th,
table.type03 th,
table.type04 th {
  border-right: 1px solid #CBCBCB;
  border-bottom: 1px solid #CBCBCB;
  font-weight: bold;
  padding: 10px;
}

table.type01 td,
table.type02 td,
table.type03 td,
table.type04 td {
  border-right: 1px solid #CBCBCB;
  border-bottom: 1px solid #CBCBCB;
  padding: 10px;
}

table.type01,
table.type02 {
  border-top: 3px double #CBCBCB;
}

table.type01 thead,
table.type02 thead,
table.type03 thead,
table.type04 thead {
  font-family: Verdana, Geneva, sans-serif;
}

table.type01 thead {
  background-color: #F1F1F1;
}

table.type03 thead,
table.type04 thead {
  background-color: #CEE6D7;
}

/* col_colors */

td.col_gray {
  background-color: #F1F1F1;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
}

td.col_green {
  background-color: #CEE6D7;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
}

/* ******************************
list setting
****************************** */

ul.disc li,
ul.disc_g li,
ul.decimal li,
ul.arrow li {
  list-style-position: outside !important;
  margin-left: 20px;
}

ul.disc li {
  list-style-type: disc;
}

ul.disc_g li {
  list-style-image: url(img/common/list_disc.png);
}

ul.decimal li {
  list-style-type: decimal !important;
}

ul.arrow li {
  list-style-image: url(img/common/list.png);
}

/* ******************************
contactform setting
****************************** */

.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-textarea {
  width: 90%;
  padding-left: 0.5em;
}

.text-88 input,
.text-561 input,
.text-765 input,
.text-488 input,
.text-95 input,
.text-105 input {
  width: 43.5% !important;
}

.radio-909 .wpcf7-list-item,
.radio-51 .wpcf7-list-item,
.radio-69 .wpcf7-list-item,
.checkbox-623 .wpcf7-list-item {
  display: block;
}

/* ******************************
broken_link setting
****************************** */

.broken_link,
a.broken_link {
  text-decoration: underline !important;
}

dl#acMenu {
  border-bottom: #c7c7c7 1px solid;
}

#acMenu dt {
  display: block;
  max-width: 100%;
  height: auto;
  line-height: 170%;
  text-align: left;
  border-top: #d2d2d2 1px solid;
  padding: 15px;
  cursor: pointer;
  font-size: 115%;
}

#acMenu dt.active {
  background-color: #e2e2e2;
}

#acMenu dd {
  background: #fafafa;
  max-width: 100%;
  height: auto;
  line-height: 180%;
  text-align: left;
  border-top: #c7c7c7 1px dotted;
  padding: 15px;
  display: none;
}

/* ******************************
contactform setting
****************************** */

#acMenu ul.ui-tabs-nav {
  margin-bottom: 15px;
}

#acMenu ul.ui-tabs-nav li {
  border: #808080 solid 1px;
}

#acMenu ul.ui-tabs-nav li a {
  padding: 15px 18px;
}

#acMenu .wpcf7 .wpcf7-text,
#acMenu .wpcf7 .wpcf7-textarea {
  width: 90%;
  padding-left: 0.5em;
  margin-bottom: 8px;
}

#acMenu div#ui-tab p {
  margin-bottom: 8px;
}

#acMenu .text-88 input,
#acMenu .text-561 input,
#acMenu .text-765 input,
#acMenu .text-488 input,
#acMenu .text-95 input,
#acMenu .text-105 input {
  width: 43.5% !important;
}

#acMenu .radio-909 .wpcf7-list-item,
#acMenu .radio-51 .wpcf7-list-item,
#acMenu .radio-69 .wpcf7-list-item,
#acMenu .checkbox-623 .wpcf7-list-item {
  display: block;
}

/* ---------------------
GiFT
170301-ihara
--------------------- */

#content .gift {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#content .gift div.archive-videos,
#content .gift div.archive {
  border: 1px solid #d2d2d2;
  background-color: #f6f6f6;
  position: relative;
  background: url(img/gift/gift-bg-01.jpg) no-repeat left top;
  background-size: 40px 100%;
  width: 49.5%;
  margin: 0 0.5% 0.5% 0;
  float: left;
  padding: 10px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
  flex-direction: row-reverse;
  border-left: none;
}

#content .gift div.archive {
  width: 100%;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
}

#content .gift div.archive-videos .archive-wrap,
#content .gift div.archive .archive-wrap {
  width: calc(100% - 70px);
  display: inline-block;
}

#content .gift div.archive.tour-report-wrap {
  margin-bottom: 0px;
}

#content .gift div.archive .archive-wrap {
  margin-top: 10px;
}

#content .gift div.archive-videos.noimg .archive-wrap {
  width: calc(100% - 45px);
}

#content .gift div.archive-videos h3,
#content .gift div.archive h3 {
  margin: 3.5px 0;
}

#content .gift div.archive-videos p.archive-ttl {
  font-size: 0.75rem;
  line-height: 1.1rem;
}

#content .gift div.archive p.archive-ttl {
  font-size: 0.8rem;
  line-height: 1.3rem;
  margin: 0 7px 7px 0;
}

#content .gift div.archive p.archive-prof {
  font-size: 0.75rem;
  line-height: 1.1rem;
  margin: 0 7px 7px 0;
}

#content .gift div.archive-videos p.archive-img {
  display: block;
  xxx margin: auto;
}

#content .gift div.archive p.archive-img {
  display: block;
  margin: 10px;
}

#content .gift div.archive-videos p.archive-img img,
#content .gift div.archive p.archive-img img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0;
  display: block;
  box-shadow: 0px 0px 3px #808080;
  margin-right: 10px;
}

#content .gift div.archive-videos p.archive-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

#content .gift div.archive-videos p.archive-btn a {
  border-radius: 10px;
  padding: 3px 10px;
  background-color: #b31217;
  color: #f7f7f7;
  text-decoration: none;
  font-size: 0.7rem;
}

#content .gift div.archive-videos p.archive-btn a:hover {
  background-color: #d61b20;
}

#content .gift .youtube-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  display: table;
  /* foe FF*/
}

#content .gift .youtube-wrap2 {
  position: relative;
  width: 100%;
  padding-top: 32%;
}

#content .gift .youtube-wrap iframe,
#content .gift .youtube-wrap2 iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

#content .gift .youtube-wrap2 iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.page #content .gift h2,
.page #content .gift h3,
.page #content .gift h4 {
  width: 100%;
  clear: both;
}

.page #content .gift .tour-report {
  border: 1px solid #d2d2d2;
  border-top: none;
  width: calc(100% - 2px);
  margin-bottom: 20px;
  float: left;
  clear: both;
}

.page #content .gift .tour-report p {
  margin: 15px;
}

.page #content .gift .tour-report p.tour-report-wrap-p {
  margin: 0;
}

.page #content .gift .tour-report p.tour-report-wrap-p img {
  vertical-align: top;
}

.page #content .gift-tab .ui-tabs-panel {
  padding: 1em 0 1em 0;
}

@media screen and (max-width: 500px) {
  #content .gift div.archive-videos {
    width: 99%;
  }

  #content .gift div.archive {
    -webkit-flex-direction: column;
    /* Safari */
    flex-direction: column;
    background: none;
  }

  #content .gift div.archive .archive-wrap {
    margin: 10px;
  }

  #content .gift .youtube-wrap2 {
    padding-top: 56.25%;
  }
}

/* ******************************
Newsの一覧を固定ページに出す際のWrapper
201703-st-ihara
****************************** */

.page-press-room {
  border-top: #808080 dotted 1px;
  margin-top: 20px;
  padding-top: 20px;
}

.home .metaslider .caption-wrap .caption {
  display: none;
}

.home .metaslider .caption-wrap {
  left: 50%;
  width: 47%;
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.home .metaslider .flex-active-slide .caption-wrap .caption {
  display: block;
  margin: 16px 16px;
  font-size: 24px;
  padding: 0;
}

@media screen and (max-width: 600px) {
  .home .metaslider .slides li a>* {
    width: 160%;
    position: relative;
    left: -30%;
  }

  .home .metaslider .slides li.ms-youtube div {
    padding-top: 10%;
    margin-top: 10%;
  }

  .home .metaslider .caption-wrap {
    left: 0;
    width: 100%;
  }

  .home .metaslider .flex-active-slide .caption-wrap .caption {
    display: block;
    margin: 5px 15px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto !important;
    text-align: left;
  }

  .metaslider a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.home .metaslider .flex-active-slide .caption-wrap .caption a {
  display: block;
}


.metaslider a {
  text-decoration: none;
}

.home .metaslider .flex-active-slide .slides .caption-wrap {
  opacity: 0.9;
  background-color: rgba(0, 0, 0, .75);
}

.flex-control-nav {
  margin-bottom: -70px !important;
}

ol.flex-control-paging li a {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

ol.flex-control-paging li a.flex-active {
  background: rgba(0, 0, 0, 0.3);
}

div.metaslider .flexslider .flex-direction-nav li a {
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
  background-size: cover;
}


#menu li.sub div ul li {
  font-size: 15px;
  line-height: 20px;
}

#gNav #menu li.sub div ul li {
  display: inline-block;
  /display: inline;
  /zoom: 1;
  border-bottom: none;
  border-top: #999 dotted 1px;
  padding: 12px 8px 12px 8px;
  margin: 0 12px 0 0;
  width: 243px;
  cursor: default;
  vertical-align: top;
}

.home #main_wrap .more-btn {
  line-height: 1.2;
  margin-top: 0px;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
}

.home #main_wrap .more-btn a {
  padding: 8px 30px 7px 30px;
  text-decoration: none;
  background-color: #f5f7f4;
  border: 1px solid #a1c59d;
  //  border-radius: 2px;
  font-size: 14px;
  color: #23651c;
  transition: all 0.2s;
}

.home #main_wrap .more-btn a:hover {
  background-color: #23651c;
  border: 1px solid #23651c;
  color: #fff;
  transition: all 0.2s;
}

.home .subnavR_widget .more-btn {
  margin-top: 10px;
}

.home .subnavR_widget .more-btn a {
  text-align: left;
}

.home .subnavR_widget .more-btn a .wpel-icon.wpel-image {
  display: none;
}

.home .subnavR_widget .widget-title {
  font-size: 84.7%;
  display: block;
  border-bottom: #808080 dotted 1px;
  margin-bottom: 0.8em;
  padding-bottom: 0.8em;
  line-height: 1.2rem;
}

.home .subnavR_widget .subnavR_widget_instagram_a {
  margin-top: -10px;
  display: block;
  font-size: 14px;
}

.home .subnavR_widget-border {
  border-top: 1px solid #dcdcdc;
  padding-top: 15px;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 15px;
}

.home #sideR .subnavR_widget-border h3.subnavR_bordernone {
  border-bottom: none;
  margin-bottom: 0;
}

.home .news-card>div:last-of-type {
  margin-top: 1em;
  margin-bottom: 0.4em;
}

.home .news-card-catwrap-cat,
.home .news-card-catwrap-date {
  margin-bottom: 3px;
  font-size: 90%;
}

.home .news-card-ttl {
  margin-bottom: 5px;
  line-height: 1.6;
}

.home .news-card {
  display: block;
}

.home #content .news-list dt {
  font-size: 90%;
  margin-bottom: 0.5em;
}

.home .home-insta {
  border: 1px solid #dcdcdc;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.home .home-insta iframe {
  width: auto !important;
  max-width: 100%;
  height: calc(100vw / 3) !important;
  max-height: 415px;
}

@media screen and (max-width: 800px) {
  .home .home-insta iframe {
    width: 100% !important;
    height: calc(100vw - 150px) !important;
    max-height: inherit;
  }

  .home .home-insta {
    padding-bottom: 30px;
    padding-left: 3.5%;
  }
}

@media screen and (max-width: 470px) {
  .home .home-insta iframe {
    height: calc(100vw - 80px) !important;
  }

  .home .home-insta {
    padding-bottom: 15px;
  }
}

.home .insta_btn {
  display: inline-block;
  text-align: center;
  color: #333;
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.home .insta_btn:hover {
  color: #668ad8;
  transition: .5s;
}

.home .insta_btn .insta {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: middle;
  background: url(img/home/home-icon-insta.png) no-repeat center;
  background-size: cover;
  overflow: hidden;
  margin-right: 10px;
}

@media screen and (max-width: 500px) {
  .home .news-card {
    flex-basis: 100%;
  }
}

/*
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic);*/

.page #content article.page,
.single #content article.post {
  font-size: 18px;
  xxx font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic";
}

@media screen and (max-width: 1000px) {

  .page #content article.page,
  .single #content article.post {
    font-size: 17px;
  }
}

@media screen and (max-width: 800px) {

  .page #content article.page,
  .single #content article.post {
    font-size: 16px;
  }
}

.page #content article.page ul,
.single #content article.post ul,
.page #content article.page table,
.single #content article.post table {
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
	.page #content article.page ul,
	.single #content article.post ul,
	.page #content article.page table,
	.single #content article.post table {
		overflow-x: auto;
		overflow-y: auto;
		display: inline-block;
		max-width: 100%;
		width: auto !important;
		height: auto !important;

		background: linear-gradient(to left, hsla(0,0%,100%,0), white 15px) 0 0 / 50px 100%, linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) 0 0/20px 100%, linear-gradient(to right, hsla(0,0%,100%,0), white 15px) right / 50px 100%, linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) right/20px 100%;
		background-repeat: no-repeat;
		background-attachment: local, scroll, local, scroll;
	}
}

.home .home-mslider-wrap {
  overflow: hidden;
  padding-bottom: 40px;
}

.home .home-mslider-wrap>div {
  background-color: #000;
  padding-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .home .home-mslider-wrap>div {
    padding-bottom: 0px;

  }
}

li.last>div {
  width: 190px;
  height: 20px;
}

li.last>div .gsc-control-cse {
  margin: 0;
  padding: 0;
}

#gNav li.last>div {
  height: auto;
}

.page #content blockquote,
.single #content blockquote {
  display: block;
  background: #fff;
  padding: 40px 100px 40px 100px;
  margin: 0;
  position: relative;

  /*Borders - (Optional)*/
//  border-left: 15px solid #007E2D;
//  border-right: 2px solid #007E2D;

  /*Box Shadow - (Optional)*/
//  -moz-box-shadow: 2px 2px 15px #ccc;
//  -webkit-box-shadow: 2px 2px 15px #ccc;
//  box-shadow: 2px 2px 15px #ccc;
}

.page #content blockquote::before,
.single #content blockquote::before {
  content: "\201C";
  /*Unicode for Left Double Quote*/

  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color:#197d36;

  /*Positioning*/
  position: absolute;
  left: 60px;
  top: 15px;
}

.page #content blockquote::after,
.single #content blockquote::after {
  content: "\201d";
  font-family: Georgia,
  serif;
  font-size: 60px;
  font-weight: bold;
  color: #197d36;
  position: absolute;
  right: 50px;
  bottom: -15px;
}
@media screen and (max-width: 900px) {

  .page #content blockquote,
  .single #content blockquote {
    padding: 30px 40px 30px 40px;
  }
.page #content blockquote::before,
.single #content blockquote::before {
left: 5px;
  font-size: 50px;
}
.page #content blockquote::after,
.single #content blockquote::after {
right: 5px;
  font-size: 50px;
}
}


.flex-direction-nav .flex-next {
  background-position: 100% 0;
  right: -36px;
}

.metaslider a {
  outline: none;
}

.flex-direction-nav a {
  -moz-transition: all .3s ease;
  transition: all .3s ease;
}

.flex-direction-nav li a {
  width: 20px;
  height: 40px;

}

.flex-direction-nav li .flex-prev {
  x background: url(img/arrow_mv_l.png) no-repeat 0 0;
}

.flexslider:hover li .flex-prev {
  opacity: 0.9;
  left: 10px;
}

.flex-direction-nav li .flex-next {
  x background: url(img/arrow_mv_r.png) no-repeat 0 0;
  background-position: center right;
}

.flexslider:hover li .flex-next {
  opacity: 0.9;
  right: 10px;
}

ul.menu_mobile {
  display: none;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption.alignnone {
  margin: 20px 0;
}

.wp-caption.alignleft {
  margin-right: 20px;
  margin-bottom: 15px;
}

.wp-caption.alignright {
  margin-left: 20px;
  margin-bottom: 15px;
}

.wp-caption img {
  width: 100%;
}


.single #content article.post p.wp-caption-text {
  font-size: 0.85rem;
  font-weight: normal;
  color: #333;
  padding: 8px 15px;
  background-color: #f3f3f3;
  margin-top: -2px;
  line-height: 1.4;
}

hr.clear {
  clear: both;
  visibility: hidden;
  margin: 20px 0;
}


div.column-2,
div.column-3 {
  display: flex;
  flex-wrap: nowrap;
  margin: 20px 0;
}

div.column-2>div,
div.column-3>div {
  margin: 0 2px;
}

div.column-3>div {
  width: 33%;
}

div.column-2>div div.wp-caption.alignnone,
div.column-3>div div.wp-caption.alignnone {
  margin: 0;
}

div.column-2>div>div,
div.column-3>div>div,
div.column-2>div>dl,
div.column-3>div>dl {
  width: 100% !important;
}

div.column-2 div img,
div.column-3 div img {
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 400px) {

  div.column-2,
  div.column-3 {
    display: block;
  }

  div.column-2>div,
  div.column-3>div {
    width: 100%;
    max-width: 100% !important;
  }
}

.sns.display-SP {
  display: none !important;
}

@media screen and (max-width: 800px) {
  .sns.display-PC {
    display: none !important;
  }

  .sns.display-SP {
    display: block !important;
  }

  .sns.display-SP ul.sns {
    margin: 0 0 25px;
    display: flex;
    justify-content: center;
  }

  .sns.display-SP ul.sns li {
    float: none;
  }
}

.page-hierarchy {
  display: none;
}

@media screen and (max-width: 768px) {
  .child-page {
    display: none;
  }

  .page-hierarchy {
    display: block;
    margin: 0 0 15px;
  }

  .page-hierarchy__list {
    border-top: 1px solid #ebebeb;
  }

  .page-hierarchy__list li {
    line-height: 1.65;
    color: #333;
  }

  .page-hierarchy__list a {
    display: block;
    padding: 6px 10px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #EBEBEB;
  }

  .page-hierarchy__list .current_page_item>a {
    color: #fff;
    background: #333;
  }

  .page-hierarchy__list>li {
    display: none;
  }

  .page-hierarchy__list>li.current_page_item,
  .page-hierarchy__list>li.current_page_ancestor,
  .page-hierarchy__list>li.current_page_parent {
    display: block;
  }


  .page-hierarchy__list .children {
    display: none;
  }

  .page-hierarchy__list li.current_page_item>.children,
  .page-hierarchy__list li.current_page_ancestor>.children,
  .page-hierarchy__list li.current_page_parent>.children {
    display: block;
  }

  .page-hierarchy__list .children>li {}

  .page-hierarchy__list .children a {
    padding-left: 20px;
  }

  .page-hierarchy__list li.current_page_item .children .children {
    display: none;
  }

  .page-hierarchy__list .children .children a {
    padding-left: 40px;
  }
}

.metaslider .flexslider .flex-direction-nav li a {
  background-image: url('img/home/bg_direction_nav.png') !important;
}

.home .no-events {
  padding: 10px 0 10px 0;
}

#gallery-1.gallery-columns-6 .attachment-thumbnail,
#gallery-1.gallery-columns-5 .attachment-thumbnail,
#gallery-1.gallery-columns-4 .attachment-thumbnail {
  border: 1px solid #cfcfcf;
  max-width: 95%;
  width: 100%;
}
#gallery-1.gallery-columns-3 .attachment-thumbnail,
#gallery-1.gallery-columns-2 .attachment-thumbnail {
  border: 1px solid #cfcfcf;
  max-width: 97%;
  width: 100%;
}