/* pc用 */
@media screen and (min-width: 1024px) {
  a {
    color: #06F;
  }
  
  a:hover {
    color: #09F;
  }
  
  .contents {
    width: 1000px;
    margin: 0 auto;
    clear: both;
  }
  
  .main-column {
    width: 800px;
    float: left;
    line-height: 110%;
  }
  
  .main-column h2.title {
    margin: 0 0 15px 0;
  }
  
  .schoo-info {
    font-size: 12px;
    color: #333;
    padding-bottom: 20px;
  }
  
  .cf:after {
    content: '';
    display: block;
    clear: both;
  }
  
  hr.color-02 {
    background-color: #99cc00;
    color: #99cc00;
  }
  
  .cel-map-right {
    width: 50%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-left: 1pt dotted #999999;
  }
  
  .cel-map-left {
    width: 50%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 10px;
  }
  
  .pic-map-02 {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .midashi {
    padding-left: 5px;
    padding-top: 2px;
    padding-right: 10px;
    vertical-align: middle;
  }
  
  .clear {
    clear: both;
  }
  
  .movie {
    font-size: 11px;
    float: left;
    background: #669900;
    text-align: center;
    text-align: right;
    background-repeat: no-repeat;
    margin-right: 2px;
  }
  
  .rm {
    width: 730px;
    margin: 10px auto;
  }
  
  .school-title {
    width: 1000px;
    margin: 0 auto 15px auto;
  }
  
  .input-text {
    margin: 2px 8px 0 0;
    float: left;
  }
  
  .search-forms {
    margin: 0 0 4px 0;
  }
  
  .mapsize {
    height: 325px;
    width: 691;
    border: 1px solid #ccc;
  }
  
  .area-select {
    overflow-y: auto;
    height: 260px;
    margin-top: 12px;
  }
  
  .clearfix::after {
    content: '';
    display: block;
    clear: both;
  }
  
  .pref-name {
    font-size: 16px;
  }
  
  .target {
    color: #33aa00;
  }
  
  .target2 {
    color: #ff9900;
  }
  
  .target3 {
    color: #33aa33;
  }
  
  .back-gray {
    background-color: #EEEEEE;
  }
  
  .back-white {
    background-color: #FFFFFF;
  }
  
  .school-img {
    width: 53px;
    height: 60px;
  }
  
  .school-list {
    width: 790px;
  }
  
  .school-list table {
    width: 100%;
  }
  
  .area-name {
    height: 10px;
  }
  
  .cel-border {
    height: 17px;
  }
  
  .shiryou-link {
    outline-width: 0;
    user-select: auto;
  }
  
  /* a:link {
    text-decoration: underline;
    color: #000099;
  } */
  
  a:active {
    text-decoration: underline;
    color: #33aa00;
  }
  
  a:visited {
    text-decoration: underline;
    color: #333333;
  }
  
  a:hover {
    text-decoration: underline;
    color: #33aa00;
  }
  
  a.green:link {
    text-decoration: none;
    color: #33aa00;
  }
  
  a.green:active {
    text-decoration: underline;
    color: #33aa00;
  }
  
  a.green:visited {
    text-decoration: none;
    color: #33aa00;
  }
  
  a.green:hover {
    text-decoration: underline;
    color: #000099;
  }
  
  a.n-deco:link {
    text-decoration: none;
    color: #333333;
  }
  
  a.n-deco:active {
    text-decoration: underline;
    color: #333333;
  }
  
  a.n-deco:visited {
    text-decoration: none;
    color: #333333;
  }
  
  a.n-deco:hover {
    text-decoration: underline;
    color: #000099;
  }
  
  a.sm:link {
    text-decoration: underline;
    color: #999999;
  }
  
  a.sm:active {
    text-decoration: underline;
    color: #33aa00;
  }
  
  a.sm:visited {
    text-decoration: underline;
    color: #999999;
  }
  
  a.sm:hover {
    text-decoration: underline;
    color: #33aa00;
  }
  
  a.pn:link {
    text-decoration: underline;
    color: #666666;
    font-size: 12px;
  }
  
  a.pn:active {
    text-decoration: none;
    color: #CC3366;
    font-size: 12px;
  }
  
  a.pn:visited {
    text-decoration: underline;
    color: #666666;
    font-size: 12px;
  }
  
  a.pn:hover {
    text-decoration: none;
    color: #CC3366;
    font-size: 12px;
  }
  
  .pankuzu {
    width: 980px;
    padding: 0 10px;
    margin: 10px auto 17px auto;
    background: #ededed;
    color: #333;
    font-size: 12px;
    line-height: 20px;
  }
  
  .pankuzu a {
    color: #333;
  }
  .header-top {
    display: flex;
    margin: 10px 0 10px;
  }
  .head-search {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin: 0;
  }
  .vertical-line {
    width: 13px;
    height: 37px;
    background-color: #008C7A;
    margin-right: 18px;
  }

  h1 {
    margin: 0;
    font-weight: normal;
    font-size: 20px;
    line-height: 60px;
    color: #fff;
    padding-left: 10px;
    margin: 0 auto 0 auto;
}
  
}

/* sp用 */
@media screen and (max-width: 1023px) {
  * {
    box-sizing: border-box;
  }

  a {
    color: #06F;
  }
  
  a:hover {
    color: #09F;
  }
  
  .contents {
    width: 100%;
    margin: 0 auto;
    clear: both;
    overflow: hidden; 
  }
  
  .main-column {
    width: 100%;
    float: none;
    line-height: 1.5;
    padding: 0 15px;
    height: auto;
    min-height: 560px;
  }
  
  .main-column h2.title {
    margin: 0 0 15px 0;
  }

  .main-column h2.title img {
    width: 100%;
    height: auto;
  }
  
  .schoo-info {
    font-size: 12px;
    color: #333;
    padding-bottom: 20px;
  }
  
  .cf:after {
    content: '';
    display: block;
    clear: both;
  }
  
  hr.color-02 {
    background-color: #99cc00;
    color: #99cc00;
    height: 1px;
    border: none;
    margin: 8px 0;
  }
  
  .cel-map-right {
    width: 50%;
    padding: 5px 0 5px 10px;
    border-left: 1px dotted #999999;
    float: left;
  }
  
  .cel-map-left {
    width: 50%;
    padding: 5px 5px 5px 10px;
    float: left;
  }
  
  .pic-map-02 {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    max-width: 100%;
  }
  
  .midashi {
    padding-left: 5px;
    padding-top: 2px;
    padding-right: 10px;
    vertical-align: middle;
  }
  
  .clear {
    clear: both;
  }
  
  .movie {
    font-size: 11px;
    float: left;
    background: #669900;
    text-align: center;
    background-repeat: no-repeat;
    margin-right: 2px;
    padding: 2px 4px; 
    color: #fff; 
  }

  .rm {
    width: 100%;
    margin: 10px auto;
  }
  
  .school-title {
    width: 100%;
    margin: 0 auto 15px auto;
  }
  
  .input-text {
    margin: 2px 8px 0 0;
    float: left;
    max-width: 60%;
  }
  
  .search-forms {
    margin: 0 0 4px 0;
  }
  
  .mapsize {
    height: auto;
    min-height: auto;
    width: 48%;
    border: 1px solid #ccc;
  }
  
  .area-select {
    overflow-y: auto;
    height: 260px;
    margin-top: 12px;
  }
  
  .clearfix::after {
    content: '';
    display: block;
    clear: both;
  }
  
  .pref-name {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 0;
  }
  
  .target { color: #33aa00; }
  .target2 { color: #ff9900; }
  .target3 { color: #33aa33; }
  
  .back-gray { background-color: #EEEEEE; }
  .back-white { background-color: #FFFFFF; }
  
  .school-img {
    width: 53px;
    height: auto;
  }
  
  .school-list {
    width: 100%; 
    overflow-x: auto; 
  }
  
  .school-list table {
    width: 100%;
    table-layout: fixed;
  }
  
  .school-list td {
    padding: 8px;
    word-break: break-all;
  }

  .area-name {
    height: 10px;
  }
  
  .cel-border {
    height: 17px;
  }
  
  .shiryou-link {
    outline-width: 0;
    user-select: auto;
  }
  
  a:link, a:visited { text-decoration: underline; color: #333333; }
  a:active, a:hover { text-decoration: underline; color: #33aa00; }
  
  a.green:link, a.green:visited { text-decoration: none; color: #33aa00; }
  a.green:active, a.green:hover { text-decoration: underline; color: #000099; }
  
  a.n-deco:link, a.n-deco:visited { text-decoration: none; color: #333333; }
  a.n-deco:active, a.n-deco:hover { text-decoration: underline; color: #000099; }
  
  a.sm:link, a.sm:visited { text-decoration: underline; color: #999999; }
  a.sm:active, a.sm:hover { text-decoration: underline; color: #33aa00; }
  
  a.pn:link, a.pn:visited { text-decoration: underline; color: #666666; font-size: 12px; }
  a.pn:active, a.pn:hover { text-decoration: none; color: #CC3366; font-size: 12px; }
  
  .pankuzu {
    width: 100%;
    padding: 8px 10px;
    margin: 10px auto 17px auto;
    background: #ededed;
    color: #333;
    font-size: 12px;
    line-height: 1.5;
  }
  
  .pankuzu a {
    color: #333;
  }

  .vertical-line {
    width: 10px;
    height: 30px;
    background-color: #008C7A;
    margin: 0 8px;
  }

  .head-search {
    font-size: 13px;
    font-weight: bold;
    color: black;
    margin: 0;
  }

  .header-top {
    display: flex;
    margin: 0 auto;
    margin-bottom: 5px;
  }

  h1 {
    font-size: 18px;
    line-height: 1.4;
    width: 100%;
  }
}