@charset "UTF-8";

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
	color: #555;
	font-family: sans-serif;
    text-shadow: 1px 1px 10px rgb(255, 255, 255);
    display: none;
}

img{
    display: block; 
}
th{
    font-weight: normal;
}

p,
.menu-list li
{
    font-size: min(1.5vw,19px) ;
}

/*変数設定*/
:root{
    --container-size: 1000px;
}

/*google reCAPTCHAが右下に表示してあるが、表示をけす*/
.grecaptcha-badge { visibility: hidden; }


/*アオハルフォント定義*/
@font-face {
    font-family: "aoharu";
    font-display: swap;
    src: url("../fonts/aoharu-marker-mini.otf") format("opentype"),/* Modern Browsers */
    url('../fonts/aoharu-marker-mini.ttf')  format('truetype'); /* Safari, Android, iOS */
}




/*WORKS,SKILL common*/
.works-skill-common-flex-box{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.works-skill-common-box{
    display: inline-block;
    border-radius: 0.5rem;
    width:25vw;
    margin:0.5rem;
    background-color: rgba(255,255,255,.5);
    color:#000;
    transition-duration: 0.5s;
}
.works-skill-common-box:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
}
.works-skill-common-html{
    display: block;
    height: 80%;
}
.works-skill-common-title{
    padding: 1rem 0;
    font-size: 2vw;
    font-weight: 800;
}
.works-skill-common-text{
    font-size:min(1.15vw,16px);
    padding:0 1rem;
}

.works-skill-common-text a{
    text-decoration: underline;
    color:#0000EE;
}

/*
HEADER
================================================ */
header{
    display: flex;
    align-items: center;
    justify-content:space-around;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.5rem;
    transform: translateY(-100%);
    transition: 0.5s;
    background-image: linear-gradient(45deg,rgb(0, 255, 255) 0% 1%,rgb(255, 0, 255) 50% 50%,rgb(255, 255, 0) 99% 100%);
}

header.active{
    transform: none;    
}

.header-logo{
    display: flex;
}
.pc-nav{
    margin-left:2rem;
}


.link-box{
    display: flex;
}

li{
    padding-left: 1rem;
}
.link-hover{
    text-align: center;
    transition-duration: 1s;
}

.link-hover:hover{
    color:#999;
    transform: scale(1.1);
    transition-duration: 1s;
}
/*
COMMON
================================================ */
.title {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 5rem;
    margin: 1rem auto;
    text-align: center;
    color:#fff;
    text-shadow: 3px 3px 0px rgb(0, 0, 0);
}
p, table{
    line-height: 1.7;
    
}

.container {
    overflow: auto;
}
section {
    
}

/*
MAIN
================================================ */
#main { 
    font-family: 'Alegreya Sans', sans-serif;
    color:#fff;
    text-shadow: none;
    height: var(--container-size);
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.main-title{
    position: absolute;
    top: 35%;
    left: 10%;
}

.main-title-sub,.main-title-sub-sp{
    font-family: "aoharu", sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 3px 3px 0px rgb(0, 0, 0);
    word-break: break-word;
    hyphens: auto;
}

.main-title-ruby{
    font-family: "aoharu", sans-serif;
    font-size: 2rem;
    text-shadow: 1px 1px 0px rgb(0, 0, 0);

}

.main-title-main { 
    font-size: 7rem;
    margin: 1rem auto;
    text-align: center; 
    letter-spacing:0.2rem;
    text-shadow: 3px 3px 0px rgb(0, 0, 0);
}

.main-menu{
    width:20%;
    height:40%;
    /*border: 1px solid #000;*/
    position: absolute;
    top: 55%;
    right: 15%;
}

.main-menu p{
    line-height: 1;
}

.main-menu-character{
    font-size: 6vw;
    letter-spacing:0.2vw;
    height:25%;
    margin:0 auto;
}

.anim-box {
    background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
    border-radius: 5px;
    max-width: 400px;
    height: 250px;
  }

  .anim-box.slidein.is-animated {
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
   
  @keyframes slideIn {
    0% {
      transform: translateX(180px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
    }
    40%,100% {
      opacity: 1;
    }
  }
/*
Profile
================================================ */
#profile {
    font-family: 'Alegreya Sans', sans-serif;
    position: relative;
    height: var(--container-size);
    padding-top: 10vh;
    font-size: clamp(9px,1.6vw,18px);
}
.wrapper {
    /*max-width: 1000px;*/
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.motto{
    background-color: rgba(255,255,255,.5);
    width:80%;
    margin:0 auto;
    padding-left:0.5rem;
    border-radius: .5rem;
    border: 3px solid #fae286;
    transition-duration: 1s;
}

.motto:hover{
    transform: scale(1.1);
    transition-duration: 1s;
}
.motto-box{
    display: flex;
    justify-content: space-around;
    width: 80vw;
    height: 9vw;
}
.motto-box-sentence{
    color:black;
    text-align: left;
    width:85%;
    height: 9vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.motto-box-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 9vw;
    width: 15%;
}
.profile-main{
    display: flex;
    justify-content: flex-start;
    margin: 1vw auto;
    width: 80vw;
}
.left-profile{
    width:60%;
}
.motto-list{
    display: flex;
    width:100%;
}
.profile-list{
    background-color: rgba(255,255,255,.5);
    height: 14vw;
    margin:1rem 0px;
    padding-left: 0.5rem;
    border-radius: .5rem;
    border: 3px solid #fae286;
    transition-duration: 1s;
}
.profile-list:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
}
.profile-box-sentence,
.career-box-sentence{
    color: black;
    text-align: left;
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size:1.4vw;
}

.profile-box-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 30%;
}
.profile-list th{
    margin-top:1em;
}

