@media all and (max-width: 1080px) {

  #menu {
    margin-right: 45px;
  }

  .map .content {
    top: 20px;
  	right: 20px;
  }

}


@media all and (max-width: 980px) {

  .width-980 {
    width: calc(100% - 30px);
    padding-left: 15px;
    padding-right: 15px;
  }

  .sub-menu {
    background-color: #fff;
  }

  .slide-content {
    left: 15px;
  }

  .home .box {
  	width: calc(33.3333% - 72px);
  	padding: 35px 25px 60px;
  }

}


@media all and (max-width: 750px) {

  body {
    font-size: 93.75%;
  }

  #navigation {
    background-color: #fff;
    padding: 100px 0 4px;
    height: 63px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .scroll #navigation {
    top: -118px;
  }

  #menu {
    margin: 12px -15px 0;
    padding: 12px 0;
  }

  #menu > li {
    width: calc(25% - 1px);
    margin: 0;
    text-align: center;
  }

  #menu > li.logo {
    width: auto;
    height: auto;
    position: fixed;
    text-align: left;
    top: 5px;
    left: 15px;
    font-size: 115%;
  }

  .scroll #menu > li.logo {
    display: none;
  }

  li:nth-child(1) .sub-menu { left: auto; right: 5px; }
  li:nth-child(4) .sub-menu { left: 5px; }

  .section {
    padding: 30px 0 20px;
  }

  #page-header {
    padding: 40px 0;
    font-size: 100%;
  }

  #page-slides {
    min-height: 320px;
    padding-top: 163px;
    width: 100%;
  }

  .slide-content-wrapper {
    height: 100%;
    display: flex;
  }

  .swiper-pagination-container {
    top: 180px;
    display: flex;
  }

  .swiper-pagination {
    margin: 10px auto;
    position: relative;
  }

  .slide-content {
    text-align: center;
    position: static;
    opacity: 1 !important;
    box-shadow: none;
    margin: auto;
    width: auto;
    min-height: auto;
    padding: 20px 25px;
  }

  .slide-content small {
    padding: 10px 0;
  }

  .slide-content a {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
  }

  .section.align-right {
    text-align: left;
  }

  .width-980 {
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-body {
    min-height: auto;
    padding-bottom: 10px;
  }

  .align-right .content {
    text-align: left;
  }

  .introduction .content {
    font-size: 87.5%;
  	height: auto;
    display: block;
    padding-bottom: 30px;
  }

  .col {
    margin: 20px 0px !important;
    width: 100%;
    float: none;
  }

  .home .box,
  .box {
    margin: 20px 0px !important;
    width: calc(100% - 50px);
    float: none;
    min-height: auto;
  }

  .box .content {
    min-height: auto;
    padding-bottom: 20px;
  }

  .map {
    height: auto;
    max-height: none;
    padding-top: 0;
  }

  .acf-map {
    height: 60vh;
  }

  .map .content {
  	position: relative;
  	top: auto;
  	right: auto;
  	box-shadow: none;
  	border: none;
    max-width: 100%;
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
  }

  .map .content ol {
    display: block;
  }

  #team-slides {
    display: none;
  }

  .section.members {
    padding-top: 30px;
  }

  .member .profile {
    width: 100px;
    height: 125px;
  }

  .member .name,
  .member .workplace {
    left: 113px;
    width: calc(100% - 125px);
  }

  .sticky-post.post {
    width: 100%;
    margin-right: 0;
  }

  .normal-post {
    padding: 12px;
  }

  .post .tag {
    position: relative;
    right:auto;
  }

  #popup-member {
    padding: 100px 25px 25px 210px;
    width: calc(100% - 275px);
  }

  #popup-member::after {
    left: 180px;
  }

  #popup-member .profile {
    width: 180px;
    height: 250px;
  }

  #popup-member .name {
    width: 100%;
  }

  .link .thumbnail {
    display: none;
  }

  .link .introduction {
    margin-right: 10px;
  }

  .press .thumbnail {
    /*filter: grayscale(0%);
    opacity: 1;*/
    display: none;
  }

  .press .content {
    display: none;
  }

  .sticky-post.post .introduction {
    margin: 18px 12px 0 12px;
  }

  .photo-hover {
    font-size: 87.5%;
  }

  #scroll-to-top {
  	width: 28px;
  	height: 28px;
  	line-height: 28px;
  }

  #scroll-to-top i {
  	width: 12px;
  	height: 12px;
  	margin-top: 10px;
  }

  #sharing {
  	width: 48px;
    height: 144px;
  }

  #sharing .sd-content ul li {
  	width: 48px;
    height: 48px;
    padding-left: 0 !important;
  }

  #sharing .sd-content ul li a {
  	line-height: 48px;
  }

  #sharing .sd-content ul li a::before {
  	line-height: 48px;
  	font-size: 18px;
  }

}

@media all and (max-width: 600px) {

  #program-header img.diagram {
    display: none;
  }

  .chapter {
    padding: 28px 0 22px;
  }

  .chapter .title {
    position: relative;
    top: 0;
    padding-bottom: 18px;
  }

  .member-wrapper {
    margin-right: -10px;
  }

  .member .profile {
    width: calc(100% - 10px);
    height: 0;
    padding-bottom: 125%;
    margin-right: 10px;
  }

  .member .name {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 10px);
    margin-right: 10px;
    padding-top: 10px;
  }

  .member .workplace {
    display: none;
  }

  .separator {
    width: calc(100% - 10px);
  }

  #program-header > p > img {
    display: none;
  }

  #tab-buttons li {
    font-size: 110%;
    padding: 0 8px 0 10px;
    width: calc(50% - 24px);
  }

  #tab-buttons li:nth-child(2n+1) {
    margin-left: 0;
  }

  #tab-buttons li.selected {
    width: calc(50% - 24px);
  }

  .photo-hover {
    display: none !important;
  }

}

@media all and (max-width: 420px) {

  #container {
    font-size: 93.75%;
  }

  #navigation {
    padding-top: 100px;
  }

  #menu {
    margin-top: 14px;
  }

  #menu > li {
    font-size: 87.5%;
  }

  .sub-menu {
    font-size: 100%;
  }

  .map .content {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
    -webkit-column-gap: 0px; /* Chrome, Safari, Opera */
    -moz-column-gap: 0px; /* Firefox */
    column-gap: 0px;
  }

  a.footer-logo {
    float: none;
    margin-bottom: 10px;
  }


  #popup-member {
    padding: 100px 25px 25px 25px;
    width: calc(100% - 90px);
  }

  #popup-member::after,
  #popup-member .profile {
    display: none;
  }

  #popup-member .name {
    top: 75px;
    left: auto;
    font-weight: 600;
    font-size: 135%;
    margin-bottom: 20px;
  }

  #popup-member .name .position {
    display: inline-block;
    padding-left: 6px;
    font-weight: 400;
  }

  #fixed-contact-button.show  {
  	left: 0;
  	bottom: -100px;
  	position: fixed;
  	width: calc(100% - 20px);
  	height: 32px;
  	line-height: 32px;
  	padding: 10px;
  	overflow: hidden;
  	text-align: center;
  	cursor: pointer;
  	z-index: 5;
  	display: block;

  	transition: bottom 0.2s;
  }

  .scroll #fixed-contact-button.show {
  	bottom: 0;
  }

}
