@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

/* class list */

.flex {
  display: flex;
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.gap-1em {
  gap: 1em;
}

.gap-2em {
  gap: 2em;
}

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.en {
  font-family: "Bungee", "Chango", sans-serif;
}

.a {
  text-decoration: none;
}


/* variable list */

:root {
  --main_color: #5f7f6e;
  --sub_color: #f0f4f3;
  --font_normal: #181F1B;
  --font_attention: #b81a3e;
}



/* ##   ##  #######    ##     #####    #######  ######   ******************************************************
/* ##   ##   ##   #   ####     ## ##    ##   #   ##  ##  ******************************************************
/* ##   ##   ## #    ##  ##    ##  ##   ## #     ##  ##  ******************************************************
/* #######   ####    ##  ##    ##  ##   ####     #####   ******************************************************
/* ##   ##   ## #    ######    ##  ##   ## #     ## ##   ******************************************************
/* ##   ##   ##   #  ##  ##    ## ##    ##   #   ##  ##  ******************************************************
/* ##   ##  #######  ##  ##   #####    #######  #### ##  *****************************************************/


#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--font_normal);
}


header {
  padding: 0 10%;
  height: 120px;
  background: var(--main_color);
}

header a {
  color: var(--sub_color);
  text-decoration: none;
}

header a:hover {
  text-decoration: dotted;
}

.logo {
  font-size: 36px;
  color: var(--sub_color);
}

nav a {
  font-size: 32px;
  display: inline-block;
  position: relative;
}

nav a::after {
  background: var(--sub_color);
  bottom: -4px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scale( 0, 1 );
  transform-origin: righ top;
  transition: transform .3s;
  width: 100%;
}

nav a:hover::after {
  transform-origin: left top;
  transform: scale( 1, 1 );
}

nav ul {
  list-style: none;
}

header .material-symbols-outlined {
  display: none;
  color: var(--main_color);
  background: var(--sub_color);
  border-radius: 10px;
  padding: 6px;
  font-size: 24px;
  z-index: 1000;
}



/* ##   ##    ##      ####    ##   ##   ************************************************************************
/* ### ###   ####      ##     ###  ##   ************************************************************************
/* #######  ##  ##     ##     #### ##   ************************************************************************
/* #######  ##  ##     ##     ## ####   ************************************************************************
// ## # ##  ######     ##     ##  ###   ************************************************************************
// ##   ##  ##  ##     ##     ##   ##   ************************************************************************
// ##   ##  ##  ##    ####    ##   ##   ***********************************************************************/

main {
  font-family: 'M PLUS 2', 'Meiryo UI','ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
  color: var(--font_normal);

}

#contents-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* sectionの左右の余白 */
#about, 
#work_history,
#skill,
#certificate {
  width: 880px;
  margin: 0 auto;
}

h3 {
  font-size: 32px;
  padding: 80px 0 40px;
}


#about h2 {
  font-size: 36px;
  padding: 80px 0 40px;
}

.about_content span {
  font-weight: bold;
}

.about_content p {
  color: #181f1b;
  line-height: 36px;
  margin: 20px;
}

.about_content p:first-child {
  margin: 40px auto 50px 20px;
  font-size: 24px;
}

.about_content p:nth-child(2){
  font-size: 18px;
}

.about_content p:last-child a {
  color: #181f1b;
}

.about_image {
  display: block;
  margin-left: auto;
}

#about > p {
  text-align: center;
}

#about img {
  border-radius: 10px;
}


/* job history timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-item {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  position: relative;
}

/* space for black line */
.timeline-line {
  position: relative;
  width: 2rem;
  display: flex;
  justify-content: center;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 2.5rem;            
  bottom: 0;
  width: 2px;
  background: var(--font_normal);
}

.timeline-item:last-child .timeline-line::before {
  display: none;
}


.timeline-dot {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--main_color);
  border-radius: 10px;
  margin-top: .4em;
  z-index: 1;
}


.timeline-content {
  padding-bottom: 2rem;
}

