/*=======================================
リセット
=======================================*/

html,
body,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  border: 0;
  font-size: 100%;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

article,
header,
footer,
aside,
figure,
figcaption,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
  list-style-type: none;
}

main {
  display: block; /* for IE11 */
}

/*=======================================
共通部分
=======================================*/

/* サイト全体共通 */
.clearfix:after {
  clear: both;
  content: "";
  display: block;
}

body {
  background-color: rgb(239, 242, 245);
  font-family: "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ,
    Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

header,
nav.gNavi,
main {
  margin: 0 auto;
  width: 1170px;
}

/* ヘッダー */

/* グローバルナビゲーション */
nav.gNavi {
  padding: 40px 0 30px;
}

nav.gNavi ul li a {
  border-bottom: 3px solid rgb(000, 104, 183);
  color: #333;
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-left: 25px;
  padding-bottom: 8px;
  text-align: center;
  text-decoration: none;
  width: 200px;
}

nav.gNavi ul li a:hover {
  border-bottom-color: rgb(000, 073, 134);
}

nav.gNavi ul .currrent a {
  border-bottom-color: #897101;
}

nav ul li {
  display: inline-block;
}

.spaceAdj {
  margin-left: 105px;
}

/* フッター */
footer {
  padding: 20px 0 30px;
  background-color: rgb(000, 104, 183);
  text-align: center;
}

footer nav ul {
  padding: 30px 30px 40px 0;
}

footer nav ul li a {
  color: rgb(239, 242, 245);
  display: block;
  font-size: 14px;
  margin-left: 30px;
  text-decoration: none;
}

footer .snsBtn li {
  display: inline-block;
  margin: 0 12px 20px;
}

footer .copyright {
  font-size: 14px;
}

/* メインコンテンツ共通 */
main {
  margin-bottom: 80px;
}

main p {
  line-height: 1.5;
  margin-bottom: 30px;
}

main a:link {
  color: #1d297f;
}

main li {
  line-height: 1.5;
}

main h2 {
  background: rgb(255, 255, 255) url(cat3.png) no-repeat 5px 50%;
  color: rgb(000, 104, 183);
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 15px 15px 15px 50px;
}

/* ページトップへ戻る */
#pagetop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}

/*=======================================
トップページ
=======================================*/

/* メインビジュアル */
#topMainVisual {
  margin-bottom: 30px;
}

/* スライダーのボタン */
.slick-dots {
  bottom: 15px;
}

.slick-dots li {
  padding: 0 5px;
}

.slick-dots li button:before {
  font-size: 14px;
  color: #fff;
  opacity: 1;
}
.slick-dots li.slick-active button:before {
  color: #ed4343;
  opacity: 1;
}

/* スライダーの矢印 */
/* スライダー矢印のサイズ変更 */
.slick-prev,
.slick-next {
  width: 50px; /* 矢印の幅 */
  height: 50px; /* 矢印の高さ */
}

/* 左矢印の位置調整 */
.slick-prev {
  left: -60px; /* 例: スライドより左側にずらす */
}

/* 右矢印の位置調整 */
.slick-next {
  right: -60px; /* 例: スライドより右側にずらす */
}

.slick-prev:before,
.slick-next:before {
  font-size: 40px; /* 矢印アイコンのサイズ */
  color: rgb(000, 104, 183);
}

