@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Lobster&family=Shippori+Mincho:wght@400;500;600&display=swap');
/* –––––––––––
全体設定
––––––––––––––––*/
html{
    scroll-behavior: smooth;
    font-size: 62.5%;
}
body{
    color: #535353;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6em;
}

img{
    max-width: 100%;
    object-fit: cover;
}

main{
    margin: 0 auto;
    max-width: 80%;
}
/* ––––––titles––––––––– */
h2 {
    font-size:3em;
    color: #535353;
    text-align: center;
    padding: 5% 0;
}
h2 span {
    color: #b63e6a;
    font-size: 2em;
}
#works h2 span {
    color: #639ed7;
    font-size: 2em;
}
h3{
    font-size: 3em;
    margin: 30px 0;
    text-align: center;
}
/* –––––––flexbox––––––––––– */
.flex {
    display: flex;
}
/*–––––– Nav–––––––––––––––– */

.g_nav ul {
    justify-content: right;
    margin: 1em auto;
}
.g_nav li a {
    display: block;
    text-decoration: none;
    padding-right: 2em;
    font-size: 1.25em;
    color: #535353;    
}

/* Effect */

.blur{
    animation-name:blurAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
  }
  
  @keyframes blurAnime{
    from {
    filter: blur(10px);
    transform: scale(1.02);
    }
  
    to {
    filter: blur(0);
    transform: scale(1);
    }
  }
  
.grayscale img{
filter: grayscale(100%);
transition: .3s ease-in-out;
}
.grayscale a:hover img{
filter: grayscale(0);
}

.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeInAnime {
    from{
        opacity: 0;
        filter: grayscale(100%);
    }
    to{
        opacity: 1;
        filter: grayscale(0%);
    }
}

@media screen and (max-width:426px) { 
    .g_nav li a {
        font-size: 1em;
    }
}
/* ––––––––––––––––––
Index Page 
–––––––––––––––––––––*/

/* Header */

#top header .box_main {
    position: relative;
    z-index: -1;
    height: 500px;
    width: 100%;
}
#top header h1.title_main {
    position: absolute;
    bottom: 5%;
    right: 3%;
    font-family: 'Fredericka the Great', cursive;
}
#top header .mainvisual_text {
    transform: rotate(-8deg);
    position: absolute;
    top: 22%;
    left: 18%;
    font-size: 1.5em;
}
#top header .TextTyping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    line-height: 1.25;
}
.TextTyping span {
	display: none;
}

.TextTyping::after {
 	content: "|";
	animation: typinganime .8s ease infinite;
}

@keyframes typinganime{
	from{opacity:0}
	to{opacity:1}
}

header img{
    /* margin-top: 2em; */
    width: 100%;
}

#top section {margin: 0 auto 5em;}
/* About */
#top section#about div div.introduction {
    width: 80%;
    max-width: 750px;
    margin: 0 auto;
    padding-right: 20px;
    line-height: 1.75;
    font-size: 1.5rem;
}
#top section#about div div.introduction p.semititle{
    font-weight: bold;
    line-height: 2;
    margin: 0 auto 2em;
    border-bottom: #535353 1px solid;
    padding-bottom: 1em;
    text-align: center;
}


#top main section div div.introduction img {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}



/* Works */
#works h2 {margin-bottom: .5em;}
#works h3 {
    font-size: 2em;
    margin-bottom: 1em;
}
#works ul {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}
#works ul li {
    width: 48%;
    margin-bottom: 3%;
}
#works ul li a {
    display: block;
    text-decoration: none;
}
#works ul li a p {
    text-align: center;
    color: #333;
    padding: 1em;
    margin:1em auto 5em;
    border: #333 solid 1px;
}
#works ul li a:hover {
    background-color: #333;
    color: #fff;
}
#works ul li a p:hover  {
    background-color: #333;
    color: #fff; 
}
#works div.website {padding-top: 5em;}
#works div.website ul li {
    width: 100%;
}
#works img:hover {
    opacity: .8;
}

/* Contact */
#contact div.flex {
    justify-content: center;
    margin-bottom: 60px;
}
#contact img {
    max-height: 300px;
    margin-right: 30px;
}
#contact label {
    display: block;
    max-width: 200px;
    text-align: left;
    margin-bottom: 10px;
}
input[type="text"],input[type="email"],textarea {
    width: 100%;
    margin-bottom: 10px ;
}

input[type="image"] {
    display: block;
    width: 50px;
    padding-left: 80%;
}

/* footer */
footer{
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 60px;
}

@media screen and (max-width:768px) { 
body{
    font-size: 1.4rem;
}
.flex:not(#works ul){
    flex-wrap: wrap;
}

#top section#about div div.introduction {
    width: 100%;
}
#works ul li {
    width: 47%;
    margin-bottom: 3%;
}
#works div.website ul li {
width: 100%;
margin-bottom: 50px;
}

}

@media screen and (max-width:387px) { 

#skills_coding div.skills_text ul li:last-child {
    margin-top: 0;
}
}
/* ––––––––––––––––––––
WORKS page
––––––––––––––––––––––– */
.LP_img {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
#myworks section {
    width: 80%;
    max-width: 550px;
    margin: 0 auto;
}
#myworks header h2 {
    margin-top: 0;
    padding-top: 30px;
}

#myworks div p {
    width:90%;
    margin: 1em auto;
    line-height: 1.5;
}
#myworks div p.title {
    font-weight: bold;
    padding-top: 1.5em;
}
#myworks div p.title::before {
    content: "-";
    padding-right: 7px;
}
#myworks h4 {
    font-size:1.25em;
    text-align:center;
    padding: 50px 0 1em;
}
#myworks section {
    margin: 5em auto 15em;
}
#myworks section h3 {
    font-size: 2em;
    margin: 2em auto;
}

#myworks a.link_btn {
    display: block;
    text-decoration: none;
    text-align: center;
    margin: 2em auto;
    line-height: 3;
    width: 50%;
    border: #333 1px solid;
    color: #333;
}
#myworks a.link_btn:hover {
    background-color: #333;
    color: #fff;
}

/* Website */
#myworks section#works_website div {
    width: 100%;
}
/* LP */
#myworks div.LP_text {
    width:80%;
    margin: 0 auto 5vh;
}
#myworks div.LP_btn {
    text-align:center;
}

#works_banner p.title {
    font-weight: bold;
    margin-top: 2vh;
}
#works_banner ul {
    margin: 0 auto;
    max-width: 800px;
}

#works_banner img{
    width: 50%;
    margin: 0 auto;
}
#works_banner ul li div{
    width: 80%;
    margin: 0 auto;
}

#myworks footer {
    margin-top: 60px;
}
/* Slick button */
.slick-prev,.slick-next{
    width: 40px;
    height: 40px;
}
 
.slick-prev:before, .slick-next:before {
    font-size: 40px;
    color: #ec61ab;
}

@media screen and (max-width:768px) {
    #myworks div.LP_btn.flex {
        flex-wrap: wrap;
    }
    #myworks a.link_btn,#myworks a.link_btn2 {
        width:70%;
    }

    
}