/* sp用 */
@media screen and (min-width: 1024px) {
  .map {
    width: 700px;
    height: 438px;
    margin: 0 auto;
  }

  .map a {
    text-decoration: none;
  }

  .map-area {
    width: 693px;
    height: 327px;
    position: relative;
    float: left;
    margin: 4px;
  }

  .map-search-result {
    width: 670px;
    height: 290px;
    position: absolute;
    top: 8px;
    left: 7px;
    opacity: 0.98;
    padding: 4px;
    background: url('../img/backframe.png') no-repeat;
    display: none;
    z-index: 20;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .map-search-form {
    width: 700px;
    height: 120px;
    float: right;
    font-size: 90%;
  }

  .components {
    display: flex;
    flex-wrap: wrap;
    height: 25px;
  }

  .map-search-form .components input[type=image] {
    float: right;
  }

  .map-search-div-address {
    width: 233px;
    background: url('../img/adress_frame.jpg') no-repeat;
    float: left;
  }

  .map-search-div-zipcode {
    width: 234px;
    background: url('../img/yubin.jpg') no-repeat;
    float: left;
  }

  .map-search-form-unit {
    height: 78px;
    padding: 40px 6px 4px 6px;
    font-size: 12px;
  }

  .map-search-form-header {
    margin: 0 0 2px 4px;
    font-weight: bold;
  }

  .map-search-form-bottom {
    font-size: 11px;
    line-height: 11px;
    margin-top: 4px;
    height: 25px;
  }

  .search-result-box {
    font-size: 12px;
    position: relative;
    height: 300px;
  }

  .search-result-balloon {
    z-index: 11;
    position: absolute;
    top: -23px;
    left: 0;
    border: 0;
  }

  .search-word {
    margin: 4px 0 8px 8px;
    font-weight: bold;
  }

  .search-result-box img {
    vertical-align: top;
  }

  .search-result-unit {
    height: 45px;
    margin: 0 4px 0;
    color: #000;
    padding: 3px 4px;
    cursor: pointer;
  }

  .search-result-unit .search-result-school {
    padding: 2px;
    font-size: 16px;
    text-decoration: underline;
  }

  .search-result-unit .search-result-address {
    padding: 2px 12px;
    font-size: 12px;
  }

  .search-result-image {
    width: 27px;
    height: 35px;
    float: left;
    margin: 0 32px 0 0;
    padding: 0;
  }

  .search-result-image img {
    border: 1px solid #555;
    width: 27px;
    height: 35px;
  }

  .nospace {
    line-height: 0;
    font-size: 0;
  }

  #side_column_wrapper {
    width: 200px;
    float: left;
    margin-top: 10px;
  }

  .near-school {
    font-size: 12px;
    color: blue;
    text-decoration: underline;
  }

  .green-text {
    color: #20B2AA;
  }

  .black-text {
    color: #000000;
  }

  .search-close {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 13px;
    z-index: 10;
  }

  .pref-header {
    font-size: 12px;
    font-weight: bold;
    margin: 2px 0 6px 4px;
  }

  .pref-table {
    width: 100%;
    font-size: 12px;
    border-spacing: 4px 3px;
  }

  .pref-table.others {
    border-spacing: 4px 8px;
  }

  .pref-table td {
    width: 20%;
    border: 1px solid #cad3d8;
    background: #f2f6f8;
    padding: 2px 8px;
    color: #6f99c6;
    font-weight: bold;
    line-height: 12px;
    cursor: pointer;
  }

  .pref-table.others td {
    padding: 6px 8px;
  }

  .pref-table td:hover {
    background: #eaeff1;
    color: #4f79a6;
  }

  .noresult {
    text-align: center;
    margin: 12px 4px 8px;
  }

  .right {
    float: right;
  }

  .border-out {
    border: 2px solid #4169E1;
    margin: 30px auto;
    width: 530px;
  }

  .border-in {
    border: 1px dotted #ccc;
    margin: 1px;
    text-align: center;
    line-height: 1.2;
  }

  .search-around {
    text-align: center;
  }

  .pc-only {
    pointer-events: auto;
  }

  .sp-only {
    pointer-events: none;
  }
}

