@charset "UTF-8";
.sp {
  display: none;
}
@media (max-width:767.888px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  /* 共通　*/
  body, body * {
    box-sizing: border-box;
  }
  #topNews ul li, #topMainArea h2, .topCatch, #topNews, #footer, #topMainArea, #headNavi, #topHeader, #container {
    width: 100%;
  }
  #topMainArea img, .topCatch .topCatchIn h3 img {
    max-width: 100%;
    height: auto;
  }
  #container {
    padding: 0 15px;
    padding-top: 16px;
  }
  #container.top_container {
    padding-top: 61px;
  }
  #topSearch {
    right: 0;
    bottom: auto;
    top: -40px;
    width: 100%;
    text-align: left;
  }
  #topSearch input#search {
    width: 133px;
  }
  p.toTop {
    width: 100%;
  }
  #headNavi {
    //display: none;
  }
  #headNavi ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #headNavi ul li {
    color: #e3e4e1;
  }
  #headNavi ul li a {
    color: #595757;
    text-decoration: underline !important;
    margin: 0;
  }
  div.faq,
  div.pastList,
  #mainArea h4,
  #rightStyle, #rightLearn, #rightInteractive, #rightInfo,
  body,
  #leftNavi dd a,
  .mmBn .article {
    font-size: 14px;
}



  /* top　*/
  .top_only_logo {}
  #topHeader {
    aspect-ratio: 8 / 2.2;
    height: auto;
    background: url(/page_images/index_head_bg.jpg) no-repeat center top;
    background-size: contain;
  }
  #topNews #topNewsLeft, #topNews #topNewsRight {
    float: none;
    width: 100%;
    margin: 0;
  }
  .topCatch {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .topCatch .topCatchIn {
    width: 48%;
    margin: 0;
    float: none;
  }
  #topNews, .topCatch02, .topCatch03, .topCatch01 {
    background: none;
  }
  .topCatch01 .topCatchIn {
    background: url(/page_images/index_bg_catch_01.gif) no-repeat left top;
    background-size: 500%;
  }
  .topCatch02 .topCatchIn {
    background: url(/page_images/index_bg_catch_02.gif) no-repeat left top;
    background-size: 500%;
  }
  .topCatch03 .topCatchIn {
    background: url(/page_images/index_bg_catch_03.gif) no-repeat left top;
    background-size: 500%;
  }
  .topCatch .topCatchIn * {
    font-size: 11px !important;
  }
  #footer #footNavi {
    padding: 10px;
  }
  #footer #footNavi ul {
    font-size: 10px;
  }
  #footer #footNavi ul * {
    margin: 0;
    padding: 0;
  }
  #footer #footNavi ul a {
    text-decoration: underline !important;
    display: block;
  }
  #footer #footNavi .sp {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 10px;
    grid-row-gap: 5px;
  }
  #leftNavi {
    float: none;
    width: 100%;
    border-top: solid 2px #8DCBAB;
    margin-top: 50px;
    padding-top: 40px;
  }
  .top_side {}
  /* 下層　ウェブページテンプレ　*/
  #mainArea h2#theme, #rightStyle ul.nanimoEnter, div.faq, #header, #leftNavi dl, .section, #mainArea, .boxPoint {
    width: 100%;
  }
  #rightStyle, #rightLearn, #rightInteractive, #rightInfo {
    float: none;
    width: 100%;
  }
  #mainArea {
    background: none;
  }
  #header #headerLeft {
    width: 100%;
    height: auto;
    float: none;
    margin-bottom: 15px;
  }
  #header #headerLeft h1 a {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 2;
    height: auto;
    background: url(/page_images/logo.gif) no-repeat center top;
    background-size: 70%;
  }
  #headerRight {
    display: none;
  }
  #rightStyle p img {
    max-width: 100%;
    height: auto;
  }
  .archives_circle03 img {}
  #yougoCont ul.tab {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #yougoCont ul.tab li {
    width: auto;
    flex: 1;
  }
  #mainArea h2 {
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  #rightLearn h2 {
    background: url(/page_images/subtitle_bg_02_01.gif) no-repeat left center;
  }
  /* 下層　ブログテンプレ　*/
  #mainArea h2, div#relation, div.pastList, #mainArea #rightLearn .mmBnTitle {
    width: 100%;
  }
  .mmBn img {
    max-width: 100%;
    height: auto;
  }
  .mmBn .article {
    word-wrap: break-word;
  }
  .mag-submit th, .mag-submit td {
    display: block;
    width: 100%;
  }
  .mag-submit tr {
    border: none;
  }
  .startList li {
    width: 100% !important;
  }
  .article img {
    max-width: 100%;
  }
}