@media screen and (min-width:400px) { 
html {
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

body {
  border-top: 6px solid green;
  margin: 0;
  padding: 0;
}
.container {
  width: 90%;
  margin: 5% auto;
}

.school-wrap {
  width: 100%;
}

.category {
  font-size: 1rem;
  line-height: 1;
  margin-top: 1rem;
}

.school-name {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  margin-top: 0.3rem;
}

.memo {
  font-size: 0.8rem;
  line-height: 1;
  margin-top: 0.5rem;
  padding-bottom: 1rem;
}

.title-box2-pc {
  display: none;
}

.title-box2 {
  width: 100%;
  height: 3rem;
  background-color: #e37927;
  /*border: 2px solid orangered;*/
  margin:.3rem 0;
  text-indent: 0.5rem;
  flex: 1;
  border-radius: 3px;
}
.title-box2 a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  line-height: 3rem;
  text-decoration: none;
  text-align: center;
}

.school-box2 {
  padding-top: 1rem;
}
.main-text {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 2rem;
  text-align: justify;
}
.sub-text {
  padding-top: 1rem;
  text-align: justify;
}

.school-midashi {
  width: 100%-1.2rem;
  margin: 1em 0 0.5em 0;
  padding: 0.2em 0.4em 0.3em 0.6em;
  border: none;
  border-radius: 0 0 0.5rem 0.5rem;
  background-color: #1d8f49;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.5;
}
.school-tab {
  font-size: 0.85em;
  font-weight: 600;
  border-bottom: 1px dotted #aaa;
  border-left: 5px solid #1d8f49;;
  text-indent: 0.5rem;
  padding: 0.2rem 0 0.4rem 0;
}
.school-tab-txt {
  text-align: justify;
  line-height: 1.5rem;
  margin: 0;
  padding: 0.7rem 0 1rem 0;
}

.title-box1 img {
  width: 100%;
}
.school-photopc {
  display: none;
}
.button-item {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 3rem 0 0 0;
  padding: 0;
  width: 100%;
  height: 3rem;
}
.button-item li {
  text-align: center;
  /*border: 2px solid orangered;*/
  margin: auto 0;
  padding: 0;
  flex: 1;
}
.button-item li:not(:last-child) {
    margin-right: 1%;
}
.button-item li a {
  display: block;
  text-decoration: none;
  line-height: 3rem;
  color: #fff;
  font-size: 0.9rem;
}
.bluebg{
    background-color: rgb(57, 170, 240);
    border-radius: 3px;
}
.greenbg{
    background-color: rgb(3, 169, 36);
    border-radius: 3px;
}
.pinkbg{
    background-color: rgb(246, 102, 169);
    border-radius: 3px;
}
.title-box-request {
  width: 100%;
  height: 3rem;
  background-color: #e37927;
  margin: 0.3rem 0;
  border-radius: 3px;
}
.title-box-request a {
  display: block;
  width: 100%;
  height: 3rem;
  color: #fff;
  line-height: 3rem;
  text-decoration: none;
  text-align: center;
}
}

@media screen and (min-width:1000px) {
html {
  font-size: 14px;
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.container {
  width: 960px;
  height: auto;
  margin: 2rem auto 3rem auto;
  padding: 30px;
  border-top: 5px solid #1d8f49;
  border-left: 1px solid #1d8f49;
  border-right: 1px solid #1d8f49;
  border-bottom: 1px solid #1d8f49;
}
.school-wrap {
  border-top: 1px dotted #555;
  margin-top: 20px;
  padding-top: 25px;
}
.title-space {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.category {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
}

.school-name {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  margin-top: 0.5rem;
}

.memo {
  font-size: 0.8rem;
  line-height: 1;
  margin-top: 0.5rem;
}

.title-box1 {
  margin: 0;
  padding: 0;
}

.title-box2-pc {
  display: block;
  margin: 0;
  padding: 0;
  height: 50px;
  background-color: #e37927;
}

.school-photo,
.title-box2 {
  display: none;
}

.school-photopc {
  display:block;
  margin-bottom: 15px;
}

.sub-text {
  margin-bottom: 20px;
  line-height: 1.3;
}

.school-wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.school-box1 {
  width: 35%;
  border-left: 1px dotted #555;
  padding-left: 30px;
  font-size: 0.9rem;
}
.school-box1 img {
  width: 100%;
}
.school-box2 {
  margin: 0;
  padding: 0;
  width: 58%;
}

.main-text {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: justify;
}
.sub-text {
  padding-top: 1rem;
  text-align: justify;
}

.school-midashi {
  width: 100%-1.2rem;
  margin: 1em 0 0.5em 0;
  padding: 0.2em 0.4em 0.3em 0.6em;
  border: none;
  border-radius: 0 0 0.5rem 0.5rem;
  background-color: #1d8f49;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.5;
}
.schooltext {
  font-size: 0.9rem;
  line-height: 1.3;
}
.school-tab {
  font-size: 0.85em;
  font-weight: 600;
  border-left: 5px solid #1d8f49;
  background-color: #cdcdcd;
  text-indent: 0.5rem;
  padding: 0.2rem 0 0.4rem 0;
}
.school-tab-txt {
  text-align: justify;
  line-height: 1.3rem;
  margin: 0;
  padding: 0.7rem 0 1rem 0;
}

.bunya {
  font-size: 0.8rem;
  line-height: 1.2rem;
}
.button-item {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
  width: 100%;
  height: 3rem;
}
.button-item li {
  text-align: center;
  /*border: 2px solid orangered;*/
  margin: auto 0;
  padding: 0;
  flex: 1;
}
.button-item li:not(:last-child) {
  margin-right: 1%;
}
.button-item li a {
  display: block;
  text-decoration: none;
  line-height: 3rem;
  color: #fff;
  font-size: 0.9rem;
}
.bluebg {
  background-color: rgb(57, 170, 240);
  border-radius: 3px;
  height: 3rem;
}
.greenbg {
  background-color: rgb(3, 169, 36);
  border-radius: 3px;
  height: 3rem;
}
.pinkbg {
  background-color: rgb(246, 102, 169);
  border-radius: 3px;
  height: 3rem;
}

.list-container {
  width: 960px;
  margin: 1rem auto 0 auto;
  padding: 15px 20px 20px 20px;
  border-top: 5px solid #1d8f49;
  border-left: 1px solid #1d8f49;
  border-right: 1px solid #1d8f49;
  border-bottom: 1px solid #1d8f49;
}

.school-list-name {
  font-size: 1.8rem;
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8rem;
  margin-top: 5px;
}

.list-name-box {
  display: flex;
  align-items: center;
}

.list-category {
  font-size: 0.9rem;
  line-height: 1;
  margin: 0;
  padding-left: 2.5%;
}

.list-memo {
  font-size: 0.8rem;
  line-height: 1;
  margin-top: 0.5rem;
}

.school-info {
  width: 100%;
  display: flex;
  border-top: dotted 1px #555;
  margin-top: 1rem;
  padding-top: 1rem;
}

.school-text {
  width: 67%;
  margin-right: 5%;
  padding-left: 2.5%;
  position: relative;
}

.school-text-01 {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: justify;
}

.school-text-02 {
  position: absolute;
  bottom: 0px;
}

.school-list-photo {
  width: 28%;
  text-align: right;
}

.school-list-photo img {
  width: 100%;
  margin-bottom: 10px;
}

.postage,
.field {
  font-size: 0.9rem;
  line-height: 1.5;
}
.school-detail {
  margin-top: 5px;
  line-height: 1.5;
}
}