/* codes
information
background:#FFEFCD(yelloish)RGB(255, 239, 205)
font:#304340(dark-green-blackish)
main:#22733F(green) RGB(34, 115, 63)
accent:E09132(orange) RGB(224, 145, 50)
*/

/* note lines */
main {
  width: 97vw;
  margin-left: 1.2vw;
  margin-right: 1.2vw;
  margin-bottom: -1px;
  padding: 0;
  background-image: linear-gradient(
      90deg,
      rgba(34, 115, 63, 0.3) 0%,
      rgba(34, 115, 63, 0.3) 5%,
      transparent 0%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(34, 115, 63, 0.2) 2px, transparent 1px); /* line setting  */
  background-size: 2em 100%, 100% 2em; /* line height */
  line-height: 2em; /* character height */
  position: relative;
  top: -1px;
  height: 126em;
}

.intoroduction {
  padding-top: 61px;
  width: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.introduction_contents {
  display: flex;
}
.intoroduction p:first-child {
  margin-top: 2.3em;
}
.intoroduction p {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  width: 78%;
}
.intoroduction img {
  margin-top: -80px;
  margin-right: -80px;
  position: absolute;
  top: 30%;
  right: 3%;
  height: 30em;
  transform: rotate(6deg);
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
}
.history {
  width: 50%;
  position: absolute;
  top: 38em;
  left: 50%;
  transform: translate(-50%, 0);
}
.history dl {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  height: 300px;
  border-left: 3px solid #304340;
  position: relative;
  left: 54%;
  transform: translate(-50%, 0);
}
.history dt::before {
  display: inline-block;
  margin: 0px 9px 0 8px;
  width: 15px;
  height: 15px;
  content: "";
  border-radius: 100%;
  background: #304340;
  vertical-align: middle;
}
.history dt {
  margin-left: -17px;
  margin-right: 10px;
  width: 30%;
  padding-bottom: 20px;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.history dd {
  width: 70%;
  padding-bottom: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
/* contact_button */
.contact_button--1 {
  position: relative;
}
.contact_button--1 img {
  height: 9em;
  position: absolute;
  top: 60em;
  left: 14em;
}

/* ---------------
TECHINICAL SKILLS 
------------------*/
.skills {
  position: absolute;
  top: 70em;
  left: 50%;
  transform: translate(-50%, 0);
  width: 50%;
}
.skill_stickers {
  margin-top: 33px;
  height: 200px;
}
.skill_stickers img {
  width: 100px;
  margin-left: 2px;
  margin-right: 2px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
}
.group-1 {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.group-2 {
  display: flex;
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, 0);
}
.php {
  opacity: 0;
}
/*---------
 last_section 
-------------*/
/* language */
.last_section {
  width: 50%;
  height: 300px;
  display: flex;
  position: absolute;
  top: 90.5em;
  left: 50%;
  transform: translate(-50%, 0);
}
.language {
  width: 45%;
  margin-top: 87px;
  position: absolute;
  left: 0%;
}
.language img {
  width: 195px;
  padding-left: 5px;
  margin-top: 1.5px;
}
.language table {
  display: table-cell;
  line-height: 3.5px;
  padding-top: 3.5px;
}
.language td {
  vertical-align: middle;
  padding-top: 28px;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 600;
}
/* interest */
.interest {
  width: 45%;
  margin-top: 89px;
  position: absolute;
  right: 0%;
  text-align: center;
}
.interest ul {
  display: flex;
  margin-top: 30px;
  list-style: none;
  position: absolute;
  left: 60%;
  transform: translate(-50%, 0);
  text-align: left;
}
.interest li::before {
  display: inline-block;
  margin: 0px 6px 0 10px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 100%;
  background: #304340;
  vertical-align: middle;
}
.interest li {
  display: inline-block;
  width: 150px;
  white-space: nowrap;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 600;
}
/* contact_button */
.contact_button--2 {
  position: relative;
}
.contact_button--2 img {
  position: absolute;
  top: 112em;
  left: 60vw;
  height: 9em;
}

.contact_button--1:hover img,
.contact_button--2:hover img {
  display: inline-block;
  animation: plane 1s infinite;
}
@keyframes plane {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  50% {
    transform: translate(4px, -8px) rotateZ(2deg);
  }
  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}

/* -------------------
ipad landscape
------------------- */

@media screen and (max-width: 1280px) {
  .intoroduction {
    width: 65%;
  }
  .intoroduction p {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2em;
    width: 70%;
  }
  .intro-br {
    display: none;
  }
  .history {
    width: 70%;
  }
  .contact_button--1 img {
    height: 9em;
    position: absolute;
    top: 60em;
    left: 8em;
  }
}

/* ----------------
ipad portrate
----------------- */

@media (max-width: 835px) {
  main {
    width: 96vw;
    margin-left: 1vw;
    margin-right: 1.4vw;
  }
  .intoroduction {
    width: 80%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .intro-br {
    display: none;
  }
  .intoroduction_p {
    margin-top: 2.3em;
  }
  .intoroduction p {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    width: 65%;
  }
  .intoroduction img {
    position: absolute;
    margin-top: -80px;
    right: 10%;
    transform: translate(50%, 0);
    height: 28em;
    transform: rotate(6deg);
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }
  .history {
    width: 90%;
    position: absolute;
    top: 38em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .history dt {
    margin-left: -17px;
    margin-right: 10px;
    width: 30%;
    padding-bottom: 20px;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 14px;
  }
  /* contact_button */
  .contact_button--1 {
    position: relative;
  }
  .contact_button--1 img {
    height: 9em;
    position: absolute;
    top: 60em;
    left: 0%;
  }
  .skills {
    position: absolute;
    top: 72em;
    left: 50%;
    transform: translate(-50%, 0);
    width: 80%;
  }
  .skill_stickers {
    margin-top: 33px;
    height: 200px;
  }
  .last_section {
    width: 90%;
    height: 300px;
    display: flex;
    position: absolute;
    top: 90.5em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .language td {
    vertical-align: middle;
    padding-top: 28px;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 600;
  }
  .interest li {
    display: inline-block;
    width: 130px;
    white-space: nowrap;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 600;
  }
  /* contact_button */
  .contact_button--2 {
    position: relative;
  }
  .contact_button--2 img {
    position: absolute;
    top: 112em;
    left: 50vw;
    height: 9em;
  }
}

/* ----------------
mobile
----------------- */
@media (max-width: 428px) {
  main {
    width: 95vw;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
    margin-bottom: -1px;
    padding: 0;
    background-image: linear-gradient(
        90deg,
        rgba(34, 115, 63, 0.3) 0%,
        rgba(34, 115, 63, 0.3) 5%,
        transparent 0%,
        transparent 100%
      ),
      linear-gradient(180deg, rgba(34, 115, 63, 0.2) 1px, transparent 1px); /* line setting  */
    background-size: 1.8em 100%, 100% 1.8em; /* line height */
    line-height: 1.8em; /* character height */
    position: relative;
    top: -1px;
    height: 126em;
  }
  .intoroduction {
    padding-top: 61px;
    width: 90%;
    height: 80vh;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .intoroduction h1 {
    margin-top: 25px;
    position: absolute;
    top: 0em;
    font-size: 28px;
    line-height: 32px;
  }
  .introduction_contents {
    display: flex;
    width: 87%;
  }
  .intoroduction_p {
    display: flex;
    flex-flow: column;
  }
  .intoroduction p:nth-child(1) {
    margin-top: 4.3em;
  }
  .intoroduction p:nth-child(2) {
    margin-top: 1.2em;
  }
  .intoroduction p {
    width: 90vw;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 22px;
  }
  .intoroduction p:last-child {
    width: 60%;
  }
  .intoroduction p:nth-child(3) {
    width: 60%;
  }
  .intoroduction img {
    position: absolute;
    margin-left: 5px;
    margin-right: 3px;
    top: 62%;
    right: 0;
    transform: translate(-100%, -100%);
    height: 43vh;
    transform: rotate(6deg);
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }
  .history {
    width: 90%;
    position: absolute;
    top: 40em;
    left: 50%;
    transform: translate(-50%, 0);
    line-height: 18px;
  }
  .history dl {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 152px;
    border-left: 2px solid #304340;
    position: relative;
    left: 52%;
    transform: translate(-50%, 0);
  }
  .history dt::before {
    display: inline-block;
    margin: 0px 3px 0 9.5px;
    width: 12px;
    height: 12px;
    content: "";
    border-radius: 100%;
    background: #304340;
    vertical-align: middle;
  }
  .history dt {
    margin-left: -17px;
    margin-right: 5px;
    width: 30%;
    padding-bottom: 1px;
    margin-bottom: 1px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0em;
    line-height: 12px;
  }

  .history dd {
    width: 70%;
    padding-bottom: 2px;
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 18px;
  }
  /* contact_button */
  .contact_button--1 {
    position: relative;
  }
  .contact_button--1 img {
    height: 25vw;
    position: absolute;
    top: 55em;
    left: 5%;
  }

  /* ---------------
  TECHINICAL SKILLS 
  ------------------*/
  .skills {
    position: absolute;
    top: 66.6em;
    left: 50%;
    transform: translate(-50%, 0);
    width: 95vw;
  }
  .skill_stickers {
    margin-top: 35px;
    height: 160px;
  }
  .skill_stickers img {
    width: 55px;
    margin-left: 1px;
    margin-right: 1px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }
  .group-1 {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .group-2 {
    display: flex;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .php {
    opacity: 0;
  }
  /*---------
   last_section 
  -------------*/
  /* language */
  .last_section {
    width: 95vw;
    height: 300px;
    display: flex;
    position: absolute;
    top: 79.1em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .language {
    width: 85%;
    margin-top: 87px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .language img {
    width: 55vw;
    padding-left: 5px;
    margin-top: 1.5px;
  }
  .language table {
    display: table-cell;
    line-height: 3.5px;
    padding-top: 12px;
  }
  .language td {
    vertical-align: middle;
    padding-top: 14px;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 600;
  }
  /* interest */
  .interest {
    width: 95vw;
    position: absolute;
    left: 50%;
    top: 18em;
    transform: translate(-50%, 0);
    text-align: center;
  }
  .interest ul {
    display: flex;
    margin-top: 30px;
    list-style: none;
    position: absolute;
    left: 60%;
    transform: translate(-50%, 0);
    text-align: left;
  }
  .interest li::before {
    display: inline-block;
    margin: 0px 6px 0 0px;
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 100%;
    background: #304340;
    vertical-align: middle;
  }
  .interest li {
    display: inline-block;
    width: 150px;
    white-space: nowrap;
    letter-spacing: 0.2em;
    font-size: 14px;
    font-weight: 600;
  }
  /* contact_button */
  .contact_button--2 {
    position: relative;
  }
  .contact_button--2 img {
    position: absolute;
    top: 117em;
    left: 5%;
    height: 25vw;
  }
}
