* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    box-sizing: border-box;
    color: #ffffff;
    
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    list-style-type: none;
    color: #ffffff;
    text-shadow: .2rem .2rem #000086;
}

h5 {
  text-align: center;
  color: lightsalmon;
}

h6 {
  text-align: center;
  color: lightgreen;
}
  
@media only screen and (max-width: 600px) {

  body {
      font-size: 1.4rem;
      text-shadow: .2rem .2rem #000086;
      min-width: 600px;
      background-color: #7c98ca;
      background-image: url("../images/mobile/w_bg_snow_mobile.webp");
      background-size: cover;
    }

  .top {
    border-top: .04rem solid #000086;
    border-bottom: .04rem solid #000086;
    margin-bottom: 0.5rem;
  }

  .top #top1 {
    display: inline;
    text-align: left;
    padding-right: 10rem;
  }

  .top #top2 {
    display: inline;
    text-align: right;
  }
  
  ul {
    width: 100%;
    background-color: #000086;
    text-align: center;
    margin-bottom: .4rem;
    border-radius: 10px;
  }

  ul li {
    list-style-type: none;
    display: block;
  }

  ul li a {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    padding: .5rem .5rem;
  }

  ul li a:hover {
    background-color: #134f27;
  }
  
  .time {
    text-align: left;
    margin-bottom: .4rem;
  }

  .content {
    display: flex;
  }

  main {
    width: 68%;
  }

  aside {
    width: 30%;
    float: right;
    text-align: center;
    padding-right: 1.4rem;
  }

  .portfolio img {
    border-radius: 10px;
    border: .1rem solid grey;
  }

  form {
    backdrop-filter: blur(5px);
    border: .02rem solid #f3f3f3;
    margin-bottom: 1.4rem;
  }

  label {
    display: block;
    text-align: left;
    padding-left: 5%;
  }

  form input {
    border-radius: 10px;
    font-size: 1.4rem;
  }

  form .type {
    display: inline;
  }

  form input[type=text], form input[type=email], form input[type=password] {
    width: 95%;
    text-align: left;
    font-size: 1.4rem;
    height: 1.7rem;
  }

  textarea {
    width: 95%;
    height: 5.6rem;
    resize: none;
    border-radius: 10px;
    text-align: left;
    font-size: 1.4rem;
    color: #000;
  }

  #t_button {
    width:8rem;
    padding: .5rem 1rem;
    border-radius: 10px;
    color: #134f27;
    margin: 1.4rem;
  }

  .tip {
    padding: 1.4rem;
    background-color: #134f27;
    text-align: center;
    border-radius: 10px;
    border: .1rem solid grey;
    margin: 1rem;
  }

  .thn {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 1.4rem;
  }

  .thn img {
    border-radius: 10px;
    border: .1rem solid grey;
  }

  .fr img {
    border-radius: 10px;
    border: .1rem solid grey;
  }

  .showcase img {
    border-radius: 10px;
    border: .2rem solid grey;
  }


  footer {
    margin-top: 1.4rem;
  }

}

@media only screen and (min-width:601px) {

  body {
      font-size: 1.5rem;
      text-shadow: .2rem .2rem #000086;
      min-width: 900px;
      background-color: #7c98ca;
      background-image: url("../images/tablet/w_bg_snow_tablet.webp");
      background-repeat: no-repeat;
      background-size: cover;
    }

  .top {
    border-top: .05rem solid #000086;
    border-bottom: .05rem solid #000086;
    margin-bottom: .5rem;
  }

  .top #top1 {
    display: inline;
    text-align: left;
    padding-right: 20rem;
  }

  .top #top2 {
    display: inline;
    text-align: right;
  }
  
  ul {
    list-style-type: none;
    background-color: #000086;
    border-radius: 10px;
    display: flex;
    justify-content: center;
  }

  ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    padding: .5rem .5rem;
  }

  ul li a:hover {
    background-color: #134f27;
  }
  
  .time {
    text-align: left;
    margin-bottom: .5rem;
  }

  .content {
    display: flex;
  }

  main {
    width: 68%;
  }

  aside {
    width: 30%;
    float: right;
    text-align: center;
    padding-left: 1.5rem;
  }

  .portfolio img {
    border-radius: 10px;
    border: .2rem solid grey;
  }

  form {
    backdrop-filter: blur(5px);
    border: .3rem solid #f3f3f3;
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    text-align: left;
    padding-left: 5%;
  }

  form input {
    border-radius: 10px;
    font-size: 1.5rem;
  }

  form .type {
    display: inline;
  }

  form input[type=text], form input[type=email], form input[type=password] {
    width: 95%;
    text-align: left;
    font-size: 1.5rem;
    height: 1.8rem;
  }

  textarea {
    width: 95%;
    height: 6rem;
    resize: none;
    border-radius: 10px;
    text-align: left;
    font-size: 1.5rem;
    color: #000;
  }

  #t_button {
    width:8.5rem;
    padding: .5rem 1.4rem;
    border-radius: 10px;
    color: #134f27;
    margin: 1.4rem;
  }
  .tip {
    padding: 1.5rem;
    background-color: #134f27;
    text-align: center;
    border-radius: 10px;
    border: .05rem solid grey;
    margin: 1rem;
  }

  .thn {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 1.5rem;
  }

  .thn img {
    border-radius: 10px;
    border: .2rem solid grey;
  }

  .fr img {
    border-radius: 10px;
    border: .2rem solid grey;
  }

  .showcase img {
    border-radius: 10px;
    border: .2rem solid grey;
  }

  footer {
    margin-top: 1.5rem;
  }

}

