@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap");

:root {
    --main-color-1: #fffef9;
    --main-color-2: #faf9f1;
    --main-color-3: #f4f3eb;
    --bg-color-1: #f0eddb;
    --bg-color-2: #504237;
    --bg-color-3: #d8bfa7;

    --main-text-color: #707070;
    --title-text-color: #757575;

    --content-bg-color: #fffef9;
    --about-bg-color: #faf9f1;
    --contact-bg-color: #f4f3eb;
    --skillbox-bg-color: #f0eddb;
    --skillbox-boder-color: #8C867E;

    --main-font-family: 'Lato', '游ゴシック', 'Yu Gothic', YuGothic, HiraKakuProN-W3, 'メイリオ', Meiryo, sans-serif
}

html {
    font-size: 62.5%;
}

body {
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    word-wrap: break-word;
    background-color: var(--main-color-1);
    font-family: var(--main-font-family);
    font-weight: normal;
    color: var(--main-text-color);
    line-height: 1.9;
    text-align: left;
}

#header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    height: 70px;
    width: 100%;
    padding: 0 20px;
}

.logo {
    position: relative;
    width: 135px;
    height: 45px;
    margin-top: 5px;
}

/*===========================================================*/
/*Header SiBULabo logo*/
/*===========================================================*/
/*========= logo背景の流体定義 ===============*/
.fluid1 {
    width: 100%;
    height: 100%;
    background: var(--bg-color-3);
    animation: fluidrotate 20s ease 0s infinite;
}
.fluid2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.2px solid var(--bg-color-1);
    animation: fluidrotate2 15s ease 0s infinite;
}
@keyframes fluidrotate {
    0%, 100% {border-radius: 17% 83% 40% 60%/50% 27% 73% 50%;}
    14% {border-radius: 32% 68% 55% 45%/50% 36% 64% 50%;}
    28% {border-radius: 27% 73% 43% 57%/50% 49% 51% 50%;}
    42% {border-radius: 22% 78% 33% 67%/30% 61% 39% 70%;}
    56% {border-radius: 29% 71% 48% 52%/44% 43% 57% 56%;}
    70% {border-radius: 42% 58% 57% 43%/55% 28% 72% 45%;}
    84% {border-radius: 36% 64% 46% 54%/72% 16% 84% 28%;}
}
@keyframes fluidrotate2 {
    0%, 100% {border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;}
    14% {border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;}
    28% {border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;}
    42% {border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;}
    56% {border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;}
    70% {border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;}
    84% {border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;}
}
@keyframes fluidrotate3 {
    0%, 100% {border-radius: 3% 97% 6% 94%/89% 11% 89% 11%;}
    14% {border-radius: 6% 94% 9% 91% / 74% 20% 80% 26% ;}
    28% {border-radius: 10% 90% 16% 84% / 61% 28% 72% 39% ;}
    42% {border-radius: 10% 90% 16% 84% / 74% 19% 81% 26% ;}
    56% {border-radius: 5% 95% 7% 93% / 85% 8% 92% 15% ;}
    70% {border-radius: 0% 100% 0% 100% / 100% 0% 100% 0% ;}
    84% {border-radius: 0% 100% 0% 100% / 100% 0% 100% 0% ;}
}
/*========= logo("SiBU Labo")画像 ===============*/
.logoname {
    position: absolute;
    top: 10px;
    left: 8px;
    width: 100%;
}
.logoname img {
    width: 120px;
}


/* Splash */
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background:var(--bg-color-2);
	text-align:center;
	color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg{
    width:250px;
}

/*=============== SVGアニメーション内の指定 =================*/

/*アニメーション前の指定*/
#mask path {
    fill-opacity: 0;/*最初は透過0で見えない状態*/
    transition: fill-opacity .5s;/*カラーがつく際のアニメーション0.5秒で変化*/
    fill: none;/*塗りがない状態*/
    stroke: #fff;/*線の色*/
}

/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path{
    fill: #fff;/*塗りの色*/
    fill-opacity: 1;/*透過1で見える状態*/
    stroke: none;/*線の色なし*/
}

/*==================================================
　機能編 4-2-1　背景色が伸びる（上から下）
===================================*/

/*画面遷移アニメーション*/
.splashbg{
	display: none;
}

body.appear .splashbg{
    display: block;
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background: var(--bg-color-3);
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:top;
		transform:scaleY(0);
	}
	50% {
		transform-origin:top;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:bottom;
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
    position: relative;
    z-index: 1;
	opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
    }
}

