@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth;}

a {
    font-family: ZenKakuGothicNew-Bold;
}

body {
   margin: 3%;
   margin-bottom: 0%;
}

/* ====================
reload
==================== */
/* 基本 */
/* .wrapper { 
    color: #202020;
    background: #fff;
}*/

/* ランダム */
.background1 {
    color: #50586C;
    background: #DCE2F0;
}

.background2 {
    color: #331B3F;
    background: #ACC7B4;
}

.background3 {
    color: #0A174E;
    background: #F5D042;
}

.background4 {
    color: #A4193D;
    background: #FFDFB9;
}

.background5 {
    color: #202020;
    background: #FFF;
}

/*  */
.btnbtn1, .btnbtnbtn1 {
    color: #DCE2F0;
    background: #50586C;
}

.btnbtn2, .btnbtnbtn2 {
    color: #ACC7B4;
    background: #331B3F;
}

.btnbtn3, .btnbtnbtn3 {
    color: #F5D042;
    background: #0A174E;
}

.btnbtn4, .btnbtnbtn4 {
    color: #FFDFB9;
    background: #A4193D;
}

.btnbtn5, .btnbtnbtn5 {
    color: #FFFFFF;
    background: #202020;
}

/*  */
.input1, .textarea1, .a1 {
    color: #50586C;
}

.input2, .textarea2, .a2 {
    color: #331B3F;
}

.input3, .textarea3, .a3 {
    color: #0A174E;
}

.input4, .textarea4, .a4 {
    color: #A4193D;
}

.input5, .textarea5, .a5 {
    color: #202020;
}

/* ====================
Google font
==================== */

@font-face {
    font-family: ZenKakuGothicNew-Light;
    src: url(../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Light.ttf);
}

@font-face {
    font-family: ZenKakuGothicNew-Regular;
    src: url(../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Regular.ttf);
}

@font-face {
    font-family: ZenKakuGothicNew-Medium;
    src: url(../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Medium.ttf);
}

@font-face {
    font-family: ZenKakuGothicNew-Bold;
    src: url(../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Bold.ttf);
}

/*  */
.update {
    width: 30%;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 1%;
    text-align: center;
    border-top: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
}

.update p {
    font-size: 1.4vw;
    font-family: ZenKakuGothicNew-Medium;
}

.update p span {
    font-size: 1vw;
    font-family: ZenKakuGothicNew-Medium;
}
/* ====================
header
==================== */
header {
    padding-top: 2%;
    border: 1px solid;
}

/*  */
header .message {
    width: 100%;
}

header .message p {
    text-align: center;
    font-size: 1.6vw;
    font-family: ZenKakuGothicNew-Medium;
}

