@charset "utf-8";

/* common */
html {
  font-size: 16px;
}
body {
  font-size: 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #414141;
}
:root {
  --main-color: #66b4a2;
  --sub-color: #F0F0F0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
#wrapper {
  max-width: 1920px;
}
main {
  overflow: hidden;
}
.inner {
  max-width: 1080px;
  margin: 0 auto;
}
h1, h2, h3, h4 {
  color: var(--main-color);
  font-family: 'Poiret One', cursive;
}
.header-ttl, .skill-list, .period, .mail, nav, #footer-nav, .number {
  font-family: 'Poiret One', cursive;
  font-weight: bold;
}
h2 {
  font-size: 1.625em;
  margin-bottom: 60px;
}
h4 {
  font-weight: bold;
  margin: 0 0 1rem 0;
}
a {
  color: #707070;
  text-decoration: none;
}
a:hover {
  color: var(--main-color);
}
small {
  font-size: 0.7em;
}
.sp {
  display: none;
}
.target {
  opacity : 0;
  transform: translateY(40px);
  transition: 1s;
}
.is-active {
	opacity: 1;
  transform: translateY(0);
}
.mark {
  background: linear-gradient(transparent 80%, rgba(102, 180, 162, 0.6) 80%);
}

.frame1 {
  opacity: 0;
  position: absolute;
  width: 70%;
  right: 0;
  z-index: 3;
}
.frame2 {
  opacity: 0;
  position: fixed;
  top: 40px;
  left: 0;
  height: 90%;
  z-index: 3;
}


