/* 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)
*/

body {
  background-size: 100%;
  background-position: top;
}
/* ------------
note lines 
----------------*/
main {
  width: 95vw;
  margin-top: 2.5em;
  margin-left: 2vw;
  margin-right: 2.5vw;
  margin-bottom: 1em;
  padding: 0;
  background-image: linear-gradient(
    180deg,
    rgba(34, 115, 63, 0.6) 1px,
    transparent 1px
  ); /* line setting  */
  background-size: 100% 2.5em; /* line height */
  line-height: 2.5em; /* character height */
  position: relative;
  height: 200em;
}

/*----------------
 fv 
 ----------------*/
#fv {
  width: 100%;
  height: 80vh;
  position: absolute;
}
.title {
  width: 100%;
  text-align: center;
  position: absolute;
  margin-top: 12.1em;
  left: 50%;
  transform: translate(-50%, 0);
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.title p {
  margin-top: 1.8em;
  font-size: 18px;
  letter-spacing: 0.5em;
  line-height: 2.5em;
}
.title p span {
  display: inline-block;
}
.logo {
  animation-name: fadeInAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-delay: 2s;
  opacity: 0;
}
.lang {
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-delay: 4.5s;
  opacity: 0;
}
.header_nav {
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-delay: 3s;
  opacity: 0;
}

.scroll img {
  height: 25vh;
  position: absolute;
  bottom: 3%;
  left: 5%;
  transform: translate(-50%, 0);
}
/* --------------
writing-animation
---------------- */
.writing-animation span {
  opacity: 0;
}
h2.writing-animation.appeartext span {
  animation: text_anime_on 0.8s ease forwards;
}
@keyframes text_anime_on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*---------------
 SERVICE 
 ----------------*/
.service {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 45em;
}

.service_contents {
  margin-top: 42px;
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.bracket {
  position: relative;
  left: 0;
  top: 3px;
  height: 155px;
}
.service_contents ul {
  list-style: none;
}
.service_contents li:before {
  content: "";
  width: 3px;
  height: 3px;
  display: inline-block;
  background-color: #304340;
  border-radius: 50%;
  position: relative;
  top: -4px;
  margin-right: 10px;
}
.service_contents li {
  font-size: 16px;
  letter-spacing: 0.5em;
  line-height: 40px;
  white-space: nowrap;
}
.service_contents li span {
  font-size: 14px;
  letter-spacing: 0.2em;
}
.menu_button {
  width: 200px;
  position: absolute;
  left: 57%;
  top: 12.5em;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
}
/* hover */
.menu_button:hover {
  display: inline-block;
  animation: buru-buru 0.8s infinite;
}

/*------------
 SERVICE FLOW
 ------------- */
.serviceflow {
  position: absolute;
  top: 80em;
  left: 50%;
  transform: translate(-50%, 0);
  height: 100vh;
}
.serviceflow_contents {
  width: 100%;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
}
.serviceflow_contents {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
}
.serviceflow_contents section {
  width: 300px;
  text-align: center;
}
.serviceflow_contents img {
  width: 170px;
  margin-top: -5px;
}
.serviceflow_contents section p {
  margin-top: -18px;
  font-size: 14px;
  letter-spacing: normal;
  text-align: left;
}

/*---------------
 jump to contact 
 ----------------*/
.contact_button-1 {
  height: 20vh;
  position: absolute;
  left: 60%;
}
.contact_button-1 img {
  width: 23vw;
  position: absolute;
  bottom: 5%;
  left: 60%;
}
/* hover */
.contact_button-1 img:hover {
  display: inline-block;
  animation: plane 1.1s infinite;
}
@keyframes plane {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  50% {
    transform: translate(4px, -5px) rotateZ(2deg);
  }
  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}
/*--------------------
 Columns
 --------------------- */
.column {
  display: flex;
  width: 60%;
  position: absolute;
  top: 132.5em;
  left: 50%;
  transform: translate(-50%, 0);
  height: 100vh;
}
.column img {
  width: 16vw;
  margin-top: 12px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
}

.aboutme {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.works {
  position: absolute;
  top: 10em;
  left: 0;
}
.menu {
  position: absolute;
  top: 10em;
  right: 0;
}

/* hover */
.works img,
.aboutme img,
.menu img {
  transition: all 0.8s;
}
.works-hover,
.aboutme-hover,
.menu-hover {
  margin-top: 20px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: transparent;
  transition: all 0.3s;
  transition-delay: 0.3s;
}
.aboutme-hover p,
.menu-hover p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 25px;
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  transition-delay: 0.35s;
  transition: all 0.3s;
}
.works-hover p {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 25px;
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  transition-delay: 0.35s;
  transition: all 0.3s;
}
.works:hover img,
.aboutme:hover img,
.menu:hover img {
  transform: scale(1.1);
}
.works-hover:hover,
.aboutme-hover:hover,
.menu-hover:hover {
  opacity: 1;
  color: #ffefcd;
}

/*--------------
contact me
----------------*/
.contactme {
  position: absolute;
  top: 172.5em;
  left: 50%;
  transform: translate(-50%, 0);
}
.contactme_contents {
  margin-top: 25px;
  text-align: center;
  height: 38vh;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 40vw;
}
.or {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
}
.contactform img {
  width: 17vw;
}
.instagram img {
  width: 7vw;
}
.contactform {
  position: absolute;
  top: 5%;
  left: 0%;
}
.instagram {
  position: absolute;
  top: 10%;
  left: 55%;
  transform: translate(50%, 0);
}
.contactform p {
  line-height: 35px;
  font-size: 16px;
  position: absolute;
  top: 10.3em;
  left: 55%;
  transform: translate(-50%, 0);
  white-space: nowrap;
}
.instagram p {
  position: absolute;
  top: 9.5em;
  line-height: 35px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
/* hover */
.contactform img:hover {
  display: inline-block;
  animation: plane 1.1s infinite;
}

.instagram img:hover {
  display: inline-block;
  animation: buru-buru 0.8s infinite;
}
@keyframes buru-buru {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  25% {
    transform: translate(-2px, 0px) rotateZ(-3deg);
  }
  50% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
  75% {
    transform: translate(2px, 0px) rotateZ(3deg);
  }
  100% {
    transform: translate(0px, 0px) rotateZ(0deg);
  }
}
/* -------------------
ipad landscape
------------------- */

@media screen and (max-width: 1280px) {
  .column {
    width: 80%;
  }
  .column img {
    width: 24vw;
    margin-top: 12px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }
}
/* ----------------
max-width: 835px
----------------- */
@media (max-width: 835px) {
  main {
    height: 207.5em;
  }
  /* serviceflow */
  .serviceflow {
    width: 80vw;
  }
  .serviceflow_contents {
    margin-top: 40px;
    display: flex;
    flex-flow: column;
  }
  .serviceflow_contents section {
    width: 100%;
    text-align: center;
  }
  .serviceflow_contents img {
    width: 80px;
    margin-top: -5px;
  }
  .serviceflow_contents section p {
    margin-top: -18px;
    font-size: 14px;
    letter-spacing: normal;
    text-align: left;
  }
  /* h3 */
  .serviceflow_contents section:nth-child(1) h3 {
    position: absolute;
    left: 80px;
  }
  .serviceflow_contents section:nth-child(2) h3 {
    position: absolute;
    left: 80px;
    top: 11.2em;
  }
  .serviceflow_contents section:nth-child(3) h3 {
    position: absolute;
    left: 80px;
    top: 20em;
  }
  /* img */
  .serviceflow_contents section:nth-child(1) img {
    position: absolute;
    left: 0%;
    top: -1em;
  }
  .serviceflow_contents section:nth-child(2) img {
    position: absolute;
    left: 0%;
    top: 11.5em;
  }
  .serviceflow_contents section:nth-child(3) img {
    position: absolute;
    left: 0%;
    top: 21.3em;
  }
  /* p */
  .serviceflow_contents section:nth-child(1) p {
    position: absolute;
    left: 80px;
    top: 4.2em;
  }
  .serviceflow_contents section:nth-child(2) p {
    position: absolute;
    left: 80px;
    top: 18.5em;
  }
  .serviceflow_contents section:nth-child(3) p {
    position: absolute;
    left: 80px;
    top: 29.9em;
  }

  /* contact-button */
  .contact_button-1 {
    position: absolute;
    left: 60%;
    top: 32em;
  }
  .contact_button-1 img {
    width: 28vw;
    position: absolute;
    bottom: 5%;
    left: 60%;
  }
  /* column */
  .column {
    display: flex;
    width: 45%;
    position: absolute;
    top: 130em;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
  }
  .column img {
    width: 30vw;
    margin-top: 12px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }

  .aboutme {
    position: absolute;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .works {
    position: absolute;
    top: 22.5em;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .menu {
    position: absolute;
    top: 12.5em;
    right: 0%;
    transform: translate(50%, 0);
  }
  /* contact */
  .contactme {
    position: absolute;
    top: 180em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .contactme_contents {
    margin-top: 25px;
    text-align: center;
    height: 50vh;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 40vw;
  }
  .or {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
  }
  .contactform img {
    width: 30vw;
  }
  .instagram img {
    width: 12vw;
  }
  .contactform {
    position: absolute;
    top: 5%;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .instagram {
    position: absolute;
    top: 10%;
    left: 55%;
    transform: translate(50%, 0);
  }
  .contactform p {
    line-height: 35px;
    font-size: 16px;
    position: absolute;
    top: 10em;
    left: 55%;
    transform: translate(-50%, 0);
    white-space: nowrap;
  }
  .instagram p {
    position: absolute;
    top: 9.2em;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }
}
/* ----------------
ipad portrate
----------------- */

@media (orientation: portrait) and (max-width: 835px) {
  main {
    height: 290em;
  }
  /* service */
  .service {
    top: 70em;
  }
  /* serviceflow */
  .serviceflow {
    top: 130em;
    width: 80vw;
  }
  .serviceflow_contents {
    margin-top: 40px;
    display: flex;
    flex-flow: column;
  }
  .serviceflow_contents section {
    width: 100%;
    text-align: center;
  }
  .serviceflow_contents img {
    width: 80px;
    margin-top: -5px;
  }
  .serviceflow_contents section p {
    margin-top: -18px;
    font-size: 14px;
    letter-spacing: normal;
    text-align: left;
  }
  /* h3 */
  .serviceflow_contents section:nth-child(1) h3 {
    position: absolute;
    left: 80px;
  }
  .serviceflow_contents section:nth-child(2) h3 {
    position: absolute;
    left: 80px;
    top: 11.2em;
  }
  .serviceflow_contents section:nth-child(3) h3 {
    position: absolute;
    left: 80px;
    top: 20em;
  }
  /* img */
  .serviceflow_contents section:nth-child(1) img {
    position: absolute;
    left: 0%;
    top: -1em;
  }
  .serviceflow_contents section:nth-child(2) img {
    position: absolute;
    left: 0%;
    top: 11.5em;
  }
  .serviceflow_contents section:nth-child(3) img {
    position: absolute;
    left: 0%;
    top: 21.3em;
  }
  /* p */
  .serviceflow_contents section:nth-child(1) p {
    position: absolute;
    left: 80px;
    top: 4.2em;
  }
  .serviceflow_contents section:nth-child(2) p {
    position: absolute;
    left: 80px;
    top: 18.5em;
  }
  .serviceflow_contents section:nth-child(3) p {
    position: absolute;
    left: 80px;
    top: 29.9em;
  }

  /* contact-button */
  .contact_button-1 {
    position: absolute;
    left: 60%;
    top: 32em;
  }
  .contact_button-1 img {
    width: 28vw;
    position: absolute;
    bottom: 5%;
    left: 60%;
  }
  /* column */
  .column {
    display: flex;
    width: 45%;
    position: absolute;
    top: 192.5em;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
  }
  .column img {
    width: 30vw;
    margin-top: 12px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }

  .aboutme {
    position: absolute;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .works {
    position: absolute;
    top: 22.5em;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .menu {
    position: absolute;
    top: 12.5em;
    right: 0%;
    transform: translate(50%, 0);
  }
  /* contact */
  .contactme {
    position: absolute;
    top: 250em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .contactme_contents {
    margin-top: 25px;
    text-align: center;
    height: 50vh;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 40vw;
  }
  .or {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
  }
  .contactform img {
    width: 30vw;
  }
  .instagram img {
    width: 12vw;
  }
  .contactform {
    position: absolute;
    top: 5%;
    left: 0%;
    transform: translate(-50%, 0);
  }
  .instagram {
    position: absolute;
    top: 10%;
    left: 55%;
    transform: translate(50%, 0);
  }
  .contactform p {
    line-height: 35px;
    font-size: 16px;
    position: absolute;
    top: 10em;
    left: 55%;
    transform: translate(-50%, 0);
    white-space: nowrap;
  }
  .instagram p {
    position: absolute;
    top: 8em;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }
}

/* ----------------
mobile
----------------- */
@media (max-width: 428px) {
  main {
    height: 225em;
  }
  h3 {
    font-size: 30px;
  }
  /*----------------
 fv 
 ----------------*/
  #fv {
    width: 100%;
    height: 76vh;
    position: absolute;
  }
  .title {
    width: 100%;
    text-align: center;
    position: absolute;
    margin-top: 7.4em;
    left: 50%;
    transform: translate(-50%, 0);
    animation-name: fadeInAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    opacity: 0;
  }
  h1 {
    font-size: 38px;
    line-height: 41px;
  }
  .title p {
    margin-top: 2.5em;
    font-size: 16px;
    letter-spacing: 0.4em;
    line-height: 2.5em;
  }
  .title p span {
    display: inline-block;
  }

  /*---------------
 SERVICE 
 ----------------*/
  .service {
    width: 90%;
    height: 60vh;
    position: absolute;
    top: 40em;
  }

  .service_contents {
    margin-top: 42px;
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .bracket {
    position: relative;
    left: 10px;
    top: 7px;
    height: 135px;
  }
  .service_contents ul {
    list-style: none;
  }
  .service_contents li:before {
    content: "";
    width: 3px;
    height: 3px;
    display: inline-block;
    background-color: #304340;
    border-radius: 50%;
    position: relative;
    top: -4px;
    margin-right: 5px;
  }
  .service_contents li {
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 40px;
    font-weight: 600;
    white-space: nowrap;
  }
  .service_contents li span {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .menu_button {
    width: 150px;
    position: absolute;
    left: 57%;
    top: 12.5em;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }

  /*------------
 SERVICE FLOW
 ------------- */
  .serviceflow {
    top: 72.5em;
    width: 90vw;
  }
  .serviceflow_contents {
    margin-top: 40px;
    display: flex;
    flex-flow: column;
  }
  .serviceflow_contents section {
    width: 100%;
    text-align: center;
  }
  .serviceflow_contents h3 {
    font-size: 14px;
    font-weight: 700;
  }
  .serviceflow_contents img {
    width: 90px;
    margin-top: -5px;
  }
  .serviceflow_contents section p {
    margin-top: -18px;
    font-size: 14px;
    letter-spacing: normal;
    text-align: left;
    letter-spacing: 0em;
  }
  /* h3 */
  .serviceflow_contents section:nth-child(1) h3 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .serviceflow_contents section:nth-child(2) h3 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 22.8em;
  }
  .serviceflow_contents section:nth-child(3) h3 {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 43em;
  }
  /* img */
  .serviceflow_contents section:nth-child(1) img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 2.5em;
  }
  .serviceflow_contents section:nth-child(2) img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 22em;
  }
  .serviceflow_contents section:nth-child(3) img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 40em;
  }
  /* p */
  .serviceflow_contents section:nth-child(1) p {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 9.8em;
    width: 85vw;
  }
  .serviceflow_contents section:nth-child(2) p {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 33em;
    width: 85vw;
  }
  .serviceflow_contents section:nth-child(3) p {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 52.8em;
    width: 85vw;
  }

  /*---------------
 jump to contact 
 ----------------*/
  .contact_button-1 {
    position: absolute;
    left: 10%;
  }
  .contact_button-1 img {
    width: 150px;
    position: absolute;
    top: 28em;
    left: 10%;
  }

  /*--------------------
 Columns
 --------------------- */
  .column {
    display: flex;
    position: absolute;
    top: 150em;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
  }
  .column img {
    width: 120px;
    margin-top: 12px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  }
  .aboutme {
    position: absolute;
    left: 5%;
    transform: translate(-50%, 0);
  }
  .works {
    position: absolute;
    top: 22.5em;
    left: 5%;
    transform: translate(-50%, 0);
  }
  .menu {
    position: absolute;
    top: 12.5em;
    right: 0%;
    transform: translate(50%, 0);
  }

  /*--------------
contact me
----------------*/
  .contactme {
    position: absolute;
    top: 197.5em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .contactme_contents {
    margin-top: 25px;
    text-align: center;
    height: 38vh;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50vw;
  }
  .or {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
  }
  .contactform img {
    width: 150px;
  }
  .instagram img {
    width: 60px;
  }
  .contactform {
    position: absolute;
    top: 5%;
    left: 0%;
  }
  .instagram {
    position: absolute;
    top: 10%;
    left: 55%;
    transform: translate(50%, 0);
  }
  .contactform p {
    line-height: 35px;
    font-size: 16px;
    position: absolute;
    top: 8em;
    left: 55%;
    transform: translate(-50%, 0);
    white-space: nowrap;
  }
  .instagram p {
    position: absolute;
    top: 7.2em;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
  }
}