/*===========================================================*/
/*Header Navi Menu (Skills, About, Contact)*/
/*===========================================================*/
.nav {
    /* width: 30%; */
    display: none;
    z-index: 999;
}
.nav__list li {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  letter-spacing: 0;
  /* font-family: var(--font-english); */
  font-weight: 300;
  font-size: 2rem;
}
/*========= Navi Menuが順番に現れる ===============*/
.nav__list li:nth-of-type(1) {
    animation-delay: .2s;
}
.nav__list li:nth-of-type(2) {
    animation-delay: .3s;
}
.nav__list li:nth-of-type(3) {
    animation-delay: .4s;
}

/*========= Navi Menuアイコンがクリックされ展開されたとき、最前面で画面全体表示 ===============*/
/*.nav+.panelactive*/
.nav.panelactive {
    display: block;
    top: 0;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    letter-spacing: 0.1em;
}
/*.nav+.panelactive > ul*/
.nav.panelactive .nav__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: all 0.6s;
    line-height: 2;
}

.nav__list li a::after {
    content: '';
    position: absolute;
    top:80%;
    left: 0%;
    width: 100%;
    height: 2px;
    background: #EACDB7;
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.nav__list li.current a::after,
.nav__list li a:hover::after {
    transform: scale(1.1, 1);/*X方向にスケール拡大*/
}

/*===========================================================*/
/*Header Hamburger Menu (三)*/
/*===========================================================*/
/*.openbtn */
.openbtn {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: var(--bg-color-3);
    border-radius: 5px;
    z-index: 9999;
}
/*.openbtn > .openbtn-area*/
.openbtn .openbtn-area {
    transition: all .6s;
    width: 50px;
    height: 50px;
}
/*.openbtn > .openbtn-area > span*/
/*ハンバーガーメニューの３本の横棒のスタイル*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
}
/*いちばん上の横棒*/
.openbtn span:nth-of-type(1) {
    top: 15px;
}
/*真ん中の横棒*/
.openbtn span:nth-of-type(2) {
    top: 23px;
}
/*いちばん下の横棒*/
.openbtn span:nth-of-type(3) {
    top: 31px;
}
/*========= ハンバーガメニュがクリックされたときのアニメーション (三) -> (✕) ===============*/
/*openbtn active style*/
.openbtn.active .openbtn-area {
    transform: rotate(360deg);
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*===========================================================*/
/*ハンバーガーボタンクリック時に背景が円形に広がる*/
/*===========================================================*/
/*丸の拡大*/
.circle-bg {
    position: fixed;
    z-index: 3;
    /*丸のスタート位置と形状*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-color-3);
    /*scaleをはじめは0に*/
    transform: scale(0);
    right: -15px;
    top: -15px;
    /*0.6秒かけてアニメーション*/
    transition: all .6s;
}
/*circleactiveクラスが付与されたらscaleを50倍に拡大*/
.circle-bg.circleactive {
    transform: scale(50);
}


/*===========================================================*/
/*印象編　8-10 テキストがタイピング風に出現*/
/*===========================================================*/

.TextTyping span {
	display: none;
}

.TextTyping::after {
 	content: "|";
	animation: typinganime .8s ease infinite;
    font-weight: normal;
    padding: 0 0 0 10px;
}

@keyframes typinganime{
	from{opacity:0}
	to{opacity:1}
}

.contents {
    position: absolute;
    top: 0;
    left: 0;
    /* max-width: 960px; */
    margin: 0 auto;
    width: 100%;
}
/*===========================================================*/
/*Header Hamburger Menu (三)*/
/*===========================================================*/
#main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: 438px 150px;
    grid-template-areas:
        "left main right"
        "bottom bottom bottom";
    width: 100%;
}

.header__center {
    position: relative;
    height: 2px;
    background: #dddddd;
    border-bottom: #ffffff solid 1px;
    margin-bottom: 3.2rem;
}
.section_title h3 {
    color: var(--title-text-color);
    font-size: 3.6rem;
    letter-spacing: -0.02em;
    transform: scaleY(1.4);
    font-weight: 400;
}

.top,
.left-side,
.right-side,
.bottom {
    background-color: var(--content-bg-color);
    z-index: 1;
}

.top {
    grid-area: top;
}

.left-side {
    grid-area: left;
    font-size: 14px;
    letter-spacing: .2rem;
    position: relative;
    filter: drop-shadow(0 0 0);
}

.hero_message {
    position: absolute;
    top: 100px;
    margin-left: 5%;
    font-weight: 300;
    font-size: 2.2rem;
    line-height: 1.5;
    color: var(text-color-1);
    z-index: 1;
    width:40vw;
    letter-spacing: .03rem;
    text-shadow: 1px 1px 1px rgba(255, 254, 249, 2);
}

.main_content {
    position: relative;
    grid-area: main;
    z-index: -1;
}

.main__backimg {
    position: absolute;
    bottom: 0px;
    opacity: 1;
    z-index: -1;
    object-fit: cover;
    width: 100%;
}

.main__img {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    height: 100%;
    width: 100%;
    z-index: -1;
    filter: drop-shadow(10px -10px 20px rgba(0, 0, 0, 1.0));
}
.right-side {
    grid-area: right;
}
.bottom {
    grid-area: bottom;
}

section.dark {
    -webkit-box-shadow: inset 0px 1px 4px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 1px 4px 0px rgb(0 0 0 / 10%);
}

.content {
    position: relative;
    padding: 0 20px 60px;
    border-top: 1px dotted var(--bg-color-3);
}
#about {
    background-color: var(--main-color-2);
}
/* About. */
.about_content,
.skillrange_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}
.about_message,
.about_image,
.skillrange_image {
    width: 80%;
}
.about_message {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    margin: 20px 0 30px;
}
.about_image img,
.about_image video {
    width: 80vw;
    object-fit: cover;
    animation: fluidrotate 30s ease 0s infinite;
}
.skillrange_message {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    margin: 10px;
}
.skillrange {
    margin: 30px 30px 50px;
}
.skillrange h4,
.pasttime_header h4 {
    font-size: 3rem;
    font-weight: 400;
    border-bottom: 1px solid #8C867E;
    line-height: 1;
    transform: scaleY(1.2);
    margin-bottom: 30px;
    padding-left: 5px;
}
.skillrange_image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.skillrange_image img {
    width: 70vw;
    object-fit: cover;
    max-width: 560px;
}
.skill {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 180px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    font-weight: 300;
}
.backend,
.frontend,
.certification {
    margin-bottom: 40px;
}
.skill h4,
.certification h4 {
    font-size: 2rem;
    font-weight: 400;
    border-bottom: 1px solid #8C867E;
    line-height: 1;
    margin-bottom: 15px;
    padding-left: 5px;
}
.skill h5 {
    font-size: 1.6rem;
    margin: 5px 10px;
}
.skillbox {
    width: 100px;
    height: 20px;
    font-size: 1.2rem;
    border: 1px solid var(--skillbox-boder-color);
    border-radius: 4px ;
    text-align: center;
    background-color: var(--skillbox-bg-color);
    line-height: 1.4;
}
.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 6px;
    margin-left: 20px;
    margin-bottom: 10px;
}
.certifibox {
    width: 160px;
    height: 20px;
    border: 1px solid var(--skillbox-boder-color);
    border-radius: 4px ;
    font-size: 1.1rem;
    text-align: center;
    background-color: var(--skillbox-bg-color);
    line-height: 1.6;
}
.certifibox.its-new:after {
    content: "new!";
    font-size: 1.0em;
    color: red;
    margin-left: 3px;
    font-style: italic;
}
.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 6px;
    margin-left: 20px;
    margin-bottom: 10px;
}