/*  */
header .title {
    width: 60%;
    margin-top: 10%;
    margin-bottom: 15%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

header .title h1 {
    font-size: 8vw;
    font-family: ZenKakuGothicNew-Medium;
}

header .title h1 span {
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

header .title p {
    font-size: 1.4vw;
    font-family: ZenKakuGothicNew-Medium;
}

header .con {
    border-left: 1px solid;
    border-top: 1px solid;
	width: 20%;
    margin-left: auto;
	overflow: hidden;
	position: relative;
    padding: 2%;
    font-family: ZenKakuGothicNew-Medium;
}

.txt {
	font-size: 1.2vw;
	z-index: 2;
	position: relative;
}

.txt span {
	display: block;
}
.txt span:nth-child(2) {
	font-size: 60%;
	margin-top: 3%;
}

.icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	text-align: center;
	line-height: 60px;
	position: absolute;
	right: 30px;
	bottom: 0;
	top: 0;
	margin: auto;
	transition: 1s;
}
.icon::after {
	content: "";
	background: #fff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	transition: 1s;
	display: block;
	position: absolute;
	top: 0;
	z-index: 0;
}
.icon i {
	z-index: 1;
	position: relative;
}
.con:hover .icon::after {
	transform: scale(20);
}

/* ====================
section 01
site message
==================== */
.section_01 {
    padding: 6% 0%;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
}

/*  */
.section_01 p {
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1vw;
    font-family: ZenKakuGothicNew-Medium;
    /* font-family: ZenKakuGothicNew-Regular; */
}

.section_01 p a {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* ====================
section 02
works
==================== */
/*  */
.section_02 {
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
}

/*  */
.section_02 h2 {
    padding-top: 2%;
    padding-bottom: 2%;
    border-bottom: 1px solid;
    text-align: center;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_02 h2 span {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.8vw;
}

/*  */
.section_02 h3 {
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: center;
    /* color: #202020; */
    font-size: 1.6vw;
    font-family: ZenKakuGothicNew-Medium;
    /* font-family: ZenKakuGothicNew-Regular; */
}

.section_02 h3::after, .section_02 h3::before {
    content: "-";
    margin: 0 1rem;
}

/* graphic */
.section_02 .item_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
}

.section_02 .item_wrapper .items {
    width: 34%;
    /* background-color: wheat; */
}

.section_02 .item_wrapper .items img {
    width: 100%;
    vertical-align: bottom;
}

.img_mask {
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.img_mask:hover .mask_text {
    opacity: 1;
}

.mask_text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
}

.mask_text p {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    color: #fff;
    font-size: 2vw;
    transform: translateY(-50%);
}

.section_02 .item_wrapper .items h4 {
    margin-top: 3%;
    margin-bottom: 1rem;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_02 .item_wrapper .items p {
    margin-bottom: 25%;
    font-size: 1.1vw;
    font-family: ZenKakuGothicNew-Regular;
}


/* web site */
.section_02 .item_wrapper2 .items2 {
    width: 55%;
    margin-left: auto;
    margin-right: auto;
}

.section_02 .item_wrapper2 .items2 img {
    width: 100%;
    vertical-align: bottom;
}

.section_02 .item_wrapper2 .items2 h4 {
    margin-top: 5%;
    margin-bottom: 1rem;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_02 .item_wrapper2 .items2 p {
    margin-bottom: 25%;
    font-size: 1.1vw;
    font-family: ZenKakuGothicNew-Regular;
}

/* btn */
.btn_flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.btn_flex .btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 1.2vw;
    font-family: ZenKakuGothicNew-Regular;
}

/* ====================
section 03
skills
==================== */
/*  */
.section_03 {
    border-bottom: 1px solid;
    border-left: 1px solid;
    /* border-right: 1px solid; */
}

/*  */
.section_03 h2 {
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    border-bottom: 1px solid;
    border-right: 1px solid;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_03 h2 span {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.8vw;
}

.section_03 .skills_flex {
    display: flex;
    border-bottom: 1px solid;
}

/* design */
.section_03 .skills_flex .skill_item {
    flex: 1;
    text-align: center;
    border-right: 1px solid;
    padding: 5%;
}
.section_03 .skills_flex .skill_item h3 {
    margin-top: 5%;
    font-size: 1.4vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_03 .skills_flex .skill_item p {
    margin-top: 5%;
    text-align: left;
    font-size: 1vw;
    font-family: ZenKakuGothicNew-Regular;
}

/*  */
.fa-palette {
    font-size: 4vw;
}

.fa-code {
    font-size: 4vw;
}

/*  */
.skill_btn_box {
    display: flex;
    flex-wrap: wrap;
    padding: 5%;
    gap: 2%;
    border-right: 1px solid;
}

.skill_btn_box .btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 1.2vw;
    font-family: ZenKakuGothicNew-Regular;
}

/* ====================
section 04
profile
==================== */
/*  */
.section_04 {
    border-right: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid;
}
/*  */
.section_04 h2 {
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    border-bottom: 1px solid;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_04 h2 span {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.8vw;
}

/* profile img / 切り替え */
.section_04 .Profile_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10% 0%;
    gap: 8%;
}

.section_04 .Profile_flex .profile_img {
    width: 16%;
    position: relative;
    display: block;
    cursor: pointer;
    /* overflow: hidden; */
}

.section_04 .Profile_flex .profile_img img {
    width: 100%;
    /* vertical-align: bottom; */
    position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
    border-radius: 9999px;
    border: 1px solid;
}

.section_04 .Profile_flex .profile_img:hover img:nth-of-type(2) {
    opacity: 0;
}

/*  */
.section_04 .profile_text h4 {
    margin-bottom: 5%;
    font-size: 1.44vw;
    font-family: ZenKakuGothicNew-Regular;
}

.section_04 .profile_text h4 span {
    margin-left: 1rem;
    font-size: 1.2vw;
    font-family: ZenKakuGothicNew-Regular;
}

.section_04 .profile_text p {
    line-height: 2;
    font-size: 1vw;
    font-family: ZenKakuGothicNew-Regular;
}

/* ====================
section 05
contact
==================== */
/*  */
.section_05 {
    border-right: 1px solid;
    border-left: 1px solid;
    border-bottom: 1px solid;
}
/*  */
.section_05 h2 {
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    border-bottom: 1px solid;
    font-size: 3vw;
    font-family: ZenKakuGothicNew-Medium;
}

.section_04 h2 span {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.8vw;
}

/*  */
.contact_box {
    margin: 5%;
}
  
  /* フォーム全体のスタイル */
  form {
    width: 90%;
    max-width: 400px;
    margin: auto;
    text-align: left;
  }
  
  /* ラベルのスタイル */
  label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
  }
  
  /* 入力欄のスタイル */
  input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid;
    font-size: 16px;
  }
  
  /* テキストエリア */
  textarea {
    resize: vertical;
    height: 120px;
  }
  
  /* 送信ボタンのスタイル */
  button {
    border: none;
    padding: 10px;
    width: 40%;
    margin-top: 5%;
    font-size: 16px;
    background-color: #fff;
    border: 2px solid;
    /* cursor: pointer; */
    text-align: center;
    font-family: ZenKakuGothicNew-Medium;
  }

/* ====================
footer
==================== */
.copyright {
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    height: 0px;
    border-top: 30px solid;
    border-bottom: 30px solid transparent;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    text-align: center;
    }

.copyright p {
    position: relative;
    top: -25px;
    color: #fff;
    font-size: 1vw;
    font-family: ZenKakuGothicNew-Regular;
}

.top {
    width: 5%;
    margin-left: auto;
    margin-right: 3%;
    text-align: center;
    font-family: ZenKakuGothicNew-Regular;
    border-right: 1px solid;
    border-left: 1px solid;
    border-top: 1px solid;
}

/* ====================
いつでもTOPへ
==================== */
/*  */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    left: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}