/* ページ遷移 */
.allcontent {
  opacity: 0;
  pointer-events: none;
}
body.appear .allcontent {
  animation-name: PageAnime-content;
  animation-duration: 0.55s;
  animation-delay: 0.55s;
  animation-fill-mode: forwards;
  opacity: 0;
  pointer-events: auto;
}
.animation .allcontent {
  opacity: 1;
  pointer-events: auto;
}
@keyframes PageAnime-content {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}
.btt .animation-bg {
  background: var(--main-color);
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.btt .animation-bg {
  animation-name: PageAnime-btt;
}
@keyframes PageAnime-btt {
  0% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
  50% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: top;
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}
.fade .animation-bg {
  background: var(--main-color);
  content: "";
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: PageAnime-fade;
  animation-duration: 1.5s;
  animation-delay: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}
@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.topimg {
  animation: SlideIn 4s;
}
@keyframes SlideIn {
  0% {
    opacity: 0;/*初期状態では透明に*/
    transform: translateX(64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.topimg2 {
  animation: SlideIn2 2.2s;
}
@keyframes SlideIn2 {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.topimg3 {
  animation: SlideIn3 3.2s;
  animation-delay: 2.2s;
  animation-fill-mode: forwards;
}
@keyframes SlideIn3 {
  0% {
    opacity: 0;/*初期状態では透明に*/
    transform: translateY(64px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.sptopimg {
  animation: SlideIn3 3.2s;
  animation-delay: 3s;
  animation-fill-mode: forwards;
}
@keyframes SlideIn3 {
  0% {
    opacity: 0;/*初期状態では透明に*/
    transform: translateY(-64px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-fade {
  opacity: 0;
}
.fadein {
  animation: fadein 3s ease-out forwards;
  opacity: 1;
}
@keyframes fadein {
  0% {
     opacity: 0
  }
  100% {
     opacity: 1
  }
}


/* ハンバーガーメニュー */
.c-hamburger {
  display: inline-block;
  text-decoration: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  position: fixed;
  z-index: 5;
  top: 5%;
  right: 5%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  background-color: rgba(255, 255, 255, 0.8);
}
.c-hamburger__line {
  width: 22px;
  height: 2px;
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: all .3s;
}
.c-hamburger__line::before, .c-hamburger__line::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: inherit;
    position: absolute;
    transition: all .3s;
}
.c-hamburger__line::before {
    top: -6px;
}
.c-hamburger__line::after {
    top: 6px;
}
.c-drawer {
  position: fixed;
  z-index: 4;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(102, 180, 162, 0.8);
  visibility: hidden;
}
.is-drawer-active .c-hamburger__line { 
  background-color: transparent;
}
.is-drawer-active .c-hamburger__line::before,
.is-drawer-active .c-hamburger__line::after {
  top: 0;
  background-color: var(--main-color);
}
.is-drawer-active .c-hamburger__line::before {
  transform: rotate(45deg);
}
.is-drawer-active .c-hamburger__line::after {
  transform: rotate(-45deg);
}
.is-drawer-active .c-drawer {
  visibility: visible;
}
nav {
  text-align: center;
  margin-top: 140px;
}
nav li {
  margin-bottom: 1em;
}
nav a {
  color: #fff;
  padding: 0 1em;
}
nav a:hover {
  background: #fff;
  color: var(--main-color);
}

/* header */
header .name {
  padding-left: 22px;
  width: 20%;
  display: flex;
  overflow: hidden;
  font-size: 1.75em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
header .name span {
  display: block;
  transform: translate(-105%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}
header .name.-visible span {
  transform: translate(0, 0);
}
header .name span:nth-child(2) {
  transition-delay: 0.06s;
}
header .name span:nth-child(3) {
  transition-delay: 0.12s;
}
header .name span:nth-child(4) {
  transition-delay: 0.18s;
}
header .name span:nth-child(5) {
  transition-delay: 0.24s;
}
header .name span:nth-child(6) {
  transition-delay: 0.30s;
}
header .name span:nth-child(7) {
  transition-delay: 0.36s;
}
header .name span:nth-child(8) {
  transition-delay: 0.42s;
}
header .name span:nth-child(9) {
  transition-delay: 0.48s;
}
header .name span:nth-child(10) {
  transition-delay: 0.54s;
}
header .name span:nth-child(11) {
  transition-delay: 0.6s;
}
header .name span:nth-child(12) {
  transition-delay: 0.66s;
}
header .horizon3 {
  position: absolute;
  bottom: 0;
  left: 42px;
	width: 3px;
  background: var(--main-color);
	animation: border_anim3 1.5s linear forwards;
  animation-delay: 1.5s;
}
@keyframes border_anim3 {
	0%{
		height: 0%;
	}
	100%{
		height: 100%;
	}
}

header .first-view{
  margin: 40px 0 180px;
}
header .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .topimg {
  width: 80%;
}
header .topimg img {
  border-radius: 10px;
}
header .header-ttl {
  font-size: 0.85em;
  margin: 40px 0;
}

/* works */
#works {
  margin-bottom: 180px;
}
#works h3 {
  background: var(--main-color);
  color: #fff;
  width: 100px;
  text-align: center;
}
.works-info {
  margin-bottom: 60px;
}
.more {
  background: var(--main-color);
  padding: 16px 0 16px 32px;
  border-radius: 10px 10px 0 0;
}
.more a {
  font-size: 1.1em;
  color: #fff;
  border-bottom: 1px solid #fff;
  transition: all 0.3s ease-in-out;
}
.more a:hover {
  background: #fff;
  color: var(--main-color);
}
.tabs {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  background: var(--sub-color);
  padding: 40px 20px;
  border-radius: 0 0 10px 10px;
}
.tab-buttons {
  width: 8%;
}
.tab-content {
  width: 92%;
}
.tab-buttons span {
  font-family: 'Poiret One', cursive;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor:pointer;
  border-left:2px solid #ddd;
  margin-bottom: 16px;
}
.tab-buttons span:hover {
  color: var(--main-color);
  font-weight: bold;
}
#lamp{
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
/* タブ切り替えの文字色 */
.tabs .tab-buttons .active span{
  color: var(--main-color);
  font-weight: bold;
  border-left: 2px solid var(--main-color);
}
.content1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.large-img {
  width: 60%;
  max-height: 350px;
  margin-bottom: 16px;
}
.large-img img{
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: cover;
}
.large-img-txt {
  width: 40%;
  padding-right: 24px;
}
.large-img-txt .change-txt1,
.large-img-txt .change-txt2,
.content2-text h4,
.content2-text p {
  margin-bottom: 16px;
}
.large-img-txt .change-link,
.content2-text a {
  color: var(--main-color);
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.large-img-txt .change-link:after,
.content2-text a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
  content: "";
}
.large-img-txt .change-link:hover:after,
.content2-text a:hover:after {
  transform: translate(0, 0);
}
.small-img {
  display: flex;
  gap: 16px;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.small-img img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  opacity: 0.4;
  transition: all 0.4s ease-in-out;
}
.small-img img:hover {
  opacity: 1;
  transform: scale(1.1);
}
.content2 ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.content2 li:first-child {
  width: 60%;
}
.content2 li:nth-child(2n) {
  width: 40%;
}
.video {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video iframe {
  width: 90%;
  height: 90%;
}

/* about */
#about {
  margin-bottom: 180px;
}
#about .prof {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
#about .prof-img {
  width: 30%;
  text-align: center;
  opacity: 0;
}
#about .prof-img img {
  border-radius: 50%;
}
#about .imgslide {
  opacity: 1;
  animation: imgslide 2.2s;
}
@keyframes imgslide {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
#about .prof-text {
  width: 70%;
  text-align: center;
}
#about .prof-text .prof-catch {
  font-size: 1.5em;
  margin-bottom: 32px;
  display: inline-block;
  color: var(--main-color);
  opacity: 0;
}
#about .prof-text .textslide {
  animation: textslide 2.2s;
  opacity: 1;
}
@keyframes textslide {
  0% {
    opacity: 0;
    transform: translateY(54px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#about h3 {
  margin-bottom: 16px;
}
#about .skill-list {
  display: flex;
  gap: 0.8em;
  margin-bottom: 24px;
}
#about .skill-list li {
  padding: 0 1em;
  border: 1px solid var(--main-color);
  border-radius: 24px;
}
#about .skill-detail dt {
  color: var(--main-color);
}
#about .skill-detail dd:before {
  content: "\025b6";
  color: var(--main-color);
  margin-right: 0.5rem;
}
#about .skill-detail dd:nth-child(4) {
  margin-bottom: 24px;
}

/* footer */
#contact {
  text-align: center;
  padding: 5% 0;
  margin-bottom: 120px;
  position: relative;
}
.contact-bg:after {
  position: absolute;
  content: '';
  top:0;
  left: 0;
  z-index: -3;
  background: var(--sub-color);
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  animation-name: contact-bg-slide;
  animation-duration:2s;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
 }
@keyframes contact-bg-slide {
  0% {
  transform: translate(-100%,0)
  }
  100% {
  transform: translate(0,0)
  }
}
#contact h2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
#contact p {
  margin-bottom: 2em;
}
#contact .btn-mail {
  display: inline-block;
  padding: 0 3em;
  background: var(--main-color);
  outline: 1px solid var(--main-color);
  outline-offset: 4px;
}
#contact .btn-mail a {
  color: #fff;
}
#contact .btn-mail {
  transition: all 0.6s ease 0s;
  }