#contact {
    background-color: var(--main-color-3);
}
.text_message {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
span.require {
    margin-left: 10px;
    padding: 1px 3px;
    background-color: #f45555;
    font-size: 10px;
    color: #FFFFFF;
}
.contact_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 20px;
    max-width: 860px;
}
.contact_message {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    margin: 20px 0 30px;

}
.contact_form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.contact_form1 dt,
.contact_form2 dt {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}
.contact_form1 input,
.contact_form2 textarea {
    background-color: var(--main-color-1);
}
#contact_name,
#contact_email {
    width: 90%;
    height: 20px;
    font-size: 16px;
    border: 1px solid #bbbbbb;
    padding: 0 5px;
}
.contact_form1 dd,
.contact_form2 dd {
    margin-bottom: 15px;
}
#contact_your_message {
    width: 90%;
    font-size: 16px;
    border: 1px solid #bbbbbb;
    padding: 0 5px;
}
.contact_button {
    margin-top: 20px;
}
.button {
    display: inline-block;
    padding: 0 1.5em;
    color: #ffffff;
    background-color: var(--bg-color-2);
    font-size: 18px;
    font-size: 1.8rem;
    border: #333333 solid 1px;
    vertical-align: middle;
    height: 4.8rem;
    width: 160px;
    text-align: center;
    line-height: 4.8rem;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
}