.profile-career{
    background-color: rgba(255,255,255,.5);
    margin:1em 0px;
    border-radius: .5rem;
    border: 3px solid #fae286;
    transition-duration: 1s;
    border-collapse:separate;
    width:100%;
}
.profile-career:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
}

.profile-career tr {
    margin-bottom: .5rem;
    line-height: 1.7;
    
}
.profile-career th {
    min-width:6rem;
    padding-left:1rem;
}
.profile-career td {
    padding-left: 1rem;
    min-width:3rem;
}
.right-profile{
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.right-profile img{
    width:100%;
}
@media screen and (min-width: 1220px) {
    .right-profile img {
        width: auto;
    }
}
.il-logo{
    opacity:0.8;
    position: absolute;
    margin: auto;
    max-width: 100%;
    height: auto;
}

/*
works
================================================ */
#works{
    height: var(--container-size);;
    text-align: center;
    padding-top: 10vh;
}
.works-border-color{
    border: 3px solid #c5f5d8;
}
.works-a{
    width:15vw;
    height:auto;
    margin: 0 auto;
    padding:1rem 0;
}

/*
SKILLS
================================================ */
#skills{
    height: 930px;
    text-align: center;
    padding-top: 8vh;
   
}
.skill-border-color-height{
    border: 3px solid #f2abc9;
    height: 15em;
}

.htmlcss-flex-box{
    display: flex;
    justify-content:space-around;
    height:18%;
}
.htmlcss-logo{
    display:block;
   
}

.wp-logo{
    display:block;
    width: 11vh;
    height: auto;
}

.py-logo{
    display:block;
    width: 10.5vh;
    height: auto;
}

.sa-logo{
    display:block;
    width: 14vh;
    height: auto;
}

.fp-logo{
    display:block;
    width: 12vh;
    height: auto;
}



/*
CONTACT
================================================ */
#contact {
    text-align: center;
    padding-top: 8vh;
    height: 90vh;
}

.contact-btn {
    background-image: linear-gradient(45deg,rgb(0, 255, 255) 0% 1%,rgb(255, 0, 255) 50% 50%,rgb(255, 255, 0) 99% 100%);
    border-radius: 50px;
    border: 0.3rem solid #ffffff;
    display: inline-block;
    transition-duration: 1s;
}
.contact-btn:hover {
    border: 0.3rem solid gray;
    transform: scale(1.1);
    transition-duration: 1s;
}
.contact-sns {
    display: flex;
    justify-content: center;
    margin-top:5rem;
}
.gf{
    width:14rem;
    height:auto;
    padding:0.4rem;
}
.fab {
    background: #000;
    border: 0.3rem solid #ffffff;
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 .5rem;
    border-radius: 50%;
    padding: .6rem .3rem;
    transition-duration: 1s;
}

.fab:hover {
    border: 0.3rem solid gray;
    transform: scale(1.1);
    transition-duration: 1s;
}
.gmail{
    position: relative;
    display: inline-block;
    font-size:2rem;
    margin-top:4rem;
    background-image: linear-gradient(45deg,rgb(0, 255, 255) 0% 1%,rgb(255, 0, 255) 50% 50%,rgb(255, 255, 0) 99% 100%);
    border-radius: 50px;
    width:8rem;
    height: 4rem;
    line-height: 60px;
    border: 0.3rem solid #ffffff;
    overflow: hidden; /* はみ出し部分を隠す */
    cursor: pointer; /* カーソルをポインターにする */
    transition: all 1s; /* アニメーション実行時間 */
}

.gmail:hover{
    width:38rem;
    border: 0.3rem solid gray;
    transition: all 1s; /* アニメーション実行時間 */
}

.mail-text{
    position: absolute;
    display: block;
    height: 100%; /* 縦幅をボタンと同じにする */
    width: 100%; /* 横幅をボタンと同じにする */
    text-align: center; /* テキストを中央揃え */
    transition: all 1s; /* アニメーション実行時間 */
}