/* ２段組みのレイアウト */
.topContentsBox {
  padding-top: 20px;
}
.topInfoBox {
  float: left;
  margin-right: 30px;
  width: 640px;
}
.topTwitterBox {
  float: right;
  width: 500px;
}
/* ２段組みの中身 */
/* ツールチップ */
.Toptooltip {
  position: relative;
  cursor: pointer;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "ＭＳ 明朝", serif;
  font-size: 28px;
  font-weight: bold;
  animation: sway 1.5s infinite ease-in-out;
  display: inline-block;
}
.Toptooltip:hover .Toptooltip-text {
  opacity: 1;
  visibility: visible;
}
.Toptooltip-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-25%);
  bottom: 55px;
  display: inline-block;
  padding: 25px;
  white-space: nowrap;
  font-size: 25px;
  line-height: 1.3;
  background: rgb(255, 255, 255);
  color: rgb(000, 104, 183);
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s ease-in;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.Toptooltip-text:before {
  content: "";
  position: absolute;
  top: 82px;
  left: 20%;
  margin-left: -7px;
  border: 10px solid transparent;
  border-top: 15px solid rgb(255, 255, 255);
}
.Toptooltip a:link,
.Toptooltip a:visited {
  text-decoration: none;
  color: rgb(000, 000, 000);
  font-weight: bold;
}

@keyframes sway {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
.topCopy {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "ＭＳ 明朝", serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
}
#codeLike {
  color: rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.8);
  padding-left: 10px;
}
#codeLike a:link,
#codeLike a:visited {
  text-decoration: none;
  color: rgb(255, 255, 255);
}
#codeLike a:hover,
a:active {
  text-decoration: none;
  color: rgb(163, 188, 226);
}
.topNews {
  margin: 0 20px;
}
.topNews li {
  border-bottom: 1px dotted #897101;
  padding: 15px 0;
}
.topNews li .fa {
  color: rgb(000, 104, 183);
  padding: 15px 10px 0 0;
}

/* プロフィールのレイアウト */
.topProfile {
  margin-top: 50px;
  height: 835px;
  padding-bottom: 70px;
  position: relative;
  background-color: rgb(239, 242, 245);
  transition: background-color 1s ease;
}
.topProfile.active {
  background-color: rgb(000, 104, 183);
}
.swordBox img {
  vertical-align: middle;
  position: absolute;
  display: inline-block;
  overflow: hidden;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
}
#swordColor {
  display: none;
  opacity: 0;
}
#arrowSword {
  position: absolute;
  top: 17%;
  left: 18.8%;
  transform: translate(-50%, -50%);
  animation: arrowSword 3.5s infinite;
}
@keyframes arrowSword {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.profileBox {
  float: right;
}
.topProfile p {
  width: 600px;
  margin-left: 70px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  line-height: 2;
  font-size: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
#profileName {
  display: inline-block;
  margin-bottom: 40px;
}
#profileName strong {
  font-size: 40px;
}
#profileName span {
  margin-left: 20px;
  font-size: 20px;
}
.proLang {
  margin-left: 60px;
}
.langLevel {
  color: rgb(000, 104, 183);
  font-size: 18px;
}
.proHobby {
  margin-left: 60px;
}
.proText {
  display: inline-block;
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.5;
}

/* スキルのレイアウト */
.topSkill h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  padding-top: 20px;
}
.topSkill table {
  margin: 0 auto;
  width: 100%;
}
.topSkill th {
  font-weight: bold;
}
.topSkill th,
td {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
}
.leftSkill {
  margin: 20px 20px 20px 20px;
  float: left;
  width: 500px;
}
.rightSkill {
  margin: 20px 20px 20px 20px;
  float: right;
  width: 500px;
}