.pasttime_header {
    margin: 30px 30px 0;
}
.pasttime_header .skillrange_message a {
    background-color: #f5deb3;
}
.pasttime,
.pasttime-songs {
    position: relative;
    font-family: 'Homemade Apple', cursive;
    font-size: 18px;
    /* height: 300px; */
}
.pasttime ul {
    /* position: absolute; */
    position: relative;
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, 130px);
    /* gap: 0px; */
    justify-content: center;
    margin: 0;
    padding: 0;
    width:80%;
}
.pasttime li {
    text-align: center;
    /* display: inline-block; */
    list-style: none;
    position: relative;
    border: solid 6px #fff;
    /* border-radius: 50%; */
    /* border: solid 12px #f8f3e8; */
    background: #fff;
    /* background: #f8f3e8; */
    box-shadow: 0 0 15px 0px #555;
    /*transition: top 1s, transform 1s ease;*/   /*write Shorthand */
    transition: top 1s, transform 500ms cubic-bezier(0.6, -0.28, 0.74, 0.05);
    /*transition-timing-function：アニメーション開始終了の変化の度合いを指定する。
       ease：ゆっくり入って、ゆっくり出る。
       ease-in:ゆっくり入る。
       ease-out:ゆっくり出る。
       ease-in-out：easeよりさらに、ゆっくり入って、ゆっくり出る。
       linear：等速。
    */

    /* transition-duration: 1s; */
    /* transition-property: top, transform; */
    /* transition-timing-function: ease; */
    /* -o-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease; */
    top: 20px;
    /* opacity: 0.5; */
    /* width: 100%; */
}

.pasttime-songs ul {
    /* position: absolute; */
    position: relative;
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, 110px);
    /* gap: 0px; */
    justify-content: center;
    margin: 0;
    padding: 0;
    width:90%;
}
.pasttime-songs li {
    text-align: center;
    /* display: inline-block; */
    list-style: none;
    position: relative;
    border: solid 6px #fff;
    /* border-radius: 50%; */
    /* border: solid 12px #f8f3e8; */
    background: #fff;
    /* background: #f8f3e8; */
    box-shadow: 0 0 10px 0px #555;
    /*transition: top 1s, transform 1s ease;*/   /*write Shorthand */
    transition: top 1s, transform 500ms cubic-bezier(0.6, -0.28, 0.74, 0.05);
    top: 20px;
    border-radius: 50%;
}

.pasttime li.active,
.pasttime-songs li.active {
    /* position: absolute; */
    transform: scale(2);
}
.pasttime li:nth-child(5n+1),
.pasttime-songs li:nth-child(5n+1) {
    transform: rotate(10deg);
}
.pasttime li:nth-child(5n+2),
.pasttime-songs li:nth-child(5n+2) {
    transform: rotate(0deg);
}
.pasttime li:nth-child(5n+3),
.pasttime-songs li:nth-child(5n+3) {
    transform: rotate(-10deg);
}
.pasttime li:nth-child(5n+4),
.pasttime-songs li:nth-child(5n+4) {
    transform: rotate(20deg);
}
.pasttime li:nth-child(5n+5),
.pasttime-songs li:nth-child(5n+5) {
    transform: rotate(-5deg);
}
.pasttime img,
.pasttime video {
    width: 120px;
}
.pasttime-songs img,
.pasttime-songs video {
    width: 100px;
}
.pasttime li:hover,
.pasttime-songs li:hover {
    /* position: absolute; */
    /* inset: 0; */
    /* margin: auto; */
    /* opacity: 1.0; */
    /* width: 300px; */
    /* transform: scale(4); */
    top: 0;
    transform: rotate(0deg);
    z-index: 99;
}
/* .pasttime li.active {
    width:300px;
}
.pasttime li p {
    display: none;
}
.pasttime li.active p{
    display: block;
} */
.pasttime h3 {
    font-family: "Kalam", cursive;
    text-decoration : underline;
}
.pasttime-songs h3 {
    position: absolute;
    top: 10px;
    font-size: .8em;
    padding: 8px;
    width: 100%;
    color: white;
 /*   -webkit-text-stroke-width: .1px;
    -webkit-text-stroke-color: white; */
}
.pasttime h5 {
    font-family: "Kalam", cursive;
    text-decoration : underline;
    font-size: 1.4rem;
}
.pasttime p {
    line-height: 2rem;
}
.light {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}
.pasttime li:hover {
    /* width: 200px; */
}
/* .pasttime_detail {
    position: absolute;
    width: min(400px, 80vw);
    left: 50px;
    top: 0;
    height: min(300px, 80vh);
    background-color: #fff;
    border-radius: 20px;
    z-index: 999;
    box-shadow: 5px 5px 5px rgb(0 0 0 / 20%);
} */

