.sp {
  display: none;
}
.pc {
  display: block;
}
#spNavi {
  display: none;
}

@media screen and (max-width: 1021px) {
  .greetingPhoto {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .greetingPhoto .text {
    max-width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .sp {
    display: inline-block;
  }
  .pc {
    display: none;
  }
  /* CONTAINER
  -------------------------------------------*/
  .wrapper {
    width: 100%;
  }
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .flexWrap .col2 {
    width: 100%;
  }
  .flexWrap .col4 {
    width: 48%;
  }
  .flexWrap .caption {
    font-size: 1.2rem;
  }

  /*TITLE*/
  .ttlStyle01 {
    padding-bottom: 10px;
    background-size: 150px auto;
  }
  .ttlStyle01 .title {
    font-size: 2rem;
  }
  .ttlStyle01 .en {
    font-size: 1rem;
  }
  .ttlStyle02,
  .ttlStyle03 {
    font-size: 1.8rem;
  }
  .ttlStyle04 {
    font-size: 1.6rem;
  }

  /* BUTTON */
  .btnStyle01 {
    width: 150px;
    font-size: 1.4rem;
    padding: 10px 15px;
  }

  /* TABLE */
  .tblStyle01 tr td,
  .tblStyle01 tr th {
    display: block;
    width: 100%;
    max-width: -webkit-calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    text-align: left;
  }
  .tblStyle01 tr td.td-left {
    padding-left: 15px;
  }
  .tblStyle02 tr > * {
    font-size: 1.3rem;
  }
  .tblInner01 {
    max-width: 100%;
    table-layout: fixed;
  }
  .tblInner01 tr th,
  .tblInner01 tr td {
    display: table-cell;
    padding: 5px;
    font-size: 11px;
    text-align: center;
    width: auto;
  }
  .tblInner01 .just {
    padding-right: 5px;
    padding-left: 5px;
  }
  .tblStyle01 tr th br {
    display: none;
  }
  .scroll {
    width: 100%;
    max-height: 250px;
    overflow: scroll;
  }
  .scroll table {
    width: 100%;
    max-width: none;
    table-layout: fixed;
  }
  .scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  .scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
  }

  .txtStyle01.list {
    margin-left: -1em;
  }

  /* HEADER
  -------------------------------------------*/
  #logo {
    width: 220px;
  }
  #header {
    position: relative;
    height: 60px;
    padding-top: 17px;
  }
  #headText {
    display: none;
  }

  /*glnv*/
  #glnv {
    display: none;
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 9999;
    margin-top: 0;
  }
  #glnv ul {
    padding-right: 0;
    padding-left: 0;
  }
  #glnv li {
    width: 100%;
  }
  #glnv li:not(:last-of-type) {
    border-bottom: 1px solid #fff;
  }
  #glnv a {
    text-align: left;
    padding: 10px 15px;
  }

  /*spnavi*/
  #spNavi {
    display: block;
    width: 42px;
    height: 41px;
    background-color: #005eae;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
  }
  #spNav ul li a {
    display: block;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid #fff;
    padding: 10px 15px;
    position: relative;
    z-index: 60;
  }
  #spNav ul li:first-of-type a {
    border-top: 1px solid #fff;
  }
  #spNavi,
  #spNavi span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #spNavi .label {
    color: #fff;
    width: 100%;
    position: absolute;
    right: -2px;
    bottom: 0;
    text-align: center;
    font-size: 9px;
    -webkit-transform: scale(0.9);
    -webkit-transform-origin: 0 0;
  }
  #spNavi .label label.hideShow {
    display: none;
  }
  #spNavi span {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 20px;
    height: 2px;
    background-color: #fff;
  }
  #spNavi span:nth-of-type(1) {
    top: 8px;
  }
  #spNavi span:nth-of-type(2) {
    top: 14px;
  }
  #spNavi span:nth-of-type(3) {
    top: 20px;
  }
  #spNavi.active .actShow {
    display: none;
  }
  #spNavi.active .label label.hideShow {
    display: block;
    right: 4px;
  }
  #spNavi.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    -ms-transform: translateY(7px) rotate(-45deg);
    transform: translateY(7px) rotate(-45deg);
    background: #fff;
  }
  #spNavi.active span:nth-of-type(2) {
    opacity: 0;
  }
  #spNavi.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    -ms-transform: translateY(-5px) rotate(45deg);
    transform: translateY(-5px) rotate(45deg);
    background: #ed7a38;
  }

  /* FOOTER
  -------------------------------------------*/
  ul#footBanner {
    justify-content: space-between;
    padding: 20px 15px;
    gap: 10px 0;
  }
  ul#footBanner li {
    width: 49%;
  }
  ul#footBanner li:nth-of-type(even) {
    /*margin-left: 2%;*/
  }
  ul#footBanner li:not(:nth-of-type(4n)) {
    /*margin-right: 0;*/
  }
  #footer img {
    width: 70%;
  }
  address,
  p#copy small {
    font-size: 10px;
  }
  p#copy {
    padding: 5px;
  }

  /* TOPPAGE
  -------------------------------------------*/
  #sliderArea .left,
  #sliderArea .right {
    width: 50%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-align-items: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  #sliderArea .left img,
  #sliderArea .right img {
    width: 50%;
  }
  #sliderArea .center {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }
  .slick-dots li button {
    width: 10px;
    height: 10px;
  }
  .slideBox .slick-prev:before,
  .slideBox .slick-next:before {
    font-size: 17px;
  }
  .slick-prev {
    left: -15px;
  }
  .slick-next {
    right: -15px;
  }
  #schedule p {
    font-size: 12px;
  }

  ul.listInfo a {
    font-size: 14px;
  }

  ul.listPurpose {
    padding-right: 0;
    padding-left: 0;
  }
  ul.listPurpose li {
    padding: 20px;
  }
  ul.listPurpose h4 {
    font-size: 1.6rem;
    padding: 0;
  }
  ul.listPurpose h4 span.num {
    font-size: 1.8rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: -16px;
  }
  ul.listPurpose p {
    font-size: 1.4rem;
  }
  .topBtmPhoto.flexWrap {
    width: -webkit-calc(100% + 30px);
    width: calc(100% + 30px);
    margin-right: -15px;
    margin-left: -15px;
  }
  .topBtmPhoto li {
    width: 33.33333%;
  }

  /* PAGE
  -------------------------------------------*/
  /*common*/

  /*info*/
  .post .ex,
  #archiveLink a,
  .wp-post p {
    font-size: 1.5rem;
  }

  /*greeting*/
  .name span {
    display: inline-block;
  }

  /*outline*/
  ul.listInner li .td3,
  ul.listInner li .td2 {
    width: 100%;
    margin-bottom: 5px;
  }
  ul.listInner li:last-of-type .td3 {
    margin-bottom: 0;
  }
  ul.innerList01 {
    margin: 0;
  }
  ul.innerList01 .title {
    width: 100%;
    font-weight: 600;
  }
  ul.innerList01 .title:empty {
    display: none;
  }
  ul.innerList01 .col3 {
    width: 50%;
  }
  ul.innerList01 .col2 {
    width: 100%;
  }

  /*member*/
  .tblStyle03 .wide {
    width: 400px;
  }
  .scroll .tblStyle03 tr > * {
    font-size: 1.2rem;
  }

  /*activity*/
  .flexWrap.actPhoto .col2,
  .flexWrap.actPhoto .col3 {
    width: 48%;
  }
  .listFound {
    margin-top: 20px;
  }
  .listFound li {
    width: 50%;
  }

  .greetingPhoto .text {
    margin-left: 0;
  }

  /* member */
  .name-img {
    width: 14px;
  }
}