#contact .btn-mail:hover {
  cursor: pointer;
  transform: scale(1.05, 1.05);
  }
#footer-nav {
  margin-bottom: 40px;
}
#footer-nav .inner {
  display: flex;
  justify-content: space-between;
}
#footer-nav ul {
  font-size: 0.875em;
  display: flex;
  gap: 2em;
}
#footer-nav a {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
#footer-nav a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--main-color);
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
  content: "";
}
#footer-nav a:hover:after {
  transform: translate(0, 0);
}
.ptop {
	position: fixed;
	right: 5%;
	bottom: 5%;
  border-radius: 2em;
  border: 1px solid var(--main-color);
}
.ptop:hover {
  transform: scale(1.1);
	transition: 0.3s;
  background: var(--main-color)
}
.ptop a {
  color: var(--main-color);
  display: block;
  padding: 0.5em 1em;
}
.ptop a:hover {
  color: #fff;
}

/* 作品一覧ページ */
.move-ttl {
  position: relative;
}
.fadeuptrigger {
  opacity: 0;
}
.fadeup{
  animation-name:fadeUpAnime;
  animation-duration:1.2s;
  animation-fill-mode:forwards;
  opacity: 0;
  }
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
.horizon1 {
	position: absolute;
  top: 45px;
  left: 0;
	margin: 0 calc(50% - 50vw);
	width: 0;
  height: 2px;
  background: var(--main-color);
	animation: border_anim 1.2s linear forwards;
}
@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 30%;
	}
}
.horizon2 {
	position: absolute;
  top: 45px;
  left: 0;
	margin: 0 calc(50% - 50vw);
	width: 0;
  height: 2px;
  background: var(--main-color);
	animation: border_anim2 1.2s linear forwards;
  animation-delay: 1.2s;
}
@keyframes border_anim2 {
	0%{
		width: 0%;
	}
	100%{
		width: 30%;
	}
}
#works-list h3 {
  background: var(--main-color);
  color: #fff;
  width: 100px;
  text-align: center;
  margin-bottom: 80px;
}
#works-list li p span {
  display: block;
  font-size: 1.25em;
  margin: 0.75em 0;
}
#website, #dtp, #banner {
  margin-bottom: 180px;
}
#website .design-box,
#dtp .design-box {
  margin-bottom: 80px;
}
#website .design-box,
#dtp .design-box {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  text-align: center;
}
#website .design-box li,
#dtp .design-box li {
  width: calc((100% - 80px) / 2);
  margin-bottom: 40px;
}
#website .design-box .imgbox,
#dtp .design-box .imgbox {
  background: #000;
  overflow: hidden;
}
#website .design-box .imgbox img,
#dtp .design-box .imgbox img {
  transition-duration: 0.8s;
}
#website .design-box .imgbox img:hover, 
#dtp .design-box .imgbox img:hover {
  transform: scale(1.1);
  opacity: 0.6;
}
#banner .banner-slide,
#banner .banner-slide2 {
  width: 100%;
  margin: 0 auto;
}
#banner .banner-slide2 {
  margin-bottom: 40px;
}
#banner .banner-slide li,
#banner .banner-slide2 li {
  margin-right: 16px;
}
#banner .banner-slide li img,
#banner .banner-slide2 li img {
  margin: 0 auto;
  max-width: 100%;
}
#movie {
  margin-bottom: 180px;
}
#movie .movie-box li {
  margin: 0 10%;
  margin-bottom: 80px;
  text-align: center;
}