.timeline-date {
  font-family: "Bungee", sans-serif;
  font-size: 24px;
  color: var(--main_color);
  margin: 0 0 0.5rem;
}

/* skill */

#skill h3 + div {
  justify-content: space-between;
}

#skill ul {
  list-style: none;
}

.skill_title {
  font-size: 20px;
  font-weight: bold;
}

.skill_desc {
  width: 325px;
  margin: 0 0 30px;
}

.skill_title span {
  font-size: 18px;
  color: var(--main_color);
  padding: 0 0 0 1rem;
}

/* Certicifate */

#certificate p {
  line-height: 2em;
  padding-left: 30px;
}

#certificate a {
  text-decoration: none;
  font-size: 18px;
  color: var(--font_normal);
}

#certificate a:hover {
  text-decoration: underline;
  font-weight: bold;
  
}

#certificate p:last-child {
  padding-bottom: 15.5rem;
}



/* page top */
#page_top span {
  font-size: 90px;
  color: #f0f4f3;
  background-color: #5f7f6e;
  border-radius: 10px;
  position: fixed;
  bottom: 80px;
  right: 20px;
}



 /*#######   #####    #####   ######   #######  ######   *******************************************************
 /* ##   #  ##   ##  ##   ##  # ## #    ##   #   ##  ##  *******************************************************
 /* ## #    ##   ##  ##   ##    ##      ## #     ##  ##  *******************************************************
 /* ####    ##   ##  ##   ##    ##      ####     #####   *******************************************************
 /* ## #    ##   ##  ##   ##    ##      ## #     ## ##   *******************************************************
 /* ##      ##   ##  ##   ##    ##      ##   #   ##  ##  *******************************************************
 /*####      #####    #####    ####    #######  #### ##  ******************************************************/


footer {
  background: var(--main_color);
  color: var(--sub_color);
  padding: 1em;
}

small {
  font-size: 19px;
}



/* ######     ##     ######   ####     #######  ######  ***************************************************
// # ## #    ####     ##  ##   ##       ##   #  # ## #  ***************************************************
//   ##     ##  ##    ##  ##   ##       ## #      ##    ***************************************************
//   ##     ##  ##    #####    ##       ####      ##    ***************************************************
//   ##     ######    ##  ##   ##   #   ## #      ##    ***************************************************
//   ##     ##  ##    ##  ##   ##  ##   ##   #    ##    ***************************************************
//  ####    ##  ##   ######   #######  #######   ####   **************************************************/

@media screen and (width <= 990px) {
  #menu {
    display: inline-block;
  }

  nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    transition: top .25s ease-out; 
  }
  nav.active {
    top:0;
  }

  nav ul {
    flex-direction: column;
    background: #5f7f6e;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 1em 0;
  }
  
  #about .flex,
  #skill h3 + div {
    flex-direction: column;
  }

  #about,
  #work_history,
  #skill,
  #certificate {
    width: 90%;
    margin: 0 1rem;
  }

  .about_image {
    margin: 0 auto;
  }

  #skill ul > li {
    flex-direction: row;
  }

  .skill_desc {
    font-size: 14px;
    width: 280px;
  }


}
  











 /*##   ##   #####   ######    ####    ####     #######  **************************************************
 //### ###  ##   ##   ##  ##    ##      ##       ##   #  **************************************************
 //#######  ##   ##   ##  ##    ##      ##       ## #    **************************************************
 //#######  ##   ##   #####     ##      ##       ####    **************************************************
 //## # ##  ##   ##   ##  ##    ##      ##   #   ## #    **************************************************
 //##   ##  ##   ##   ##  ##    ##      ##  ##   ##   #  **************************************************
 //##   ##   #####   ######    ####    #######  #######  *************************************************/

@media screen and ( width <= 450px) {

  header {
    height: 66px;
  }

  #top {
    padding: 0 18px;
  }

  .logo {
    font-size: 24px;
    text-align: left;
  }

  body {
    padding: auto 20px;
  }

  #work_history {
    width: 88%;
  }

  
  #page_top span {
  font-size: 2.5rem;
  position: fixed;
  bottom: 70px;
  right: 10px;
}

}