/* sp用 */
@media screen and (max-width: 1023px) {
  .pc-only {
    pointer-events: none;
  }
  .sp-only {
    pointer-events: auto;
  }

  .map {
    width: 350px;
    height: auto;
    margin: 18px auto 0;
    box-sizing: border-box;
  }

  .map a {
    text-decoration: none;
  }

  .map-area {
    width: 350px;
    height: auto;
    position: relative;
    float: none;
    margin: 4px auto;
  }

  .mapsize {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .map-search-result {
    width: 96%;
    height: 317px;
    position: absolute;
    top: 8px;
    left: 2%;
    opacity: 0.98;
    padding: 4px;
    background: url('../img/backframe.png') no-repeat;
    background-size: 100% 120%;
    display: none;
    z-index: 20;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .map-search-form {
    width: 100%;
    height: auto;
    float: none;
    font-size: 12px;
  }

  .components {
    display: flex;
    flex-wrap: wrap;
    height: auto;
  }

  .map-search-form .components input[type=image] {
    float: right;
    width: 75px;
    height: auto;
  }

  .map-search-div-address {
    width: 100%;
    background: url('../img/adress_frame.jpg') no-repeat;
    background-size: 100% 100%;
    float: none;
    margin-bottom: 10px;
  }

  .map-search-div-zipcode {
    width: 100%;
    background: url('../img/yubin.jpg') no-repeat;
    background-size: 100% 100%;
    float: none;
    margin-bottom: 10px;
  }

  .map-search-form-unit {
    height: auto;
    padding: 30px 6px 4px 6px;
    font-size: 12px;
  }

  .map-search-form-header {
    margin: 0 0 2px 4px;
    font-weight: bold;
  }

  .map-search-form-bottom {
    font-size: 11px;
    line-height: 11px;
    margin-top: 4px;
    height: auto;
    padding-bottom: 10px;
  }

  .search-result-box {
    font-size: 12px;
    position: relative;
    height: 300px;
  }

  .search-result-balloon {
    z-index: 11;
    position: absolute;
    top: -23px;
    left: 0;
    border: 0;
    width: 150px;
    height: auto;
  }

  .search-word {
    margin: 4px 0 8px 8px;
    font-weight: bold;
    font-size: 14px;
  }

  .search-result-box img {
    vertical-align: top;
  }

  .search-result-unit {
    height: auto;
    min-height: 35px;
    margin: 0 4px 0;
    color: #000;
    padding: 3px 4px;
    cursor: pointer;
    border-bottom: 1px dotted #ccc;
  }

  .search-result-unit .search-result-school {
    padding: 2px;
    font-size: 16px;
    text-decoration: underline;
    display: block;
  }

  .search-result-unit .search-result-address {
    padding: 2px 12px;
    font-size: 12px;
    display: block;
  }

  .search-result-image {
    width: 27px;
    height: auto;
    float: left;
    margin: 0 32px 0 0;
    padding: 0;
  }

  .search-result-image img {
    border: 1px solid #555;
    width: 27px;
    height: auto;
  }

  .nospace {
    line-height: 0;
    font-size: 0;
  }

  #side_column_wrapper {
    width: 100%;
    float: none;
    margin-top: 10px;
  }

  .near-school {
    font-size: 12px;
    color: blue;
    text-decoration: underline;
  }

  .green-text {
    color: #20B2AA;
  }

  .black-text {
    color: #000000;
  }

  .search-close {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 13px;
    z-index: 10;
  }

  .search-close img {
    width: 30px;
    height: auto;
    margin-left: 8px;
  }

  .pref-header {
    font-size: 12px;
    font-weight: bold;
    margin: 2px 0 6px 4px;
  }

  .pref-table {
    width: 100%;
    font-size: 12px;
    border-spacing: 4px 3px;
  }

  .pref-table.others {
    border-spacing: 4px 8px;
  }

  .pref-table td {
    width: 20%;
    border: 1px solid #cad3d8;
    background: #f2f6f8;
    padding: 8px 4px;
    color: #6f99c6;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    font-size: 11px;
  }

  .pref-table.others td {
    padding: 10px 8px;
  }

  .pref-table td:hover {
    background: #eaeff1;
    color: #4f79a6;
  }

  .noresult {
    text-align: center;
    margin: 12px 4px 8px;
    font-size: 12px;
  }

  .right {
    float: right;
  }

  .border-out {
    border: 2px solid #4169E1;
    margin: 30px auto;
    width: 90%;
  }

  .border-in {
    border: 1px dotted #ccc;
    margin: 2px;
    text-align: center;
    line-height: 1.4;
    padding: 8px;
  }

  .search-around {
    text-align: center;
    margin-bottom: 15px;
  }

  .spacer-s {
    margin-top: 75px;
  }
}