/* 作品詳細ページ */
.heading,
.works-txt {
  opacity: 0;
}
.textslide-lr {
  animation: textslide-lr 2.2s;
  opacity: 1;
}
@keyframes textslide-lr {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.textslide-rl {
  animation: textslide-rl 2.2s;
  opacity: 1;
}
@keyframes textslide-rl {
  0% {
    opacity: 0;
    transform: translateX(64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
#details-top {
  margin-bottom: 8.75em;
  text-align: center;
}
#details-top .work-ttl {
  margin: 2em 0 1.5em;
  font-size: 1.25em;
}
#details-top a {
  color: #fff;
}
#details-top .btn-url {
  display: inline-block;
  font-size: 1.25em;
  padding: 0 3em;
  background: var(--main-color);
  outline: 1px solid var(--main-color);
  outline-offset: 4px;
  margin-bottom: 80px;
}
#details-top .btn-url {
  transition: all 0.6s ease 0s;
  }
#details-top .btn-url:hover {
  cursor: pointer;
  transform: scale(1.05, 1.05);
  }
#details-top dl {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  margin: 0 10%;
}
#details-top dt {
  width: 20%;
  border-left: 5px solid var(--main-color);
  padding-left: 1em;
  margin-bottom: 2em;
}
#details-top dd {
  width: 80%;
  margin-bottom: 2em;
}
#details-top dd span {
  margin-right: 0.5em;
  padding: 0 1em;
  border: 1px solid;
  border-radius: 24px;
  font-size: 0.8em;
}
#details-main {
  margin-bottom: 8.75em;
}
#details-main .main-ttl {
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5em;
}
#details-main .main-ttl span {
  border-right: 3px solid var(--main-color);
  border-bottom: 3px solid var(--main-color);
  padding-right: 8px;
  padding-bottom: 2px;
}
#details-main h3 {
  background: var(--main-color);
  color: #fff;
  width: 200px;
  text-align: center;
  margin-bottom: 5em;
}
#details-main .number {
  color: var(--main-color);
  font-size: 32px;
  margin-bottom: -21px;
}
#details-main dl dd {
  padding-bottom: 40px;
}
#details-main .txt-a {
  margin-left: 40px;
  margin-bottom: 80px;
}
#details-main .txt-a dt {
  font-weight: bold;
  margin-bottom: 16px;
  text-decoration: underline var(--main-color) 2px;
  text-underline-offset: 4px;
}
#details-main .txt-b {
  margin-left: 40px;
  margin-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
#details-main .txt-b dd {
  width: calc((100% - 80px) / 2);
}
#details-main .txt-b .subttl {
  display: block;
  font-weight: bold;
  margin-bottom: 16px;
  text-decoration: underline var(--main-color) 2px;
  text-underline-offset: 4px;
}
#details-main .txt-b .colorbox {
  width: 95px;
  height: 95px;
  display: inline-block;
}
#details-main .txt-b .color0-1 {
  background: var(--main-color);
}
#details-main .txt-b .color0-2 {
  background: var(--sub-color);
}
#details-main .txt-b .color0-3 {
  background: #fff;
  border: 1px solid #ddd;
}
#details-main .txt-b .color1-1 {
  background: #1E2C5B;
}
#details-main .txt-b .color1-2 {
  background: #FFDD80;
}
#details-main .txt-b .color1-3 {
  background: linear-gradient(to right, rgba(180, 224, 241, 0.67), rgb(215, 240, 229, 0.75));
}
#details-main .txt-b .color2-1 {
  background: #FF9E6E;
}
#details-main .txt-b .color2-2 {
  background: #EACCB7;
}
#details-main .txt-b .color2-3 {
  background: #534741;
}
#details-main .txt-b .color3-1 {
  background: #666666;
}
#details-main .txt-b .color3-2 {
  background: #719FAA;
}
#details-main .txt-b .color3-3 {
  background: #F27990; 
}
#details-main .txt-b .color4-1 {
  background: #F0862A;
}
#details-main .txt-b .color4-2 {
  background: #7F4F21;
}
#details-main .txt-b .color4-3 {
  background: #E83828;
}
#details-main .txt-b .works04-main {
  margin-top: 80px;
}
.works-link {
  margin-bottom: 7.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}
