@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #333;
}

div:after {
	content: "";
	display: block;
	clear: both;
}


body {
	line-height: 1.6;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
}

#Container {
	padding-bottom: 10px;
	margin: 0 auto;
}

#Contents {
	margin: 0 auto;
	padding-bottom: 10px;
	overflow: hidden;
}

nav {
	max-width: 860px;
	margin: 0 auto;
	padding: 50px;
}

nav ul li {
	font-family: "Julius Sans One", sans-serif;
	list-style: none;
	width: 150px;
	font-size: 20px;
	margin: 0 20px 20px;
	float: left;
}

nav ul li a {
	display: block;
	padding: 5px;
	text-align: center;
	text-decoration: none;
	color: #000;
	overflow: hidden;
}

nav ul li a:hover {
	text-decoration: none;
	opacity: .5;
	transition: .3s;
}
nav ul li.active a {
	border-bottom: 1px solid #fff;
	text-decoration: none;
	opacity: 1;
	cursor: default;
}

#Main {
	max-width: 700px;
	margin: 0 auto;
}

.greeting{
	margin: 210px auto;
}
.greeting > p {
	text-align: center;
	line-height: 1.9;
	letter-spacing: 5px;
}

.scroll {
	text-align: center;
}

.scroll a {
	color: #fff;
	display: block;
	position: relative;
	padding-bottom: 50px;
}

.scroll a::before {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: 0 auto;
	width: 1px;
	height: 63px;
	background: #fff;
	content: "";
	animation: scrollAnimation 3s cubic-bezier(1, 0, 0, 1) infinite;
}

.scroll span {
	writing-mode: vertical-lr;
	text-transform: uppercase;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 5px;
	padding-bottom: 10px;
}

@keyframes scrollAnimation {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}
	30% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}
	70% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}
	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}


#TopImg img {
	width: 100%;
	margin: 0 auto;
	display: block;
}

#pictures{
	margin: 0 auto 100px;
}
#Work1{
	max-width: 600px;
	position: relative;
	left: 230px;
	margin-bottom: 30px;
}
#Work1 a:hover img {
	opacity: .6;
	transition: .3s;
}
#Work2{
	max-width: 600px;
	margin: 0 auto;
	margin-bottom: 30px;
}
#Work2 a:hover img {
	opacity: .6;
	transition: .3s;
}
#others{
	max-width: 600px;
	position: relative;
	right: 130px;
}
#others a:hover img {
	opacity: .6;
	transition: .3s;
}

#profile{
	max-width: 700px;
	margin: 0 auto;
	margin-bottom: 200px;
	padding-top: 100px;

}
#profile_text{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#profile h1{
	font-family: "Julius Sans One", sans-serif;
	font-size: 20px;
}
#profile h2{
	letter-spacing: 50px;
	padding: 20px 0;
	font-weight: normal;
	color: #fff;
}
#profile_text p{
	line-height: 1.9;
	letter-spacing: 1px;
}

#Main #PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

.titles{
	font-size: 24px;
	text-align: center;
	color: #fff;
	padding-bottom: 30px;
}
.titles_k01{
	padding-bottom: 0;
}
.titles_k03{
	color: #333;
}


.fade-in-img {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease-out, transform 2s ease-out;
  transition-delay: calc(var(--delay) * .5s);
}
.fade-in-img.visible {
  opacity: 1;
  transform: translateY(0);
}


#Main > p {
	margin-top: 10px;
}

#b_index{
	animation: bgloop00 18s infinite;
}
/* 緑→赤→緑 */
@keyframes bgloop00{
	0%   { background: #81C784; } 
	16%  { background: #c3d175; }
	33%  { background: #d4bc6d; }
	50%  { background: #e09557; } 
	66%  { background: #dbb845; }
	83%  { background: #c3d175; }
	100% { background: #81C784; }
}
#b_k01{
	animation: bgloop01 18s infinite;	
}
/* 赤オレンジ→黄→赤オレンジ */
@keyframes bgloop01 {
	0%   { background: #e5490b; } 
	16%  { background: #faa94d; } 
	33%  { background: #f5c766; } 
	50%  { background: #f0da81; } 
	66%  { background: #f5c766; } 
	83%  { background: #faa94d; } 
	100% { background: #e5490b; } 
  }  
#b_k02{
	animation: bgloop02 18s infinite;
}
/* ピンク→白→ピンク */
@keyframes bgloop02 {
	0%   { background: #e372a1; } 
	16%  { background: #EC9BA3; } 
	33%  { background: #e7c3d2; } 
	50%  { background: #ECDCDE; } 
	66%  { background: #e7c3d2; } 
	83%  { background: #EC9BA3; } 
	100% { background: #e372a1; } 
}
#b_k03{
	animation: bgloop03 18s infinite;
}
/* 青→緑→青 */
@keyframes bgloop03 {
	0%   { background: #C9D9E8; } 
	16%  { background: #5ea0a0; } 
	33%  { background: #5ea081; } 
	50%  { background: #869D50; } 
	66%  { background: #5ea081; } 
	83%  { background: #5ea0a0; } 
	100% { background: #C9D9E8; } 
}

.link_button {
    text-align: center;
    margin: 30px auto;
}
.link_button a {
    display: inline-block;
    border: 1px solid #fff;
    padding: 15px 50px;
    transition: .3s;
}
.link_button a:hover {
    border: 1px solid #333;
    background-color: #333;
	color: #fff;
}

.k02_link_button {
    text-align: center;
    margin: 35px;
}
.k02_link_button a {
    display: inline-block;
    border-bottom: 1px solid #fff;
    padding: 5px 20px;
	margin: 10px;
    transition: .3s;
}
.k02_link_button a:hover {
	opacity: .5;
    border-bottom: 1px solid #333;
}

.texts{
	width: 600px;
	margin: 60px auto;
	display: block;
}
.texts_k01{
	margin: 0 auto 60px;
}
.textbox{
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #fff;
}
.tb_k03{
	border-bottom: 1px dotted #333;
	text-align: left;
}

.textbox dt{
	font-size: 18px;
	font-weight: bold;
	padding-bottom: 5px;
}

.textbox li{
	padding: 5px 0;
}

.sections{
	margin: 100px auto 200px;
}


/* modal */

.modal-all{
	max-width: 700px;
	display: grid;
	gap: 50px;
	grid-template-columns: auto auto;
	margin: 150px 0 200px;
	align-items: center;
}

.modal-open:hover{
	opacity: .8;
	transition: .3s;
}
.modal-open{
  	cursor: zoom-in;
	width: 300px;
}
.modal-open img{
	width: 300px;
}

.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #333;
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 2;
}

.modal-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal-container.active{
  opacity: 1;
  visibility: visible;
}

.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 700px;
  width: 90%;
}

.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.modal-content{
  background: rgb(255, 255, 255, .8);
  padding: 30px;
}

/* modal */


/* top固定 */
.gotop {
	position: fixed;
	right: 50px;
	bottom: 30px;
	z-index: 1;
	display: none;
	/*デフォルトで非表示にする*/
}
@media screen and (max-width:768px) {
    .gotop img {
        display: none;
    }
}

address {
	font-size: 14px;
	clear: both;
	text-align: center;
	font-style: normal;
}