* {
  padding: 0;
  margin: 0;
}

.container {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow-x: hidden;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 100vw;
  grid-template-rows: repeat(6, min-content);
  grid-gap: 0rem;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 950px) {
  .container {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow-x: hidden;
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 100vw;
    grid-template-rows: repeat(6, min-content);
    grid-gap: 0rem;
    padding: 0;
    margin: 0;
  }
}

/*  --- HEADER ---  */

.header {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 0;
    width: 100%;
    aspect-ratio: 1920 / 614;
}

@media screen and (max-width: 950px) {
  .header {
    aspect-ratio: 1920 / 1080;
  }
}

/*  --- BODY ---  */

.title {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  width: 95%;
  padding-top: 60px;
  padding-bottom: 0px;
  padding-left: 2.5%;
  padding-right: 2.5%;
  text-align: center;
  color: #005999;
  font-family: 'Noto Sans JP', sans-serif;
  text-shadow: 2px 2px 4px grey;
  font-size: 35px;
  font-weight: 300;
  overflow: hidden;
  z-index: 1;
}

@media screen and (max-width: 950px) {
  .title {
    display: none;
  }
}

.titlemobile {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  text-align: left;
  padding-left: 2.5%;
  padding-right: 2.5%;
  color: #005999;
  font-family: 'Noto Sans JP', sans-serif;
  text-shadow: 2px 2px 4px grey;
  font-size: 32px;
  font-weight: 300;
  overflow: hidden;
  z-index: 0;
  margin-top: 30px;
  display: none;
}

@media screen and (max-width: 950px) {
  .titlemobile {
    display: block;
  }
}

.welcometext {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    color: black;
    width: 94vw;
    padding-top: 50px;
    padding-bottom: 0px;
    padding-left: 3vw;
    padding-right: 3vw;
    text-align: center;
    line-height: 200%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 14pt;
    z-index: 1;
}

@media screen and (max-width: 1650px) {
  .welcometext {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    color: black;
    width: 94vw;
    padding-top: 50px;
    padding-bottom: 0px;
    padding-left: 3vw;
    padding-right: 3vw;
    text-align: center;
    line-height: 200%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 11pt;
    z-index: 1;
  }
}

@media screen and (max-width: 950px) {
  .welcometext {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    color: black;
    width: 94vw;
    text-align: left;
    line-height: 200%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 11pt;
    z-index: 1;
    padding-top: 20px;
    padding-bottom: 0px;
    padding-left: 3vw;
    padding-right: 3vw;
  }
}


/*  --- LINE ---  */

.line {
    position: relative;
    grid-column: 1;
    grid-row: 4;
    width: 80vw;
    height: 2px;
    margin-top: 50px;
    margin-bottom: 0px;
    margin-left: 10vw;
    margin-right: 10vw;
    background-color: #005999;
    z-index: 1;
}

@media screen and (max-width: 950px) {
  .line {
    margin-top: 45px;
  }
}


/*  --- ABOUT ---  */

.about {
    position: relative;
    grid-column: 1;
    grid-row: 5;
    height: min-content;
    width: auto;
    padding-top: 20px;
    padding-bottom: 0px;
    padding-left: 0vw;
    padding-right: 0vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 380px 140px;
    margin: 0;
    z-index: 0;
}

@media screen and (max-width: 950px) {
    .about {
      position: relative;
      height: min-content;
      display: grid;
      grid-template-columns: 100vw;
      grid-template-rows: 350px 200px 310px;
      grid-gap: 0rem;
      margin: 0;
      padding: 0;
      z-index: 0;
    }
}

.picture {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 1;
  left: 180px;
  top: 0;
  z-index: 0;
}

@media screen and (max-width: 1650px) {
  .picture {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    z-index: 1;
    left: 220px;
    top: 22
  }
}

@media screen and (max-width: 950px) {
  .picture {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    left: 0;
    top: 0;
  }
}

.pictureimg {
  position: absolute;
  left: calc(100% - 510px);
  margin-top: 30px;
  height: 275px;
  width: auto;
  z-index: 0;
}

@media screen and (max-width: 1650px) {
  .pictureimg {
    position: absolute;
    left: calc(100% - 510px);
    margin-top: 30px;
    height: 250px;
    width: auto;
    z-index: 0;
  }
}

@media screen and (max-width: 950px) {
  .pictureimg {
    position: absolute;
    padding-top: 20px;
    left: calc(50% - 95px);
    height: 250px;
  }
}

.picturetxt {
  position: absolute;
  width: 200px;
  margin-top: 310px;
  left: calc(100% - 510px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 9pt;
  z-index: 0;
}

@media screen and (max-width: 1650px) {
  .picturetxt {
    position: absolute;
    width: 200px;
    margin-top: 285px;
    left: calc(100% - 510px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 9pt;
    z-index: 0;
  }
}

@media screen and (max-width: 950px) {
  .picturetxt {
    position: absolute;
    width: 232px;
    text-align: center;
    padding-top: 20px;
    left: calc(50% - 120px);
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 9pt;
    z-index: 0;
  }
}

.resume {
  grid-row: 1;
  grid-column: 2;
  position: relative;
  margin-top: 60px;
  left: -50px;
  color: black;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  line-height: 270%;
}

@media screen and (max-width: 1650px) {
  .resume {
    grid-row: 1;
    grid-column: 2;
    position: relative;
    margin-top: 55px;
    left: -50px;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 10.5pt;
    line-height: 290%;
  }
}

@media screen and (max-width: 1119px) {
  .resume {
    grid-row: 1;
    grid-column: 2;
    position: relative;
    margin-top: 40px;
    left: -50px;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 10.5pt;
    line-height: 270%;
  }
}

@media screen and (max-width: 950px) {
  .resume {
    grid-row: 2;
    grid-column: 1;
    position: absolute;
    text-align: center;
    left: 3%;
    width: 94%;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 0;
    padding-top: 10px;
    line-height: 200%;
    font-weight: 300;
    font-size: 10.5pt;
  }
}

.message {
  grid-row: 2;
  grid-column-start: 1;
  grid-column-end: 3;
  position: relative;
  top: 0px;
  left: 3%;
  width: 94%;
  text-align: center;
  color: black;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 14pt;
  line-height: 180%;
  z-index: 0;
}

@media screen and (max-width: 1650px) {
  .message {
    grid-row: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    position: relative;
    margin-top: -35px;
    left: 3%;
    width: 94%;
    text-align: center;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 11pt;
    line-height: 180%;
    z-index: 0;
  }
}

@media screen and (max-width: 950px) {
  .message {
    grid-row: 3;
    grid-column: 1;
    position: absolute;
    margin-top: 0;
    padding-top: 80px;
    left: 3%;
    width: 94%;
    text-align: center;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 10.5pt;
    z-index: 0;
  }
}


/*  --- FOOTER ---  */

.footer {
    position: relative;
    grid-column: 1;
    grid-row: 6;
    z-index: 0;
    width: 100%;
}


*::-webkit-scrollbar {
  display: none;
}
body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}
