@charset "utf-8";

/*ヒーロー*/
.main-box {
	background-color: #B6D0E3;
}

.main-img {
    position: relative;
	display: inline-block;
    width: 100%;
    height: 600px;
}

.main-img span {
    display: block;
    max-width: 100%;
    height: auto;
}

.main-img span:nth-of-type(2){
    position: absolute;
	inset: 0;
    width: 25%;
    height: 610px;
	margin: auto;
	
	border-radius: 300px 300px 0 0;
	border: 10px solid #fff;
    border-bottom: none;
	z-index: 1;
}

.roop {
    background: url("../images/mainbgi.png") repeat-x;
	background-size: auto 100%;
    background-position: 0 0;
    -webkit-animation: bgroop 50s linear infinite;
    animation: bgroop 50s linear infinite;
}

@-webkit-keyframes bgroop {
    from {
        background-position: 0  0;
    }
    to {
        background-position: -4000px 0;
    }
}
@keyframes bgroop {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -4000px 0;
    }
}

.main-img span:nth-of-type(3){
    position: absolute;
	top: 110%;
    left: 50%;
    transform: translate(-50%, -110%);
    width: 20%;
    height: auto;
	z-index: 1;
}

.main-img span:nth-of-type(4){
    position: absolute;
    inset: 0;
    width: 100%;
    height: 600px;
	z-index: 5;
}

.main-img span:nth-of-type(5) {
	position: absolute;
	top: 25%;
	left: 10%;
}

.main-img span:nth-of-type(6) {
	position: absolute;
	top: 40%;
	right: 15%;
	animation-delay: 0.5s; 
}
/*アイテム*/
.item {
	width: 20%;
    height: auto;
    animation: swing 1s steps(2) infinite alternate;
	z-index: 3;
}

@keyframes swing {
    0%   { transform: rotate(-7deg); }
	100%   { transform: rotate(14deg); }
}

/*work*/
.work-box {
	display: grid;
    place-content: center;
	width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    background-image:
    repeating-linear-gradient(
      90deg,
      #b6d0e33d 0px,
      #b6d0e33d 30px,
      transparent 30px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      #b6d0e33d 0px,
      #b6d0e33d 30px,
      transparent 30px,
      transparent 60px
    );
    background-attachment: fixed, fixed;
    background-repeat: repeat, repeat;
    background-size: auto, auto;
    background-position: 0 0, 0 0;
	
    padding: 0 40px 100px 40px;
	background-size: 100%;
    background-position: 0 0;
}

.work-ttl {
    width: 100%;
	height: auto;
	padding: 180px 0 20px;
	margin: 0;
    background-color: #fff;
    background-image:
    url("../images/lace.png"),
    repeating-linear-gradient(
      90deg,
      #b6d0e33d 0px,
      #b6d0e33d 30px,
      transparent 30px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      #b6d0e33d 0px,
      #b6d0e33d 30px,
      transparent 30px,
      transparent 60px
    );
    background-attachment: scroll, fixed, fixed;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center -20%;
	
    position: relative;
    z-index: 4;
}

.tab-group {
    display: flex;
    align-self: flex-start;
    width: 960px;
    gap: 6px;
    margin: 0;
}

.white {
	background-color: #DCE6EF;
	color: #7FA6C9;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.12);
}

.lightblue {
	background-color: #B0C8DC;
    color: #fff;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.12);
}

.blue {
	background-color: #7FA6C9;
    color: #fff;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.12);
}

.tab-btn {
	width: 150px;
    padding: 15px 28px;
    border-radius: 20px 20px 0 0;
    font-family: 'Georgia', cursive;
  	font-weight: bold;
  	font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    position: relative;
    bottom: 0;
}

.box-design {
	max-width: 1000px;
    width: 100%;
}