/* スキルの中身 */
.skillBox {
  background-color: rgb(255, 255, 255);
  margin-bottom: 50px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.plSkill {
  height: 520px;
}
.plSkill .fa {
  padding-right: 10px;
}
.cgSkill {
  height: 250px;
}
.cgSkill .fa {
  padding-right: 10px;
}
.dbSkill {
  height: 330px;
}
.dbSkill .fa {
  padding-right: 10px;
}
.softSkill {
  height: 520px;
}
.softSkill .fa {
  padding-right: 10px;
}
.codingSkill {
  height: 250px;
}
.codingSkill .fa {
  padding-right: 10px;
}
.otherSkill {
  height: 330px;
}
.otherSkill .fa {
  padding-right: 10px;
}

/* ３段組みのレイアウト */
.topLinkBox {
  clear: both;
  margin-top: 50px;
  width: 1170px;
}
.topLink {
  float: left;
  line-height: 0;
  margin-right: 30px;
  width: 370px;
}
.topLink:last-child {
  margin-right: 0;
}

/* ３段組みの中身 */
.topLink a {
  display: block;
  text-align: center;
}

.topLink a:link {
  color: #fff;
  text-decoration: none;
}

.topLink a:visited {
  color: #ead59d;
}

.topLink a:hover {
  opacity: 0.8;
}

.topLink a img {
  border-radius: 10px 10px 0 0;
}

.topLink a span {
  background-color: rgb(000, 104, 183);
  border-radius: 0 0 10px 10px;
  display: block;
  padding: 20px 0;
}

/*=======================================
共通規格
=======================================*/
.middle {
  vertical-align: middle;
}
.tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}
.tooltip-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 55px;
  display: inline-block;
  padding: 25px;
  white-space: nowrap;
  font-size: 25px;
  line-height: 1.3;
  background: rgb(255, 255, 255);
  color: rgb(000, 104, 183);
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s ease-in;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro",
    "ＭＳ 明朝", serif;
}
.tooltip-text:before {
  content: "";
  position: absolute;
  top: 82px;
  left: 50%;
  margin-left: -7px;
  border: 10px solid transparent;
  border-top: 15px solid rgb(255, 255, 255);
}

/*=======================================
404ページ
=======================================*/
#top404 {
  margin: 40px 0 40px 0;
  line-height: 1.5;
  font-size: 40px;
  text-align: center;
  color: rgb(000, 104, 183);
  font-weight: bold;
}

#reason404 {
  margin: 40px 0 40px 0;
  font-size: 20px;
  text-align: center;
}

.styled {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(000, 104, 183, 1);
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.styled:hover {
  background-color: rgb(049, 087, 111);
}

.styled:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

/*=======================================
自作ゲームのページ
=======================================*/

/*=======================================
プログラミングのページ
=======================================*/

.top3DCG {
  margin-top: 50px;
}
.top3DCG h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}
.galleryBox div {
  background-color: rgb(255, 255, 255);
  padding: 10px;
  border-top: 1px solid rgb(204, 204, 204);
  border-left: 1px solid rgb(204, 204, 204);
  box-shadow: 3px 3px 3px rgb(119, 119, 119);
  width: 400px;
  height: 350px;
  text-align: center;
  padding-top: 20px;
  margin-bottom: 50px;
}
.galleryBox p {
  text-align: center;
  padding: 0;
  margin: 10px 0;
}
.cgLeft {
  float: left;
  margin-left: 50px;
}
.cgRight {
  float: right;
  margin-right: 50px;
}
.cgLeft1 p {
  margin-top: 30px;
}

/*=======================================
自作ゲームのページ
=======================================*/
.topGame {
  margin-top: 50px;
}
.topGame h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}
.galleryBox div {
  background-color: rgb(255, 255, 255);
  padding: 10px;
  border-top: 1px solid rgb(204, 204, 204);
  border-left: 1px solid rgb(204, 204, 204);
  box-shadow: 3px 3px 3px rgb(119, 119, 119);
  width: 400px;
  height: 350px;
  text-align: center;
  padding-top: 20px;
  margin-bottom: 50px;
}
.galleryBox p {
  text-align: center;
  padding: 0;
  margin: 10px 0;
}
.gameLeft {
  float: left;
  margin-left: 50px;
}
.gameRight {
  float: right;
  margin-right: 50px;
}
.gameLeft1 h3,
.gameLeft1 p {
  color: rgb(000, 000, 000);
}
.gameLeft1 h3 {
  margin-bottom: 50px;
}
.gameLeft1 p {
  margin-top: 30px;
}
.gameLeft1 a {
  text-decoration: none;
}