.works-link .arrow-l {
  border-bottom: solid 4px #5bc8ac;
  border-left: solid 4px #5bc8ac;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}
.works-link .arrow-r {
  border-top: solid 4px #5bc8ac;
  border-right: solid 4px #5bc8ac;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}
.luminous-box {
  display: flex;
  gap: 16px;
  margin-bottom: 140px;
}
.luminous-box li img {
  max-width: 100%;
  opacity: 0.4;
}
.luminous-box li img:hover {
  opacity: 1;
}
.lum-lightbox-inner {
  overflow-y: scroll;
}
.pconly {
  font-size: 1.1em;
  border-bottom: 1px solid var(--main-color);
}
.pconly2 {
  color: #707070;
  margin-bottom: 40px;
  font-size: 0.9em;
}
.works04img {
  max-width: 70%;
  max-height: 70%;
}
.preview-box {
  margin-bottom: 8.75em;
}
.preview-box img {
  width: auto;
  height: 800px;
}

/* レスポンシブ-大き目ディスプレイ用- */
@media screen and (min-width: 1600px) {

  @keyframes border_anim {
    0%{
      width: 0%;
    }
    100%{
      width: 50%;
    }
  }
    @keyframes border_anim2 {
      0%{
        width: 0%;
      }
      100%{
        width: 50%;
      }
    }
    
}

/* レスポンシブ-タブレット- */
@media screen and (max-width: 1350px) {
  .frame2 {
    display: none;
  }
}
@media screen and (max-width: 960px) {

  #website .design-box li,
  #dtp .design-box li {
    width: 100%;
    margin: 0 10%;
  }
  .pcnone {
    display: none;
  }
  .content1,
  .content2 ul {
    gap: 16px;
  }
  .large-img {
    width: 100%;
    height: auto;
    max-height: 350px;
  }
  .large-img img,
  .content2 li img {
    max-width: 100%;
    max-height: 100%;
  }
  .large-img-txt {
    width: 100%;
    padding-right: 0;
    padding-bottom: 24px;
  }
  .small-img {
    flex-wrap: wrap;
  }
  .small-img img {
    max-height: 80px;
  }
  .content2 li:first-child {
    width: 100%;
  }
  .content2 li:nth-child(2n) {
    width: 100%;
  }
  .video iframe {
    width: 100%;
    height: 100%;
  }
  #about .skill-list {
    flex-wrap: wrap;
  }

}

/* レスポンシブ-スマホ- */
@media screen and (max-width: 520px) {

  .sp {
    display: block;
  }
  html {
    font-size: 15px;
  }
  body {
    font-size: 15px;
  }
  h4 {
    margin: 0 0 1rem 1rem;
  }
  header .first-view{
    margin: 40px 0 300px;
  }
  header .name span {
    transform: translate(-120%, 0);
  }
  header .topimg {
    position: absolute;
    top: 40px;
    right: 0;
  }
  .more {
    padding: 16px 0 16px 20px;
  }
  .tabs {
    padding: 40px 10px;
    gap: 24px;
  }
  .small-img img {
    max-height: 60px;
  }
  #works .works-box {
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  #works .works-left,
  #works .works-right {
    width: 100%;
  }
  #works .works-left {
    padding: 0;
    margin-bottom: 80px;
  }
  #works .works-left h3 {
    display: inline-block;
    margin-right: 24px;
  }
  #about .prof {
    flex-wrap: wrap;
    gap: 32px;
  }
  #about .prof-img,
  #about .prof-text {
    width: 100%;
  }
  #banner .banner-slide li,
  #banner .banner-slide2 li {
    margin-right: 0;
  }
  #details-top dl {
    flex-direction: column;
  }
  #details-top dt {
    width: 100%;
    margin-bottom: 0.5em;
  }
  #details-top dd {
    width: 100%;
    margin-bottom: 3em;
  }
  #details-main .txt-b {
    flex-direction: column;
  }
  #details-main .txt-b dd {
    width: 100%;
  }
  #details-main .txt-b dd:nth-child(2n+1) {
    padding: 0;
  }
  .works-info {
    text-align: center;
  }
  .works-link {
    gap: 60px;
  }
  #footer-nav .inner {
    flex-direction: column-reverse;
    align-items: center;
  }

}