.tab-content {
    display: none;
    border-radius: 0 30px 30px 30px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.12);
	max-height: 500px;
    height: 400px;
    padding: 60px;
	background-image: url("../images/lacesquare.png");
	background-size: auto 80%;
	background-position: center;
	background-repeat: no-repeat;
  }
  .tab-content.active { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; }

  .tab-content.active.theme-web    { background-color: #DCE6EF; }
  .tab-content.active.theme-banner { background-color: #B0C8DC; }
  .tab-content.active.theme-other  { background-color: #7FA6C9; }

  .theme-banner li .item-title,
  .theme-other  li .item-title { color: #DCE6EF; }

  .theme-banner { background-color: #DCE6EF; color: #B0C8DC; }
  .theme-banner:hover { background-color: #B0C8DC; }
  .theme-other { background-color: #DCE6EF; color: #7FA6C9; }
  .theme-other:hover { background-color: #7FA6C9; }

.box-design-ul {
	display: flex;
	gap:30px;
	margin: 0;
	padding: 0;
}

.box-design-ul li {
	flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.box-design-ul img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-design-ul div {
   width: 260px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.box-design-ul li a.img-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
  }

.box-design-ul li a.img-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.2s ease;
  }

.box-design-ul li a.img-link:hover img {
    transform: translateY(-3px);
  }

.box-design-ul li .item-title {
    color: #7a9ab0;
    text-align: center;
    min-height: 2.5em;
  }

.box-design-ul li .color {
	color: #fff;
}

/*about*/
.about-ttl {
	width: 100%;
	height: 100%;
	padding: 180px 0 20px;
	margin: 0;
	background-image: url("../images/lace.png");
	background-color: #DDE9F2;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center -20%;
	z-index: 3;
}

.about-box {
	position: relative;
	display: flex;
    justify-content: center;
	overflow: hidden;
	width: 100%;
	height: 1280px;
	margin: 0 auto;
}

.bgframe {
    position: absolute;
    top: 0;
	left: 0;
	z-index: 1;
}

.bgsky {
    position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	inset: 0;
	z-index: -3;
}

.about-img{
    position: absolute;
	width: 20%;
	top: 25%;
	left: 68%;
	transform: rotate(-10deg);
	flex-shrink: 0;
	z-index: 1;
}

.about-text-box {
	position: absolute;
	display: flex;
	justify-content: center;
	flex-direction: column;
	width: 90%;
    top: 30%;
    z-index: -1;
}

.about-text {
	width: 70%;
	margin: 0 auto;
	padding: 80px 20px 120px;
	background-color: #fff;
	border-radius: 20px;
}

.about-text p {
	text-align: left;
    line-height: 2;
    color: #B0C8DC;
	font-size: 20px;
    margin-bottom: 16px;
  }

.about-text .about-skills {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

.about-skills span {
    padding: 4px 16px;
    background-color: #7FA6C9;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

.about-more {
	position: absolute;
	top: 63%;
	height: 30px;
}

/*more*/
.morebtn {
  	display: block;
  	width: 250px;
  	padding: 10px 0;
  	border-radius: 40px;
  	background-position: 100% 0;
  	background-size: 200% auto;
	background-image: linear-gradient(
		to right,
		#7FA6C9 0%,
		#7FA6C9 50%,
		#b0c8dc 50%,
		#b0c8dc 100%
	  );
  	box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
  	transition: background-position ease 0.4s;
  	text-align: center;
  	color: #fff;
  	text-decoration: none;
  	font-weight: bold;
  	font-size: 20px;
	z-index: 8;
}

.morebtn:hover {
  	background-position: 0 0;
}


/*フッター*/
footer {
	position: relative;
	width: 100%;
}

.cloud {
    position: absolute;
	bottom: -5%;
	left: 0;
	z-index: 3;
}

.footer-text {
	position: absolute;
	bottom: 2%;
	left: 5%;
	z-index: 5;
}

.copyright {
	position: absolute;
	bottom: 2%;
	left: 90%;
	z-index: 5;
}

.footer-text p, .footer-text a, .copyright {
	color: #7FA6C9;
	font-family: 'Georgia', cursive;
	font-weight: bold;
	font-size: 24px;
}


.aboutpage-text p {
	font-size: 32px;
}

.aboutpage-skills {
	color: #D9E7F1;
	z-index: 3;
}

/* オープニング */

.opening {
	position: fixed;
    width: 100%;
    height: 100vh;
    inset: 0;
    background: #D9E7F1;
    animation: opAnime 1s linear 1.8s forwards;
    z-index: 1000;
}

.op-wrapper {
    position: absolute;
    inset: 0;
    margin: auto;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 20px;
}

.hello {
    position: static;
    text-align: center;
    color: #fff;
    margin: auto;
    opacity: 0;
    animation: textAnime1 .5s linear forwards;
}
 
.hello span{
    display: inline-block;
    font-size: 6vw;
    font-family: "Mochiy Pop One", sans-serif;
}

.op-img {
	width: 10%;
	animation: drop 0.7s ease-out forwards,
			   jump 0.9s ease-in-out 0.6s infinite,
               opAnime 1.2s linear 1.6s forwards;
}

.hello span:nth-child(1){
    animation: textAnime2 .6s ease-in-out .5s forwards;
}
 
.hello span:nth-child(2){
    animation: textAnime2 .6s ease-in-out .6s forwards;
}
 
.hello span:nth-child(3){
    animation: textAnime2 .6s ease-in-out .7s forwards;
}
 
.hello span:nth-child(4){
    animation: textAnime2 .6s ease-in-out .8s forwards;
}
.hello span:nth-child(5){
    animation: textAnime2 .6s ease-in-out .9s forwards;
}
/*keyframe*/
@keyframes textAnime1{
0%{
    opacity: 0;
}
100%{
    opacity: 1;
}
}
 
@keyframes textAnime2 {
0% {
    transform: translateY(0);
}
25%{
    transform: translateY(-30%);
}
75% {
    transform: translateY(30%);
}
100%{
    transform: translateY(0);
}
}
 
@keyframes opAnime{
0%{
    opacity: 1;
}
99%{
    opacity: 0;
}
100%{
    opacity: 0;
    visibility: hidden;
}
}

@keyframes drop {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


/*レスポンシブ*/
@media screen and (max-width: 1300px) {
.tab-content {
    height: auto;
    padding: 40px;
}
    
.main-img {
    width: 100%;
    height: 400px;
}

.main-img span:nth-of-type(2){
    height: 410px;
}


.about-more {
	top: 70%;
}

.about-img{
    position: absolute;
	width: 20%;
	top: 60%;
	left: 71%;
}
.cloud {
	bottom: -1%;
}

.footer-text {
	position: absolute;
	bottom: 1%;
	left: 5%;
}

.copyright {
	position: absolute;
	bottom: 1%;
	left: 85%;
}
}