.mail-text:nth-child(1){
    top: -1%;
}

.mail-text:nth-child(2){
    top: -100%;
}

.gmail:hover .mail-text:nth-child(1){
    top: 100%;
}

.gmail:hover .mail-text:nth-child(2){
    top: -1%;
}

/*
FOOTER
================================================ */
.footer-container{
    width: 100%;
    justify-content:space-around;
    text-align: center;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.5rem;
    height: 40px;
    background-image: linear-gradient(45deg,rgb(0, 255, 255) 0% 1%,rgb(255, 0, 255) 50% 50%,rgb(255, 255, 0) 99% 100%);
}

small{
    display: inline-block;
}

/*
MOBILE SIZE
================================================ */

@media(max-width: 850px){
    .title {
        font-size: 4rem;
    }
}
@media(min-width: 769px){
    .gnavi__sp-style,.menu-btn{
        display: none;
    }
    .main-title-sub-sp{
        display: none;
    }
}
@media (max-width: 768px) {
    /*ハンバーガーメニュー開始*/
    .pc-nav{
        display: none;
    }
    


    /*メニューボタン　展開前*/
    .menu-btn {
        display : block;
        position: fixed;
        right : 30px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }
    .menu-btn span {
        display : block;
        position: absolute;
        width   : 30px;
        height  : 2px ;
        left    : 6px;
        background : #555;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition   : 0.3s ease-in-out;
        transition        : 0.3s ease-in-out;
    }
    .menu-btn span:nth-of-type(1) {
        top: 10px;
    }
    .menu-btn span:nth-of-type(2) {
        top: 20px;
    }
    .menu-btn span:nth-of-type(3) {
        top: 30px;
    }
    
    /*メニューボタン　展開後*/
    .menu-btn.act span:nth-child(1) {
        top : 16px;
        left: 6px;
        background :#fff;
        -webkit-transform: rotate(-45deg);
        -moz-transform   : rotate(-45deg);
        transform        : rotate(-45deg);
    }
    .menu-btn.act span:nth-child(2),
    .menu-btn.act span:nth-child(3) {
        top: 16px;
        background :#fff;
        -webkit-transform: rotate(45deg);
        -moz-transform   : rotate(45deg);
        transform        : rotate(45deg);
    }

    /*スマホ用のメニュー*/
    .gnavi__sp-style {
        visibility:hidden;
	    align-items: center;
        position: fixed;
        z-index: 1;
        top: 80px;
        right: 0px;
        color: #fff;
        background-color: rgba(0,0,0,0.7);
        text-align: center;
        width: 100px;
        height: 240px;
        opacity: 1;
    }

    .link-box {
        display: block;
        position: absolute;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 100%;
    }
    .link-box li {
        padding-left: 0;
        list-style-type: none;
        width: 100%;
        height: 33.33%;

    }
    .link-box li:last-of-type {
        padding-bottom: 0;
    }
    .link-box li:hover{
        background :#ddd;
        transition: .5s;
    }
    .link-box li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration :none;
        
    }
    .gnavi__sp-style.act {
        visibility: visible;
        opacity: 1;

    }
  
    /*ここまでがハンバーガーメニュー*/
    /*general*/
    p {
        padding: 0 1rem;
    }
    p,
    .profile-career tr,
    .menu-list li,
    .hero-text,
    .skill-text,
    .works-skill-common-text {
        font-size: 4vw;
    }
    .skill-title,
    .works-skill-common-title{
        font-size: 5vw;
    }
    .container {
        scroll-snap-type: none;
    }

    /*header*/
    .header-logo{
        position:fixed;
        left: 30px;
    }
    .main-title-sub{
        display:none;
    }
    /*main*/
    .main-title{
        top:25%;
        left: 0%;
    }
    /*profile*/
    #profile{
        height:auto;
    }
    .profile-main{
        display:block;
        width: 100%;
    }
    .profile-box-sentence,
    .career-box-sentence{
    font-size:4vw;
}
    .left-profile{
        width:80%;
        margin: 0 auto;
    }
    .right-profile{
        display: none;
    }
    .profile-career th {
        width: 26%;
    }

    /*works*/
    #works{
        height:auto;
    }

    .works-a{
        width: 200px;
    }

    .works-box,.skill-box,.works-skill-common-box{
        width:80vw;
        height: auto;
    }
    /*skills*/
    #skills{
        height:auto;
    }
    .htmlcss-logo{
        height: 10vh;
    }

}

/*
HEIGHT SIZE LIMIT
================================================ */
@media (max-height: 740px) {
    .container{
        scroll-snap-type: none;
       
    }
    #hero,#profile{
        height: 2hw;
    }
    #works,#skills,#contact{
        height: auto;
    }

    .works-box,.skill-box{
        width:80vw;
    }
    
}
