@charset "utf-8";
/* CSS Document */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

img{
max-width: 100%;
height: auto;
vertical-align: bottom;
}

body{
min-width: 1280px;
color: #333;
font-family: sans-serif;
background-color: #f5f5f1;
}

@media(max-width: 767px){
body{
min-width: auto;
overflow-x: hidden;
}
}

ul{
list-style-type: none;
}

a{
text-decoration: none;
color: #333;
}

.red{
color: #c80044;
}

.container{
width: 980px;
margin: 0 auto;
}

@media(max-width: 767px){
.container{
width: 90%;
}
}


/*ホバーアニメーション--------------------------------------------*/
.underline {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  border-bottom:　2px;
}

.underline:hover{
  color: #333;
}

#main-nav a {
  position: relative;
}

#main-nav a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #c80044;
  bottom: -10px;
  transform: scale(0, 1);
  transition: transform 0.5s;
  transform-origin: center top;
}

#main-nav a:hover::after {
  transform: scale(1, 1)
}

@media(max-width: 767px){
#main-nav a::after{
display: none
}
}


/*main--------------------------------------------*/
main p{
line-height: 1.75em;
margin-bottom: 15px;
}

.nav-img{
width: 90px;
height: 110px;
border-radius: 50%;
overflow: hidden;
position: absolute;
top: 30px;
left: 50px;
}

h1{
text-align: center;
font-size: 30px;
padding-top: 130px;
letter-spacing: .2em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

#main-nav{
padding-top: 40px;
width: 800px;
margin: 0 auto;
}

@media(max-width: 767px){
#main-nav{
width: 80%;
}
}

#main-nav ul{
display: flex;
justify-content: space-around;
}

@media(max-width: 767px){
#main-nav ul{
display: block;
}
}

#main-nav a{
display: block;
letter-spacing: .2em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

@media(max-width: 767px){
#main-nav a{
font-size: 18px;
text-align: left;
padding: 10px 0;
}
}

h2{
font-size: 30px;
margin-top: 140px;
margin-bottom: 40px;
padding-left: 50px;
letter-spacing: .2em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

@media(max-width: 767px){
h2{
padding-left: 0;
}
}

.portfolio{
width: 1180px;
margin: 0 auto;
}

@media(max-width: 767px){
.portfolio{
width: 90%;
}
}

#web p span{
font-weight: 600;
color: #c80044;
}

.aboutme{
display: flex;
justify-content: space-between;
align-items: center;
}

@media(max-width: 767px){
.aboutme{
display: block;
}
}

.aboutme_img{
width: 20%;
height: 250px;
border-radius: 50%;
overflow: hidden;
}

@media(max-width: 767px){
.aboutme_img{
width: 60%;
height: auto;
margin: 30px auto;
}
}

.aboutme_txt{
width: 72%;
}

@media(max-width: 767px){
.aboutme_txt{
width: 100%;
margin: 0 auto;
}
}

.aboutme_txt h3{
margin-bottom: 20px;
}

.gaiyou tr{
display: block;
}

#lp h3,#banner h3{
font-size: 22px;
margin: 50px 0 20px;
letter-spacing: .1em;
border-left: solid 10px #c80044;
padding-left: 10px;
line-height: 1.25em;
}

#lp p{
display: inline;
font-size: 22px;
padding-right: 20px;
letter-spacing: .2em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

#lp small{
display: inline-block;
font-size: 16px;
letter-spacing: 0;
line-height: 1.75em;
	font-family: sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.japanese{
font-size: 20px;
letter-spacing: 0;
	font-family: sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.ai{
color: #ff9a00;
}

.ai2{
color: #330000;
}

.ps{
color: #31a8ff;
}

.ps2{
color: #001e36;
}

.canva{
background: linear-gradient(90deg, rgba(123, 42, 232, 1) 0%, rgba(73, 107, 221, 1) 50%, rgba(1, 195, 204, 1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.html{
color: #e14d26;
}

.css{
color: #0e70b6;
}

.js{
color: #e09d28;
}

#leaf h3{
font-size: 22px;
}

#leaf h3 img{
width: 1.5em;
margin-right: .5em;
}

#leaf p{
margin: 10px 0 30px;
}

.hobby_txt{
font-size: 20px;
font-weight: 600;
border-left: solid 10px #c80044;
padding-left: 10px;
line-height: 1.25em;
}

.view-more{
text-align: center;
letter-spacing: .1em;
padding-top: 60px;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.view-more a{
text-decoration: none;
color: #333;
}


/*footer--------------------------------------------*/
footer{
margin: 150px 50px 30px 50px; 
}

.footer-flex{
display: flex;
justify-content: space-between;
align-items: flex-end;
letter-spacing: .1em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.top{
display: block;
text-align: center;
}

.top img{
width: 15px;
margin-bottom: 5px;
}

@media(max-width: 767px){
footer p{
font-size: 14px;
}
footer{
margin: 150px 5% 30px 5%;
}
}