﻿* {
  margin: 0;
  padding: 0;
  font-family: "Meiryo UI", "メイリオ", "MS UI Gothic", "ヒラギノ角ゴシック";
}
#main {
  padding: .5rem !important;
}
header {
  margin-bottom: .5rem;
  padding: .5rem;
  background: #446699;
  color: #fff;
  #search {
    padding: .5rem;
    input[type="text"] {
      width: 16rem;
      height: 1.7rem;
      line-height: 1.7rem;
      outline: none;
      border: 0;
      border-top-left-radius: .3rem;
      border-bottom-left-radius: .3rem;
      padding: 0 .2rem;
    }
    input[type="submit"] {
      height: 1.7rem;
      line-height: 1.7rem;
      border: 0;
      border-left: 1px solid #ccc;
      border-top-right-radius: .3rem;
      border-bottom-right-radius: .3rem;
      padding: 0 .6rem;
      color: #555;
      cursor: pointer;
      &:hover {
        background-color: #ddd;
      }
    }
  }
}
.sp {
  display: inline;
}
.my-info {
  background: #ff8;
  margin-bottom: .5rem;
  padding: .3rem .5rem;
  border: 1px solid #ddd;
  text-align: center;
  color: #884422;
  form {
    display: flex;
    justify-content: center;
    margin-top: .5rem;
    textarea {
      flex: 1;
      height: 3rem;
      max-width: 26rem;
      padding: .2rem;
      outline: none;
      border: 1px solid #ccc;
      border-top-left-radius: .4rem;
      border-bottom-left-radius: .4rem;
      &::placeholder {
        color: #aaa;
      }
    }
    button {
      width: 4rem;
      outline: none;
      border: 1px solid #ccc;
      border-left: none;
      border-top-right-radius: .4rem;
      border-bottom-right-radius: .4rem;
      color: #555;
      cursor: pointer;
      &:hover {
        background-color: #ddd;
      }
    }
  }
}
h1 {
  font-size: 180%;
}
h2 {
  font-size: 100%;
  background: #446699;
  color: #fff;
  padding: .2rem;
  &::before {
    content: "■ " ;
  }
}
ul {
  margin-top: .5rem;
  margin-bottom: .5rem;
  li {
    list-style: none;
    margin-bottom: .2rem;
  }
}
footer {
 address {
    font-style: normal;
  }
}
a:link,
a:visited {
  color: #136;
}
i {
  color: #888;
  font-size: 90%;
}
@media screen and (width >= 700px) {
  header {
    display: flex;
    form {
      margin-left: auto;
    }
  }
  #content {
    display: flex;
    gap: .5rem;
    aside {
      width: 12rem;
      text-align: center;
      background: #eee;
      h2::before {
        content: "";
      }
      ul {
        li {
          margin-bottom: 1rem;
        }
      }
    }
    main {
      flex: 1;
      ul {
        columns: 2;
      }
    }
  }
  footer {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: .5rem;
    .banner {
      img {
        margin-top: .4rem;
      }
    }
  }
  .sp {
    display: none;
  }
}