#footer {
    position: relative;
    width: 100%;
    background-color : var(--main-color-3);
    text-align: center;
}
#footer .sibulabo_logo {
    width: 100px;
    padding-bottom: 10px;
}
small {
    font-size: 1.2rem;
}

#waveCanvas {
    position: absolute;
    bottom: 0;
}
#waveCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}


.pimg1,
.pimg2,
.pimg3 {
    position: relative;
    opacity: 0.7;
    background-position: center;
    background-size: cover;
    /* cover:画像の縦横比を保ち、できるだけ大きくなるように拡大縮小する。 */
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section {
    text-align: center;
    padding: 50px 80px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8em;
    color: #666;
}

.ptext {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 27px;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.ptext .border {
    background-color: #111;
    color: #fff;
    padding: 20px;
}

.ptext .border.trans {
    background-color: transparent;
}


/*===========================================================*/
/* 機能編 8-1-7　スクロール途中からリンクボタンの形状が変化 */
/*===========================================================*/

/*スクロールリンクの形状*/
.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 20px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
    position: relative;
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	font-size:0.8rem;
    letter-spacing: 0.05em;
    display: block;
}

/*スクロールリンクの形状*/

.js-scroll.scroll-top a{
    color: #aaa;
}

.js-scroll a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#aaa;
}


.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #aaa;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
	right:-11px;
}


/*ページトップリンクの形状*/

.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
	right:0;
}

/* For Tablet */
@media screen and (min-width: 520px) {
    #main {
        grid-template-columns: 1fr 350px 1fr;
        grid-template-rows: 505px 150px;
    }
    .hero_message {
        font-size: 2.6rem;
    }

    .floater {
        font-size: 2rem;
        line-height: 1.5;
    }

    .logo {
        width: 135px;
        height: 45px;
    }
    .circle-bg {
        display: none;
    }
    .openbtn {
        display: none;
    }
    .nav {
        /* position: relative; */
        z-index: 999;
        /* width: 35%; */
        /* height: 100%; */
        display: flex;
        justify-content: flex-end;
    }
    /*.nav > ul*/
    .nav .nav__list {
        display: flex;
        /* flex-direction: row; */
        justify-content: space-around;
        z-index: 999;
        /* max-width: 200px;
        min-width: 190px; */
        /* height: 100%; */
    }
    /*.nav > ul > li*/
    .nav__list li {
        font-size: 2.4rem;
        line-height: 1.8;
        color: var(text-color-1);
        /* margin: auto; */
        margin-left: 15px;
    }
    .nav__list li a::after {
        background: #dcdcdc;
        top: 90%;
    }
    .about_image img,
    .about_image video,
    .skillrange_image img {
        width: 45vw;
    }
    .about_content,
    .skillrange_content {
        flex-direction: row;
        align-items: flex-start;
    }
    #content {
        padding-bottom: 200px;
    }
    .about_image {
        text-align: right;
        margin-top: 20px;
    }
    .about_message {
        padding: 0 20px;
    }
}
/* For PC */
@media screen and (min-width: 800px) {
    .skill h4,
    .certification h4 {
        /* width: 40vw; */
    }
    .backend,
    .frontend {
        margin-right: 20px;
    }
    #contact_name,
    #contact_email {
        width: 350px;
    }
    #contact_your_message {
        width: 450px
    }
}
@media screen and (min-width: 960px) {
    .hero_message {
        font-size: 2.8rem;
        margin-left: 10%;
        line-height: 2;
    }
    #main {
        grid-template-columns: 1fr 400px 1fr;
        grid-template-rows: 584px 200px;
    }
    .nav .nav__list {
        /* max-width: 220px; */
    }
    .nav__list li {
        font-size: 2.8rem;
        line-height: 2;
        color: var(text-color-1);
    }
    .contact_form {
        flex-direction: row;
    }
    .contact_button {
        text-align: right;
    }
    #content {
        padding-bottom: 250px;
    }
}

/* 下から */
.fadeUpDown {
    animation-name: fadeUpDownAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeUpDownAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fadeUpDownTrigger {
    opacity: 0;
}

.flipDown {
    animation-name: flipDownAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes flipDownAnime {
    from {
        transform: perspective(2500px) rotateX(100deg);
        opacity: 0;
    }
    to {
        transform: perspective(2500px) rotateX(0);
        opacity: 1;
    }
}


.blog__container {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #82786d;
}
