@charset "UTF-8";
@media screen and (max-width: 640px) {
  /* ==================================================
  Base-Layout
  ================================================== */
  .sp_on {
    display: block;
  }

  .sp_off {
    display: none;
  }

  /* body
  ================================================== */
  body {
    -webkit-text-size-adjust: none;
  }

  /* wrapper
  ================================================== */
  #tmp_wrapper,
#tmp_header,
#tmp_main,
#tmp_footer,
.copyright,
.syllabus_cnt,
#tmp_lnavi + .col_main {
    width: auto;
    min-width: auto;
    max-width: auto;
    min-width: initial;
    max-width: initial;
  }

  #tmp_wrapper {
    min-width: 320px;
  }

  /* col_main */
  .col_main {
    padding: 10px;
  }

  /* contents
  ================================================== */
  #tmp_contents,
#tmp_maincontents {
    word-wrap: break-word;
  }

  /* ==================================================
  header
  ================================================== */
  #tmp_wrap_header {
    height: 170px;
  }

  #tmp_header #tmp_hlogo {
    width: calc(100% - 20px);
    height: 120px;
    border-radius: 60px;
  }
  #tmp_header #tmp_hlogo::before {
    background-image: url(/shared/images/layout/header_left_sp.svg);
    width: 93px;
    height: 172px;
    left: 0;
    top: -27px;
  }
  #tmp_header #tmp_hlogo::after {
    background-image: url(/shared/images/layout/header_right_sp.svg);
    width: 105px;
    height: 175px;
    right: 0;
    top: -27px;
  }
  #tmp_header #tmp_hlogo .kadai_rogo {
    position: relative;
    display: block;
    margin: 10px auto;
  }
  #tmp_header #tmp_hlogo h1 {
    position: relative;
    display: block;
    margin: 10px auto;
    top: 0;
    width: 100%;
  }
  #tmp_header #tmp_hlogo h1 span, #tmp_header #tmp_hlogo p span {
    width: 100%;
    height: auto;
    position: relative;
    z-index: -1;
    overflow: hidden;
  }
  #tmp_header #tmp_hlogo #translate_button {
    position: relative;
    display: block;
    width: auto;
    margin: 0 auto;
    top: 0;
    right: 0;
    text-align: center;
  }
  #tmp_header #tmp_hlogo #translate_button li a {
    width: 80px;
  }

  /* pnavi
  ================================================== */
  .pnavi .ptop a {
    margin-top: -90px;
    width: 70px;
    height: 90px;
    background-size: contain;
  }

  .ptop.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.5);
    right: 20px;
  }

  .ptop-down {
    transform: scale(0.5);
    right: 20px;
  }

  .pnavi .pbottom a {
    margin-top: -90px;
    width: 70px;
    height: 90px;
    background-size: contain;
  }

  .pbottom.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.5);
    right: 20px;
  }

  .pbottom-down {
    transform: scale(0.5);
    right: 20px;
  }

  /* plugin
  ================================================== */
  .plugin {
    display: none;
    /* do not edit */
  }

  /* model_change
  ================================================== */
  .wrap_mc_pc,
.wrap_mc_pc #tmp_switch_pc_style {
    display: block;
  }

  .wrap_mc_sp a,
.wrap_mc_pc a {
    font-size: 1rem;
  }

  /* ==================================================
  syllabus
  ================================================== */
  .syllabus_search {
    padding: 20px 10px;
    margin: 15px 0 15px;
  }
  .syllabus_search_h {
    padding: 20px 10px;
    flex-direction: column;
  }
  .syllabus_search_h label {
    margin-right: 0;
    margin-bottom: 5px;
    display: block;
  }
  .syllabus_search_h > div {
    width: 100%;
    padding: 10px 0;
  }
  .syllabus_search_h div:first-child {
    margin-bottom: 10px;
    margin: 0;
  }
  .syllabus_search_h div:first-child select {
    width: 100%;
  }
  .syllabus_search_h div:last-child select {
    width: 100%;
    max-width: none;
  }
  .syllabus_search_item {
    padding: 10px 0;
  }
  .syllabus_search_item dl {
    flex-direction: column;
    justify-content: flex-start;
  }
  .syllabus_search_item dl dt {
    width: 100%;
    margin-bottom: 5px;
  }
  .syllabus_search_item dl dd {
    width: 100%;
  }
  .syllabus_search_item dl dd label {
    margin-right: 10px;
  }
  .syllabus_search_item dl dd input,
