@charset "utf-8";

/* base */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 4.5vw;
  list-style: none;
  text-decoration: none;
  font-weight: normal;
}

@media (min-width: 768px) {

  *,
  *::after,
  *::before {
    font-size: 35px;
  }
}

body {
  max-width: 768px;
  margin: 0 auto;
  color: #444;
}

.base {
  background-image: linear-gradient(90deg, rgba(230, 230, 230, 1), rgba(255, 58, 201, 0)50%, rgba(230, 230, 230, 1));
}

img {
  width: 100%;
  height: auto;
}

a {
  color: #444;
}

/* style */
.header {
  width: 100%;
  padding: 10px 0;
  background-image: linear-gradient(90deg, rgba(187, 255, 239, 1), rgba(236, 237, 203, 1) 34%, rgba(248, 227, 183, 1) 72%, rgba(255, 155, 252, 1) 97%);
  background-image: linear-gradient(90deg, rgba(48, 53, 97, 1),rgba(194, 57, 248, 1) 50%, rgba(48, 53, 97, 1)) !important;
}

.header__logo {
  width: 60%;
  margin: 0 auto;
}

.main {
  margin-bottom: 21vw;
}

@media (min-width: 614px) {
  .main {
    margin-bottom: 128px;
  }
}

.mail__sender {
  text-align: center;
}

.mail__contents {
  width: 95%;
  margin: 50px auto 0;
  background-color: #fff;
  border: 1px solid #000;
  padding: 30px;
}

.mail__subject {
  text-align: center;
  font-weight: bold;
  padding-bottom: 30px;
  border-bottom: 1px solid #000;
  font-size: 3.5vw;
}

.mail__text {
  margin-top: 30px;
  font-size: 3.5vw;
}

.reply__container {
  width: 95%;
  margin: 20% auto 0;
}

.reply__title {
  font-weight: bold;
  text-align: center;
}

.reply__contents {
  margin-top: 30px;
}

.reply__subject {
  display: block;
  font-weight: bold;
  font-size: 3.5vw;
}

.reply__input {
  width: 100%;
  resize: none;
  box-sizing: border-box;
  border: none;
  background-color: #fff;
  text-align: left;
  margin: 5% auto;
  padding: 3%;
  border: 1px solid #000;
  font-size: 3.5vw;
}

.reply__text {
  display: block;
  font-size: 3.5vw;
  font-weight: bold;
}

.reply__textarea {
  text-align: center;
}

.reply__textarea textarea {
  width: 100%;
  height: 13em;
  resize: none;
  box-sizing: border-box;
  border: none;
  color: #000;
  background-color: #fff;
  text-align: left;
  margin: 5% auto;
  padding: 3%;
  border: 1px solid #000;
  font-size: 3.5vw;
}

.reply__send {
  display: block;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px 0;
  border-radius: 10px;
  border: 1px solid #000;
  cursor: pointer;
}

.reply__button {
  margin: 50px 0 10%;
}

.reply__back {
  display: block;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  text-align: center;
  padding: 20px 0;
  border: 1px solid #000;
  border-radius: 10px;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 768px;
  text-align: center;
  height: 23vw;
  max-height: 142px;
}

.footer__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
}

.footer__item {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(229, 229, 229, 1) 0%, rgba(205, 205, 205, 1) 100%);
  border-right: solid 1px rgba(0, 0, 0, 0.3);
  border-bottom: solid 1px rgba(0, 0, 0, 0.3);
  border-top: solid 1px #fff;
  border-left: solid 1px #fff;
}

.footer__link {
  display: block;
  width: 100%;
  font-weight: bold;
}

.footer__icon {
  width: 30%;
  margin: 0 auto;
}

@media (min-width:768px) {
  .mail__subject,.mail__text,.reply__subject,.reply__text,.reply__input,.reply__textarea textarea {
    font-size: 26px;
  }
}
