/* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.6; 
    letter-spacing: 0.05rem;
    color: #333;
}
img {
    vertical-align: bottom;
}


/* *{
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}*/
html {
  font-size: 14px;
}

@media screen and (min-width: 768px) { 
  html {
    font-size: 16px;
  }
}
a{
  color: #333;
  text-decoration: none;
}

.cmn-title {
  text-align: center;
  font-weight: bold;
}
.sub-title {
  display: block;
  color: #38B6FF;

}
.main-title {
  display: block;
  font-size: 2rem;
}


.header{
  padding: 16px 16px 16px 0px;
  /* margin: 0 auto; */

}

.header-logo{

}

.header-list{
  display: flex; 
  justify-content: space-between;
}

.header-item{
  /* 1rem=16px */
  margin-left: 1.5rem;
  font-size: 1.2rem;
}

li a:hover {
  color: gray;
  opacity: 0.5;
}

@media screen and (min-width: 768px) { 
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
  
    height: 60px;

  }
}


/* firstview */
.firstview {
  background-image: url(moto-bikes.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 650px;
  width: 960px;
}
.firstview-message {
  display: flex;
  justify-content: start;
  align-items: baseline;
  padding-top: 12rem; 
  height: 50%;
  font-size: 3.5rem;
  letter-spacing: 0.3rem;
  color: goldenrod;
}
.firstview-message .blue { 
  color: #38B6FF;
}
@media screen and (min-width: 768px) {
  .firstview-message {
    font-size: 5.5rem;
    letter-spacing: 0.5rem;
    justify-content: center;
    align-items: center;
    /* padding-top: 12rem;  */
}
}


/* about */
.about{
  max-width: 800px;
  margin: 120px auto 0;
  padding: 0 16px;
}

.about-wrapper {
  margin-top: 60px;
}
.about-image {
  text-align: center;
  padding: 0 40px;


}
.about-text {
  display: inline-block;
  margin: 30px 0 0 30px;
  

}
.about-greeting {

}
.about-subtitle {
  font-size: 1.5rem;
  color: #38B6FF;
  margin-bottom: 0.5rem;
}
.about-career {
  margin-top: 30px;

}
.career-list {

}
.career-item {

}
@media screen and (min-width: 768px) {   
  .about-wrapper { 
    display: flex;
  }

  .about-text {
    margin: 0 0 0 30px;
  }
}



/* skills */
.skills{
  max-width: 1024px;  
  margin: 120px auto 0;
}
.skill-list {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 20px;
}
.skill-item {

}
.skill-image {
  height: 180px;
  text-align: center;

}
.skill-name {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;

}
.skill-desc {
  margin-top: 1rem;
  padding: 0 1rem;
}
@media screen and (min-width: 768px) {
  .skill-list {
    max-width: 500px;
    margin: 60px auto 0;
  }
  .skill-item {
    width: 230px;
  }
  
}
@media screen and (min-width: 1024px) {
  .skill-list {
    max-width: 100%;
  
  }
  
}


/* works */
.works {
  max-width: 900px;
  margin: 120px auto 0;
}
.work-list {
  margin-top: 60px;

}
.work-item {
  
  margin-top: 45px;
}


.work-image img{
  width: 100%; 
  height: 100%;
} 


.work-text {
  margin-top: 2rem;
  margin-left: 1rem;
  
}
.work-desc {
  margin-top: 1rem;

}
@media screen and (min-width: 768px) {
  .work-item {
    display: flex;
    gap: 0 50px;
  }
  .work-item.reverse {
    flex-direction: row-reverse;
  }
  .work-image {
    width: 50%;
  }
  .work-text {
    width: 50%;
  
  }

}


.contact {
  margin: 120px 0;
  text-align: center;
}
.contact-text {
  margin-top: 60px;
}
.contact-message {

}
.contact-mail {
  font-size: 2rem;
  font-weight: bold;
}
.icon-area {
  margin-top: 30px;

}
.icon-area .fa-brands {
  font-size: 2rem;
  margin: 0 1rem;
}
.icon-area a:hover {
  color: gray;
  opacity: 0.5;
}

.footer{
  background-color: #ddd;
  padding: 30px 0 10px;
}

.footer-list{
  display: flex;
  justify-content: space-around;
  max-width: 400px;
  margin: 0 auto;
}

.footer-item{
  font-size: 1.2rem;

}

.copyright{
  margin-top: 2rem;
  text-align: center;

}