body {
	width: 100%;
	margin: 0 auto;
}
/*ヘッダー*/

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
}
.head {
	width:90%;
	display:flex;
	flex-wrap:wrap;
    justify-content: column;
	align-items:center;
}


h1{	
	margin:0 60px;
	font-family: "Broadway";
	font-size: 60px;
	margin-right: 20px;
    border-bottom: 0px solid #000;
    background: linear-gradient(90deg, #58c6ff 0%, #076ad9 20%, #ff3bef 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    animation: rotation-x 2.5s linear infinite;
}
@keyframes rotation-x {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}
h2 {
	margin:0 35px;
	font-family: "Nico Moji";
	font-size:40px;
	color: #000000;
	white-space: nowrap;
}

.border {
	width:90%;

}

ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;;
    justify-content: space-around;;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom:50px;
    text-align:center;
}

.navi {
	width:90%;
	margin:0 auto;
}

li {
    text-align:center;
	font-family: "Broadway";
	font-weight:bold;
	width:100%;
	height:20px;
	color:#696969;
	font-size:25px;
	text-decoration:underline;
	background-color:#c0c0c0;
	margin-right:3px;
	list-style:none;
	display: block;
}
li.navi_list :hover {    
	display: block;
	background-color:#00ff7f;
	transition: 1s;
	transform: rotateX(360deg);
}
/*ドロップダウンメニュー*/
.dropdown {
    display: none;/*デフォルト時非表示*/
    width: 50%;
    position: relative;
	left:-40px;
}
.navi_list:hover .dropdown {
    display: block;/*ホバーしたら表示*/
}
.dropdown_list {
    text-align:center;
    background-color: #696969;
    height: 30px;
    transition: all .3s;
    position: relative;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    z-index:100;
}
.dropdown_list:not(:first-child)::before{

    width: 100%;
    height: 1px;
    background-color: #3492d1;
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown_list:hover {
    background-color: #f0f8ff;
    text-decoration: none;
}
.dropdown_list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
}
.dropdown_list a::before {

    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}



/*--トップページ--*/
#about {
	margin-top:30px;
}

h3.name{
	font-family: "Broadway";
	color:#696969;
	font-size:33px;
	width:40%;
	margin:10px auto;
	text-align:center;
	animation: h3 1.5s;
}
@keyframes h3{
  0% {
    transform: translateY(-200px);
  }
  100% {
    transform: translateY(0);
  }
}
.line {
	width:40%;
	margin-bottom:20px;
	padding-top:0;
}

p.app_name{
	font-family:"M PLUS 1p";
	margin:10px auto;
	text-align:center;
}

/*計算機*/
#calculator{
	margin: 20px auto;
	width:90%;
}

table{
	margin: 0 auto;
	width:40%;
	border-collapse: collapse;
	border:2px solid black;
	font-family: "Broadway";
	font-size:40px;
	text-align:center;
}
th{
	background-color:#87cefa;
	padding:10px;
}

td{
	width:40px;
	height:40px;
	padding:10px;
}
td:hover{
	background-color:red;
	cursor:pointer;
}

#answer{
	width:350px;
	height:60px;
	border:2px solid black;
	margin:0 auto;
	font-size:42px;
	text-align:right;
}



/*時計*/
#clock{
  	width:90%;
  	margin: 20px auto;
	background-color: #333333;
	padding: 12px 0px;
	text-align:center;
	border-radius: 20px;
	
}
#time{
	font-family: "Nico Moji";
	font-size: 42px;
	color: #FFFFFF;
	background-color: #333333;
	text-shadow: #00fa9a 1px 0 10px;
}

/*ポートフォリオサイト*/
.site {
	text-align:center;
}
.site img {
  	margin: 0 auto;
	width:40%;
	margin: 20px auto;
}

/*矢印*/
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #000000;
    }
}

/*キャラ*/

.content {
    width: 18%;
    height: 18%;
    background-color:#fff;
}
.stamp{
    display: flex;
    align-items: center;
	height: 30%;
	overflow: hidden;
}
.slideshow {
	display: flex;
	animation-name: loop-slide;			/* アニメーション名 */
	animation-duration: 20s;				/* 開始から終了までの所要時間 */
	animation-iteration-count: infinite;		/* アニメーションのループ回数 */
	animation-timing-function: linear;		/* 動きの加減速 */
	animation-delay: 1s;				/* アニメーションが開始するまでの遅延時間 */
	animation-fill-mode: both;            /* アニメーション開始前・終了後の挙動 */
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.content:nth-child(1):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(2):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(3):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(4):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(5):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(6):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(7):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(8):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(9):hover {
	background-color:#fff;
	transform:scale(1.3);
}
.content:nth-child(10):hover {
	background-color:#fff;
	transform:scale(1.3);
}



/*フッター*/

#footer {
	width:40%;
	margin:20px auto;
	border-top: 2px solid #000000;
	padding-top:15px;
	text-align:center;
}
p {
	width:40%;
	margin:5px auto;
	text-align:left;
	font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:18px;
}