@media only screen and (min-width:901px) {

  body {
      font-size: 1.6rem;
      text-shadow: .2rem .2rem #000086;
      min-width: 1280px;
      background-color: #7c98ca;
      background-image: url("../images/tablet/w_bg_snow_tablet.webp");
      background-repeat: no-repeat;
      background-size: cover;
    }

  .top {
    border-top: .06rem solid #000086;
    border-bottom: .06rem solid #000086;
    margin-bottom: .6rem;
  }

  .top #top1 {
    display: inline;
    text-align: left;
    padding-right: 20rem;
  }

  .top #top2 {
    display: inline;
    text-align: right;
  }

  ul {
    list-style-type: none;
    background-color: #000086;
    border-radius: 10px;
    display: flex;
    justify-content: center;
  }

  ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    padding: .6rem .6rem;
  }

  ul li a:hover {
    background-color: #134f27;
  }
  
  .time {
    text-align: left;
    margin-bottom: .5rem;
  }

  .content {
    display: flex;
  }

  main {
    width: 68%;
  }

  aside {
    width: 30%;
    float: right;
    text-align: center;
    padding-right: 1.6rem;
  }

  .portfolio img {
    border-radius: 10px;
    border: .4rem solid grey;
  }

  form {
    backdrop-filter: blur(5px);
    border: .4rem solid #f3f3f3;
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    text-align: left;
    padding-left: 5%;
  }

  form input {
    border-radius: 10px;
    font-size: 1.6rem;
  }

  form .type {
    display: inline;
  }

  form input[type=text], form input[type=email], form input[type=password] {
    width: 95%;
    text-align: left;
    font-size: 1.6rem;
    height: 1.8rem;
    color: #000000;
  }

  textarea {
    width: 95%;
    height: 7.7rem;
    resize: none;
    border-radius: 10px;
    text-align: left;
    font-size: 1.6rem;
    color: #000;
  }

  #t_button {
    width:9rem;
    padding: .5rem 1.6rem;
    border-radius: 10px;
    color: #134f27;
    margin: 1.6rem;
  }
  .tip {
    padding: 1.6rem;
    background-color: #134f27;
    text-align: center;
    border-radius: 10px;
    border: .4rem solid grey;
    margin-bottom: 1.6rem;
  }

  .thn {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 1.6rem;
  }

  .thn img {
    border-radius: 10px;
    border: .3rem solid grey;
  }

  .fr img {
    border-radius: 10px;
    border: .4rem solid grey;
  }

  .showcase img {
    border-radius: 10px;
    border: .4rem solid grey;
  }

  footer {
    margin-top: 1.6rem;
  }

}

@media only screen and (min-width:1281px) {

  body {
      font-size: 2rem;
      text-shadow: .2rem .2rem #000086;
      min-width: 2000px;
      background-color: #7c98ca;
      background-image: url("../images/tablet/w_bg_snow_tablet.webp");
      background-repeat: no-repeat;
      background-size: cover;
    }

  .top {
    border-top: .08rem solid #000086;
    border-bottom: .08rem solid #000086;
    margin-bottom: 1rem;
  }

  .top #top1 {
    display: inline;
    text-align: left;
    padding-right: 40rem;
  }

  .top #top2 {
    display: inline;
    text-align: right;
  }

  ul {
    list-style-type: none;
    background-color: #000086;
    border-radius: 10px;
    display: flex;
    justify-content: center;
  }

  ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    padding: .8rem .8rem;
  }

  ul li a:hover {
    background-color: #134f27;
  }
  
  .time {
    text-align: left;
    margin-bottom: .8rem;
  }

  .content {
    display: flex;
  }

  main {
    width: 68%;
  }

  aside {
    width: 30%;
    float: right;
    text-align: center;
    padding-right: 2rem;
  }

  .portfolio img {
    border-radius: 10px;
    border: .5rem solid grey;
  }

  form {
    backdrop-filter: blur(5px);
    border: .5rem solid #f3f3f3;
    margin-bottom: 2rem;
  }

  label {
    display: block;
    text-align: left;
    padding-left: 5%;
  }

  form input {
    border-radius: 10px;
    font-size: 2rem;
  }

  form .type {
    display: inline;
  }

  form input[type=text], form input[type=email], form input[type=password] {
    width: 95%;
    text-align: left;
    font-size: 2rem;
    height: 2.4rem;
  }

  textarea {
    width: 95%;
    height: 8rem;
    resize: none;
    border-radius: 10px;
    text-align: left;
    font-size: 2rem;
    color: #000;
  }

  #t_button {
    width:10rem;
    padding: .6rem 2rem;
    border-radius: 10px;
    color: #134f27;
    margin: 2rem;
  }
  .tip {
    padding: 2rem;
    background-color: #134f27;
    text-align: center;
    border-radius: 10px;
    border: .5rem solid grey;
    margin-bottom: 2rem;
  }

  .thn {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 2rem;
  }

  .thn img {
    border-radius: 10px;
    border: .5rem solid grey;
  }

  .fr img {
    border-radius: 10px;
    border: .5rem solid grey;
  }

  .showcase img {
    border-radius: 10px;
    border: .5rem solid grey;
  }

  footer {
    margin-top: 2rem;
  }
}