.container {
  margin-bottom: 16px !important;
}

@media screen and (max-width: 1023px) {
  * {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  body {
    min-width: auto;
    max-width: 100%;
  }
  .contents_title .ct_inner,
  .beginner_con,
  .beginner_con2 .inner,
  .btns,
  .body-wrapper .more_box,
  .body-wrapper .title .title_txt p,
  div.container,
  .beginner_con2 .inner p.images
  {
    max-width: 100%;
  }
  .contents_title .ct_inner {
    padding: 21px 30px 16px;
  }
  .body-wrapper .title {
    margin-bottom: 60px;
  }
  .body-wrapper .title .title_ph h3 span {
    margin-top: -125px;
    background-size: 80vw;
    margin-left: 30px;
  }
  .body-wrapper .title .title_txt p {
    font-size: 24px;
    line-height: 1.67;
    letter-spacing: -0.02em;
    padding: 32px 30px 35px;
  }
  .body-wrapper .title .title_txt p small {
    display: block;
    font-size: 18px;
    line-height: 1.67;
    margin-top: 12px;
  }

  .body-wrapper .section_box + .section_box {
    margin-top: 4px;
  }
  #Sec04 {
    margin-top: 36.5px;
  }
  .body-wrapper .section_box h3 {
    height: 102px;
    display: table;
    width: 100%;
    padding: 0 30px;
    margin-bottom: 43px;
  }
  .body-wrapper .section_box h3 span,
  .body-wrapper .section_box h3 span.line2 {
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    font-size: 24px;
    line-height: 1.54;
    border-left-width: 30px;
    padding: 0 20px;
    white-space: nowrap;
  }
  .body-wrapper .section_box .section_inner {
    width: 100%;
    padding: 0 30px;
    margin-bottom: 0;
  }
  .body-wrapper .section_box .section_inner .section_inner {
    padding: 0;
  }
  .body-wrapper .section_box .section_inner p {
    font-size: 22px;
    line-height: 1.64;
    margin-bottom: 37px;
  }

  .body-wrapper .section_box .section_inner p.photo {
    margin-top: 29px;
  }
  .body-wrapper .section_box .section_inner p.photo img {
    width: 100%;
  }
  #Sec02 .si1 {
    margin-bottom: 37px;
  }
  #Sec03 .si1 {
    margin-bottom: 36px;
  }
  #Sec05 .si1 {
    padding-top: 0;
  }
  #Sec02 .section_inner .right02 {
    margin-bottom: 72px;
  }
  .container ul.notes_list {
    margin-top: 45px;
    margin-bottom: 55px;
    padding: 0 20px;
  }
  .container ul.notes_list li {
    font-size: 18px;
    line-height: 1.67;
    padding-left: 2.5em;
    text-indent: -2.5em;
  }
  .page_links {
    padding: 43px 30px 42px;
    margin-bottom: 61px;
  }
  .page_links h3 {
    font-size: 24px;
    line-height: 1.75;
    margin-bottom: 23px;
  }
  .page_links ul {
    width: 100%;
  }
  .page_links ul li {
    font-size: 22px;
    line-height: 1.64;
  }
  .page_links ul li + li {
    margin-top: 15px;
  }
  .page_links ul li a {
    display: block;
    background-position: left 6px !important;
    padding-top: 0;
    padding-bottom: 0;
  }
  .page_links ul li a:hover {
    background-position: left 6px !important;
    padding-top: 0;
    padding-bottom: 0;
  }

}
@media screen and (max-width: 1023px) and (min-width: 600px) {
  .body-wrapper .title .title_txt p {
    font-size: 15px;
    line-height: 1.67;
  }
  .body-wrapper .section_box h3 {
    height: 74px;
  }
  .body-wrapper .section_box h3 span,
  .body-wrapper .section_box h3 span.line2 {
    font-size: 18px;
    line-height: 1.44;
  }
  .text-tb-wrap {
    width: 100%;
    overflow: hidden;
  }
  .body-wrapper .section_box h3 {
    padding: 0 40px;
  }
  .body-wrapper .section_box .section_inner {
    padding: 0 30px;
  }
  .body-wrapper .section_box .section_inner p {
    font-size: 15px;
    line-height: 1.67;
  }

  #Sec01 .section_inner .left,
  #Sec03 .section_inner .left {
    width: 60.7%;
    padding-right: 40px;
  }

  .body-wrapper .section_box .section_inner p.photo {
    width: 39.3%;
    margin-top: 0;
    margin-bottom: 37px;
  }
  #Sec02 .section_inner .right02 {
    margin-bottom: 0;
  }
  #Sec02 .section_inner.si1 .left {
    width: 67.31%;
    padding-right: 40px;
  }

  #Sec02 .si1 .right.photo {
    width: 32.6%;
  }
  #Sec02 .section_inner .left02 {
    width: 40%;
  }
  #Sec02 .section_inner .right02 {
    width: 60%;
    padding-left: 40px;
  }

  #Sec03 .section_inner .left02 {
    width: 32.6%;
    padding-right: 0;
  }
  #Sec03 .section_inner .right02 {
    width: 67.4%;
    padding-left: 40px;
  }
  #Sec04 .section_inner .right,
  #Sec05 .section_inner .left {
    width: 39.245%;
  }
  #Sec05 .section_inner .right {
    width: 60.75%;
    padding-left: 40px;
  }
  .container ul.notes_list li {
    font-size: 13px;
    line-height: 1.77;
  }
  .page_links h3 {
    font-size: 18px;
    line-height: 1.75;
  }
  .page_links ul li {
    font-size: 17px;
    line-height: 2.06;
  }
}
@media screen and (max-width: 599px) {
  .body-wrapper .title .title_ph {
    background-image: url('../images/middle_sp/img_ph_01.png');
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
  }
  .body-wrapper .title .title_ph:before {
    content: '';
    display: block;
    padding-top: 74.5%;
  }
  .contents_title .ct_inner {
    padding: 10.5px 15px 8px;
  }
  .contents_title h1 img {
    height: 28px;
  }
  .contents_title p.menu a {
    width: 85px;
    height: 19.5px;
    -webkit-background-size: 100%;
    background-size: 100%;
  }
  #Sec01 .section_inner .left,
  #Sec02 .section_inner .left,
  #Sec02 .section_inner .right02,
  #Sec03 .section_inner .left,
  #Sec04 .section_inner .left,
  #Sec05 .section_inner .left,
  #Sec03 .section_inner .right02,
  #Sec04 .section_inner .right,
  #Sec05 .section_inner .right,
  .body-wrapper .section_box .section_inner p.photo {
    width: 100%;
    float: none!important;
  }
  .body-wrapper .title {
    margin-bottom: 30px;
  }
  .body-wrapper .title .title_txt p {
    font-size: 12px;
    padding: 16px 15px 17.5px;
  }
  .body-wrapper .title .title_txt p small {
    font-size: 9px;
    margin-top: 6px;
  }

  .body-wrapper .section_box + .section_box {
    margin-top: 72px;
  }
  #Sec04 {
    margin-top: 72px;
  }
  .body-wrapper .section_box h3 {
    height: 51px;
    padding: 0 15px;
    margin-bottom: 21.5px;
  }
  .body-wrapper .section_box h3 span,
  .body-wrapper .section_box h3 span.line2 {
    font-size: 12px;
    border-left-width: 15px;
    padding: 10px;
  }
  .body-wrapper .section_box .section_inner {
    padding: 0 15px;
  }

  .body-wrapper .section_box .section_inner p {
    font-size: 11px;
    margin-bottom: 18.5px;
  }

  .body-wrapper .section_box .section_inner p.photo {
    margin-top: 14.5px;
  }

  #Sec02 .si1 {
    margin-bottom: 18.5px;
  }
  #Sec03 .si1 {
    margin-bottom: 18px;
  }

  #Sec02 .section_inner .right02 {
    margin-bottom: 36px;
  }
  .container ul.notes_list {
    margin-top: 22.5px;
    margin-bottom: 27.5px;
    padding: 0 10px;
  }
  .container ul.notes_list li {
    font-size: 9px;
  }
  .page_links {
    padding: 21.5px 15px 21px;
    margin-bottom: 30.5px;
  }
  .page_links h3 {
    font-size: 12px;
    margin-bottom: 11.5px;
  }

  .page_links ul li {
    font-size: 11px;
  }
  .page_links ul li + li {
    margin-top: 7.5px;
  }
  .page_links ul li a {
    background-position: left 3px !important;
    -webkit-background-size: 11px 11px;
    background-size: 11px 11px;
    padding-left: 15px;
  }
  .page_links ul li a:hover {
    background-position: left 3px !important;
    -webkit-background-size: 11px 11px;
    background-size: 11px 11px;
    padding-left: 15px;
  }
  .body-wrapper .title .title_txt p small {
    font-size: 12px;
  }
  .body-wrapper .section_box h3 span, .body-wrapper .section_box h3 span.line2 {
    font-size: 16px;
  }
  .body-wrapper .section_box .section_inner p {
    font-size: 14px;
  }
}