.syllabus_search_item dl dd select {
    max-width: 100%;
  }
  .syllabus_search_detail_open {
    padding: 15px 0 0;
  }
  .syllabus_search_detail {
    display: none;
    margin-bottom: 30px;
  }
  .syllabus_search_detail.active {
    display: block;
  }
  .syllabus_search .func_btn {
    margin-top: 20px;
    margin-left: 0 !important;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .syllabus_search .func_btn li {
    margin: 0;
    padding: 0 !important;
    text-align: center;
  }
  .syllabus_search .func_btn a {
    line-height: 20px;
    margin: 0 auto;
  }
  .syllabus_search .func_btn a img {
    vertical-align: middle;
    margin-right: 10px;
  }

  #tmp_contents .syllabus_search_result table th {
    width: 100px;
  }

  #syllabus_research {
    display: none;
  }

  .syllabus_research_btn_wrap {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  #tmp_contents .syllabus_result_item {
    margin-bottom: 20px;
    padding: 10px;
  }
  #tmp_contents .syllabus_result_item h2 {
    font-size: 1.25rem;
    border-left: none;
    padding: 0 10px;
    min-height: 3em;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #3c664a;
    background: none;
  }
  #tmp_contents .syllabus_result_item h2 a {
    color: #3c664a;
    text-decoration: none;
  }
  #tmp_contents .syllabus_result_item h2 a:hover, #tmp_contents .syllabus_result_item h2 a:focus, #tmp_contents .syllabus_result_item h2 a:active {
    text-decoration: underline;
  }
  #tmp_contents .syllabus_result_item table {
    display: block;
    border-spacing: 0;
  }
  #tmp_contents .syllabus_result_item table tr {
    display: flex;
    flex-wrap: wrap;
  }
  #tmp_contents .syllabus_result_item table th {
    width: 45%;
    padding: 3px 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  #tmp_contents .syllabus_result_item table td {
    width: 55%;
    padding: 3px 5px;
    margin-bottom: 10px;
  }

  #tmp_contents .syllabus_detail_table {
    border-top: 1px solid #9fa0a0;
  }
  #tmp_contents .syllabus_detail_table tr {
    display: flex;
    flex-wrap: wrap;
  }
  #tmp_contents .syllabus_detail_table th {
    width: 35%;
    border: none;
    border-left: 1px solid #9fa0a0;
    border-bottom: 1px solid #9fa0a0;
    border-right: 1px solid #9fa0a0;
  }
  #tmp_contents .syllabus_detail_table td {
    width: 65%;
    border: none;
    border-bottom: 1px solid #9fa0a0;
    border-right: 1px solid #9fa0a0;
  }

  .syllabus_detail_func {
    margin-top: 40px;
  }
  .syllabus_detail_func .func_btn {
    flex-direction: column;
    margin: 0 !important;
  }
  .syllabus_detail_func .func_btn li {
    padding: 0 !important;
    margin-bottom: 10px !important;
  }
  .syllabus_detail_func .func_btn li a {
    max-width: none;
    width: 100%;
  }

  /* ==================================================
  class
  ================================================== */
  /* float ▼Do not edit
  ================================================== */
  .float_lft,
.float_rgt {
    float: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* youtube ▼Do not edit
  ================================================== */
  #tmp_contents .frame_youtube,
#tmp_contents .frame_ustream {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    min-width: 200px;
  }

  #tmp_contents .frame_youtube object,
#tmp_contents .frame_ustream object,
#tmp_contents .frame_youtube iframe,
#tmp_contents .frame_ustream iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* ==================================================
  parts
  ================================================== */
  /* parts ▼Do not edit
  ============================== */
  div.col2 div.col2L,
div.col3 div.col3L,
div.col3 div.col3M,
div.col2 div.col2 div.col2L,
div.fixed_col2 div.fixed_col2L,
#tmp_contents.idx_contents div.col2 div.col2L,
#tmp_contents.idx_contents div.col2 div.col2R {
    width: 100%;
    margin-right: 0;
    display: block;
    float: none;
    clear: both;
  }

  div.col2 div.col2R,
div.col3 div.col3R,
div.col2 div.col2 div.col2R,
div.fixed_col2 div.fixed_col2R {
    width: 100%;
    display: block;
    float: none;
    clear: both;
  }

  #tmp_contents div.col3 ul,
#tmp_contents div.col2 ul {
    margin-bottom: 0;
  }

  div.img_cap {
    width: auto !important;
  }

  #tmp_contents img {
    max-width: 100%;
    height: auto;
  }

  #tmp_contents ul,
#tmp_contents ol {
    margin-left: 22px;
  }

  #tmp_contents table {
    width: auto;
  }

  #tmp_contents table table {
    max-width: 100%;
  }

  #tmp_contents table th,
#tmp_contents table td {
    width: auto;
  }

  #tmp_contents table.gsc-search-box td.gsc-input {
    width: 100% !important;
  }

  #tmp_contents input[type=text],
#tmp_contents textarea {
    width: 100% !important;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* Webkit */
  }

  /* Scroll Table
  ================================================== */
  .scroll_table {
    overflow-x: auto;
    margin-bottom: 10px;
    padding: 23px 5px 5px;
    background: #f5f5f5 url(/shared/images/icon/scroll_table_icon.png) right 5px no-repeat;
    background-size: 75px 15px;
  }

  .scroll_table {
    overflow-x: scroll;
  }

  .scroll_table_switch {
    text-align: right;
    margin: 0 0 10px;
    font-size: 75%;
    line-height: 1.2;
  }

  .scroll_table_switch a {
    border: 1px solid #cccccc;
    color: #333333;
    display: inline-block;
    padding: 8px 10px 8px 70px;
    text-decoration: none;
    background: #f2f2f2 url(/shared/images/icon/scroll_table_ex.png) 10px center no-repeat;
    background-size: 46px 20px;
    box-shadow: 0 2px 0 0 #91918e;
    min-width: 9em;
    text-align: center;
  }

  .scroll_table_switch a.scroll {
    background: #ffffff url(/shared/images/icon/scroll_table_df.png) 10px center no-repeat;
    background-size: 46px 20px;
  }

  .scroll_table::-webkit-scrollbar {
    height: 5px;
  }

  .scroll_table::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .scroll_table::-webkit-scrollbar-thumb {
    background: #bcbcbc;
  }

  .vm--modal {
    width: 100% !important;
    left: 0 !important;
  }

  .edit_area {
    width: 100% !important;
    max-width: none;
    min-width: auto;
  }

  .func_btn {
    margin-left: 0 !important;
  }

  .download_btn {
    width: 100% !important;
  }

  .br {
    display: none;
  }

  .title-header {
    height: auto;
  }
}
