@charset "utf-8";

/* Initial Setting ----------------*/
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #fefefe;
    font-size: 100%;
    font-family: sans-serif;
    color: #333333;
}

h1,h2,h3,h4,h5,h6,p,ul,ol,dl,table {
    margin: 0;
}

a {
    text-decoration: none;
    color: #333333;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

img {
    vertical-align: bottom;
    width: 100%;
}

input,
select {
    -webkit-text-fill-color: #333333;
    opacity: 1;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Loading Animation ----------------*/
.typing-text {
    margin: calc(50vh - 3rem) auto;
    font-size: clamp(1rem, 0.273rem + 3.64vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    width: 0;
    border-right: 0.08em solid #333333;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(12, end) forwards, cursol 1s step-end infinite;
    animation-delay: 0.5s;
    color: #333333;
}

@keyframes typing {
    0% {
        width: 0%;
    }

    100% {
        width: 13em;
    }
}

@keyframes cursol {
    0% {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
    100% {
        border-color: transparent;
    }
  }

.mask{
    position:fixed; 
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    background-color: #efefef;
    z-index: 999;
    animation: fadeout 1s forwards;
    animation-delay: 3s;
}

@keyframes fadeout{
    0%{
      opacity: 1;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }

.mask.loaded {
    opacity: 0;
    visibility: hidden;
}
/*[end] Loading Animation -----------*/

/* Triangle -----------------------*/
.triangle,
.triangle::before,
.triangle::after{
  width: 1rem;
  height: 1rem;
  background: #5d5d5d;
}

.triangle::before,
.triangle::after {
  content: "";
  position: absolute;
}

.triangle {
  position: relative;
  border-top-left-radius: 40%;
  transform: rotate(0deg) skewY(30deg) scaleX(.86666);
  top: 1.75rem;
  left: -3rem;
}

.triangle::before {
  border-top-right-radius: 40%;
  transform: skewX(-45deg) translateX(50%);
}

.triangle::after {
  border-bottom-left-radius: 40%;
  transform: skewY(-45deg) translateY(50%);
}
/*[end]triangle ---------------------*/

/* header --------------------------*/
header {
    background-color: #f4f4f4;
    width: 100%;
    position: fixed;
    filter: drop-shadow(0 2px 4px #707070);
    height: 4rem;
    z-index: 2;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.header-title {
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 1000;
    font-style: normal;
}

.header-title:hover {
    opacity: 0.6;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    height: 4rem;
    align-items: center;
}

.main-nav__item {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    align-items: center;
    position: relative;
    text-align: center;
}

.main-nav__item:not(:last-child) {
    padding-right: clamp(2rem, 0.182rem + 9.09vw, 7rem);
}

.main-nav__item:not(:last-child)::after {
    content: "";
    border: solid 1px #333333;
    position: absolute;
    top: clamp(0.1rem, -0.091rem + 0.95vw, 0.625rem);
    right: clamp(1rem, 0.091rem + 4.55vw, 3.5rem);
    height: 1.625rem;
}

.main-nav__item a:hover {
    transition: 0.2s;
    color: #8896ff;
}

.onoff-btn,
.side-nav__item {
    display: none;
}

#menu-switch {
    position: fixed;
    top: 0;
    left: 100%;
}

/*[end] header ---------------------*/

/* TOP -----------------------------*/
.toppage-header {
    display: flex;
    justify-content: center;
}

.toppage-title {
    display: none;
}
/*[end] TOP -------------------------*/

/* top-view --------------------------*/
.top-view {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(5rem, 3.182rem + 9.09vw, 10rem);
    height: fit-content;
}

.top-view__left {
    width: 50%;
    height: 100%;
}

.top-view__left img {
    padding-top: clamp(0.8rem, 0.364rem + 2.18vw, 2rem);
    width: 92.5%;
}
.concept-text img {
    padding-top: 3rem;
    width: 110%;
}

.site-policy {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(1rem, 0.5rem + 2.5vw, 2.375rem);
    font-weight: bold;
    line-height: 2.4;
    width: fit-content;
    height: 100%;
}
/*[end] top-view ------------------------------*/

/* Scrolldown-arrow ---------------------------*/
.scrolldown{
    position: absolute;
    bottom: 1%;
    right: 50%;
    animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
    0% {
        bottom: 1%;
    }
    50% {
        bottom: 3%;
    }
    100% {
        bottom: 1%;
    }
}

.scrolldown span {
    position: absolute;
    left: -1.25em;
    bottom: 4rem;
    color: #333333;
    font-size: 2.25rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}

.scrolldown::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #333333;
    transform: skewX(-31deg);
}

.scrolldown::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 4rem;
    background: #333333;
}

@media (width < 980px) {
    .scrolldown {
        display: none;
    }    
}
/*[end] Scrolldown-arrow -------------------*/

.portfolio-area {
    height: fit-content;
}

.contact-area {
    height: fit-content;
}

.sec-title {
    font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.sec-title::before {
    content: "";
    position: absolute;
    background-image: url(../images/logo-p.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 5.5%;
    height: 100%;
    top: -4px;
    left: clamp(3.5rem, -3.955rem + 37.27vw, 24rem);
}

.sec-title::after {
    content: "";
    position: absolute;
    background-image: url(../images/logo-d.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 5.5%;
    height: 100%;
    top: 4px;
    right: clamp(3.5rem, -3.955rem + 37.27vw, 24rem);
}

.sec-title__sub {
    font-size: clamp(0.75rem, 0.295rem + 2.27vw, 2rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
}
/* portfolio-area --------------------------*/
.portfolio-area {
    margin-top: clamp(2rem, -2.727rem + 23.64vw, 15rem);
}

/* slider ------------*/
.slider {
    width:94%;
    margin:0 auto;
    margin-top: 4.5rem;
}

.slider img {
    width:40vw;
    height:24vw;
    border: solid 2px #707070;
    border-radius: 10px;
}

.slider .slick-slide {
	transform: scale(0.8);
	transition: all 0.5s;
	opacity: 0.5;
}

.slider .slick-slide.slick-center{
	transform: scale(1);
	opacity: 1;
}

.slick-prev, 
.slick-next {
    position: absolute;
    top: 42%;
    margin: 0 10rem;
    cursor: pointer;
    outline: none;
}

.slick-prev {
    left: clamp(-9.5rem, -12.373rem + 14.36vw, -1.6rem);
    transform: rotate(-45deg);
    z-index: 1;
}

.slick-next {
    left: clamp(7.375rem, -8.489rem + 79.32vw, 51rem);
    transform: rotate(135deg);
}

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    width:0.75rem;
    height:0.75rem;
    display:block;
    border: none;
    border-radius:50%;
    background:#ccc;
}

.slick-dots .slick-active button{
    background:#333;
}

/*[end] slider --------------------*/


/*エリアの表示非表示と形状*/
.slide-area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding: 1rem;
}

/*areaにis-activeというクラスがついた時の形状*/
.slide-area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.portfolio-title {
    font-size: clamp(1.25rem, 1.068rem + 0.91vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
}

.portfolio-title__sub {
    font-size: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
}

.category-box {
    display: flex;
    justify-content: center;
}

.category-box__item {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    height: clamp(1.75rem, 1.295rem + 2.27vw, 3rem);
    width: clamp(8rem, 7.273rem + 3.64vw, 10rem);
    border: solid 2px #707070;
    border-radius: 10px;
    margin-top: 1rem;
}

.category-box__item:not(:last-child) {
    margin-right: clamp(0.5rem, -0.045rem + 2.73vw, 2rem);
}

.ps-bgcolor {
    background-color: #BCDFFF;
}

.ai-bgcolor {
    background-color: #FFE0BC;
}

.web-bgcolor {
    background-color: #DDDDDD;
}

.workspage-link {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    
}

.workspage-link a {
    font-size: clamp(1.25rem, 1.068rem + 0.91vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    border: solid 2px #707070;
    border-radius: 10px;
    padding: 0.75rem 3.5rem;
    background-color: #E8F4FF;
    box-sizing: border-box;
    filter: drop-shadow(0 2px 2px #000000);
}

.workspage-link a:hover {
    transition: 0.2s;
    filter: none;
}

/*[end] portfolio-area ---------------------*/

/* about-area --------------------------*/
.about-area {
    margin-top: clamp(4rem, 3.273rem + 3.64vw, 6rem);
}

.about-area-inner {
    display: flex;
    justify-content: space-between;
    margin-top: 3.375rem;
}

.about-area__left {
    width: 38%;
    text-align: center;
}

.profile-pic {
    width: 240px;
    height: 240px;
    border: solid 2px #333333;
    border-radius: 50%;
}

.profile {
    border: solid 1px #333333;
    border-radius: 10px;
    padding: 1rem;
    width: 50%;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #E8F4FF;
}

.profile-term {
    margin-bottom: 1.75rem;
    text-decoration: underline;
}

.profile-content {
    margin-bottom: 1.75rem;
    text-align: justify;
}

.about-area__right {
    width: 62%;
    padding-top: 5rem;
}

.myname {
    font-size: clamp(2.5rem, 2.318rem + 0.91vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: clamp(2rem, 1.273rem + 3.64vw, 4rem);
    position: relative;
}

.myname-sub {
    font-size: 2rem;
    padding-left: 2.5rem;
}

.about-content__title {
    font-size: clamp(1.75rem, 1.659rem + 0.45vw, 2rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-content__text {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 2;
    margin-bottom: 1rem;
}

.view-arrow {
    margin-top: 3rem;
    margin-bottom: clamp(1rem, -0.818rem + 9.09vw, 6rem);
    position: relative;
    width: fit-content;
    margin-left: calc(100% - clamp(7rem, 5.909rem + 5.45vw, 10rem));
}

.view-arrow:hover {
    transition: 0.2s;
    animation: viewmove 1s ease-in-out infinite;
}

@keyframes viewmove {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-1rem);
    }

    100% {
        transform: translateX(0);
    }
}

.view-arrow span {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}

.view-arrow::before {
    content: "";
    background-color: #333333;
    width: clamp(7rem, 5.909rem + 5.45vw, 10rem);
    height: 2px;
    position: absolute;
    top: 110%;
    left: -0.5rem;
}

.view-arrow::after {
    content: "";
    background-color: #333333;
    width: 3px;
    height: clamp(0.8rem, 0.636rem + 0.82vw, 1.25rem);
    position: absolute;
    top: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    left: clamp(5.95rem, 4.932rem + 5.09vw, 8.75rem);
    transform: skewX(45deg);
}

.myname::before {
    content: "Web Designer";
    font-weight: bold;
    font-size: clamp(3.25rem, 2.977rem + 1.36vw, 4rem);
    color: #E8F4FF;
    filter: drop-shadow(0 1px 1px #a0a0a0);
    position: absolute;
    top: -2.5rem;
    left: -2rem;
    z-index: -1;
}

/*[end] about-area ---------------------*/

/* contact-area --------------------------*/
.contact-comment {
    text-align: center;
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    line-height: 3;
    margin-top: 5.5rem;
}

.contact-btn {
    font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    border: none;
    background-color: #E8F4FF;
    border: solid 2px #707070;
    border-radius: 10px;
    width: clamp(16rem, 13.091rem + 14.55vw, 24rem);
    height: 5rem;
    filter: drop-shadow(0 2px 2px #000000);
}

.contact-btn:hover {
    transition: 0.2s;
    filter: none;
    cursor: pointer;
}

.contact-btn__position {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: clamp(4rem, 2.545rem + 7.27vw, 8rem);
    position: relative;
}


/*[end] contact-area ---------------------*/

/* footer -----------------------------------*/
footer {
    border-top: solid 2px #333333;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(1rem, -0.773rem + 8.86vw, 5.875rem);
    margin-top: 3rem;
}

.footer-logo img {
    width: 50%;
}

.footer-logo__text {
    font-size: clamp(0.25rem, -0.25rem + 2.5vw, 1.625rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    height: clamp(2rem, -0.727rem + 13.64vw, 9.5rem);
    align-items: center;
}

.footer-nav__item {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    align-items: center;
    position: relative;
    text-align: center;
}

.footer-nav__item:not(:last-child) {
    padding-right: clamp(2rem, 0.182rem + 9.09vw, 7rem);
}

.footer-nav__item:not(:last-child)::after {
    content: "";
    border: solid 1px #333333;
    position: absolute;
    top: clamp(0.1rem, -0.091rem + 0.95vw, 0.625rem);
    right: clamp(1rem, 0.091rem + 4.55vw, 3.5rem);
    height: 1.625rem;
}

.footer-nav__item a:hover {
    transition: 0.2s;
    color: #8896ff;
}

.copy {
    text-align: center;
    margin-bottom: clamp(1rem, -0.273rem + 6.36vw, 4.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}
/*[end] footer --------------------------------------*/

/* ABOUT PAGE ---------------------------------------*/
.page-title {
    font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    padding-top: clamp(6rem, 4.364rem + 8.18vw, 10.5rem);
    padding-left: clamp(2rem, -0.182rem + 10.91vw, 8rem);
    margin-bottom: 5rem;
}

.page-title__sub {
    font-size: clamp(0.75rem, 0.295rem + 2.27vw, 2rem);
    margin-left: 2.5rem;
}

.page-title-area {
    position: relative;
}

.page-title-area::before {
    content: "";
    position: absolute;
    background-image: url(../images/logo-p.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: clamp(2rem, 1.364rem + 3.18vw, 3.75rem);
    height: 100%;
    top: clamp(3rem, 2.273rem + 3.64vw, 5rem);
    left: 0;
}

.page-title-area::after {
    content: "";
    position: absolute;
    background-image: url(../images/logo-d.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: clamp(2rem, 1.364rem + 3.18vw, 3.75rem);
    height: 100%;
    top: clamp(3rem, 2.273rem + 3.64vw, 5rem);
    left: clamp(15rem, 8.455rem + 32.73vw, 33rem);
}
/* logo-area -------------------------------*/
.logo-area-title {
    font-size: clamp(1.5rem, 0.955rem + 2.73vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 4.5rem;
}

.logo-area-sectitle {
    font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    padding-left: 1rem;
    border-left: solid 12px #FF9696;
    margin-bottom: 3rem;
}

.logo-area-text {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    line-height: 2.5;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}

.sitename-container {
    margin-bottom: clamp(3rem, 1.909rem + 5.45vw, 6rem);
    display: flex;
    justify-content: space-between;
}

.sitename-container__right {
    width: 60%;
    margin-left: auto;
}

.site-name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, -0.432rem + 5.91vw, 4rem);
    padding-left: 0.5rem;
}

.site-name__item {
    text-align: center;
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    border: solid 1px #707070;
    border-radius: 10px;
    height: clamp(3rem, 2.455rem + 2.73vw, 4.5rem);
    width: clamp(10rem, 7.091rem + 14.55vw, 18rem);
    padding: clamp(0.5rem, 0.318rem + 0.91vw, 1rem) 0;
    box-sizing: border-box;
    background-color: #fefefe;
    position: relative;
}

.site-name__item:nth-child(1)::after {
    content: "";
    background-color: #333333;
    height: 1px;
    width: 6.75rem;
    position: absolute;
    top: 50%;
    left: 100%;
}

.site-name__item:nth-child(2)::after {
    content: "";
    background-color: #333333;
    height: 1px;
    width: clamp(16rem, 12.727rem + 16.36vw, 25rem);
    position: absolute;
    top: 150%;
    left: clamp(-12rem, -12.727rem + 3.64vw, -10rem);
    transform: rotate(-10deg);
    z-index: -1;
}

.site-name__item:nth-child(3)::after {
    content: "";
    background-color: #333333;
    height: 1px;
    width: 6.75rem;
    position: absolute;
    top: 50%;
    left: 100%;
}

.sitename-container__left {
    width: 35%;
    border: solid 1px #707070;
    border-radius: 10px;
    box-sizing: border-box;
}

.sitename-container__left img {
    width: 74.5%;
    text-align: center;
    padding: clamp(2rem, 0.909rem + 5.45vw, 5rem) 3rem 0 clamp(3rem, 2.909rem + 0.45vw, 3.25rem);
}

.sitename-logo__text {
    font-size: clamp(1.3rem, 1.182rem + 0.59vw, 1.625rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    padding-left: clamp(3rem, 2.909rem + 0.45vw, 3.25rem);
}

.profile-container {
    display: flex;
    justify-content: space-between;
}

.profile-left {
    width: 50%;
}

.profile-right {
    width: 50%;
}

/* gallary ----------------------------------*/
.gallery {
    border: solid 2px #707070;
    border-radius: 10px;
    width: clamp(18rem, 13.636rem + 21.82vw, 30rem);
    height: clamp(12rem, 9.091rem + 14.55vw, 20rem);
    margin: 1rem auto;
    box-sizing: border-box;
}

.gallery img {
    height: clamp(11.75rem, 8.841rem + 14.55vw, 19.75rem);
    border-radius: 8px;
    box-sizing: border-box;
}

.choice-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

.choice-btn li{
	cursor: pointer;
	outline: none;
    border: solid 1px #707070;
    border-radius: 10px;
	background:#333;
	width:30%!important;
}

.choice-btn li:not(:last-child) {
    margin-right: clamp(0.25rem, 0.068rem + 0.91vw, 0.75rem);
}

.choice-btn li:first-child {
    margin-left: 0.5rem;
}

.choice-btn li img{
	opacity: 0.4;
    height: clamp(4rem, 3.273rem + 3.64vw, 6rem);
    border-radius: 10px;
}

.choice-btn li.slick-current img {
	opacity: 1;
}

.choice-btn .slick-track {
	transform: unset !important;
}

.gallery-text {
    text-align: center;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
    margin-top: 1rem;
}
/*[end] gallary -----------------------------*/

/* skill-set --------------------------------*/
.skill-area {
    height: fit-content;
    margin-bottom: 6rem;
}

.skill-area-title {
    font-size: clamp(2rem, 1.636rem + 1.82vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4.5rem;
}

.skill-set {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2%;
}

.skill-set__item {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    padding-top: 0.75rem;
    text-align: center;
    border: solid 1px #707070;
    border-radius: 10%;
    box-sizing: border-box;
    background-color: #F4F4F4;
}

.skill-set__item img {
    width: fit-content;
    margin-bottom: 2rem;
}

.skill-set__name {
    font-size: 2.5rem;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 1000;
    font-style: normal;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.skill-set__comment {
    font-size: 1.25rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: justify;
}

.skill-set__name::after {
    content: "";
    position: absolute;
    background-color: #E8F4FF;
    width: 14rem;
    height: 1.25rem;
    top: 58%;
    left: 12%;
    z-index: -1;
}

.ps-color::after {
    background-color: #BCDFFF;
}

.ai-color::after {
    background-color: #FFE0BC;
}

.web-color::after {
    background-color: #DDDDDD;
}

.accent-color::after {
    background-color: #FF9696;
}
/*[end] skill-set -----------------------------------*/

.contact-title {
    font-size: 3rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
}
.contact-title__sub {
    font-size: 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
}
/*[end] ABOUT PAGE ----------------------------------*/

/* PORTFOLIO PAGE -----------------------------------*/
.page-title__portfolio::after {
    left: clamp(19rem, 10.636rem + 41.82vw, 42rem);
}

.white-bgcolor {
    background-color: #fefefe;
}

.portfolio-tab {
	display: flex;
    justify-content: center;
	flex-wrap: wrap;
    margin-bottom: 1rem;
    margin-top: 3rem;
}
.portfolio-tab__item a{
	display: block;
	margin: 0 clamp(0.125rem, -0.193rem + 1.59vw, 1rem);
	padding: clamp(0.5rem, 0.409rem + 0.45vw, 0.75rem) clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
    border: solid 2px #707070;
    border-radius: 10px;
    filter: drop-shadow(0 2px 2px #000000);
    box-sizing: border-box;
}

.portfolio-tab__item.active a{
	filter: none;
    opacity: 0.6;
    transition: 0.2s;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

.portfolio-tabarea {
	display: none;
	opacity: 0;
}

.portfolio-tabarea.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.category-title {
    font-size: clamp(1.75rem, 1.295rem + 2.27vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.category-title::after {
    content: "";
    position: absolute;
    top: clamp(0.25rem, 0.014rem + 1.18vw, 0.9rem);
    left: 0;
    width: 1rem;
    height: clamp(2rem, 1.636rem + 1.82vw, 3rem);
}

.works-area {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.works-area--ps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 0 5%;
}

.works-area__item {
    width: 30%;
    height: 22.5rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.works-area__item--ps {
    width: 22.5rem;
    height: 22.5rem;
    margin: 0 auto;
    box-sizing: border-box;
    margin-bottom: 4rem;
}

.works-area__item--web {
    width: 45%;
    height: 22.5rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.works-thumbnail-title {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.25rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
}

.works-area__item:hover,
.works-area__item--web:hover,
.works-area__item--ps:hover {
    opacity: 0.6;
}

.img-border {
    border: solid 1px #707070;
}
/*[end] PORTFOLIO PAGE ------------------------------*/

/* WORKS PAGE -------------------------------------- */
.works-title {
    font-size: clamp(1.5rem, 1.136rem + 1.82vw, 2.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 3rem;
}

.works-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.works-container__img {
    width: 50%;
}

.works-container__explanation {
    width: 50%;

}

.works-banner__img {
    width: 38%;
}

.works-banner__img img {
    max-width: fit-content;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.works-banner__explanation {
    width: 60%;
}

.works-ai__img img {
    max-width: fit-content;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
    border: solid 1px #707070;
}

.explanation-title {
    font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
}

.explanation-text {
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-left: clamp(1rem, 0.636rem + 1.82vw, 2rem);
    text-align: justify;
    line-height: 2;
}

.tool-tag {
	display: flex;
	flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tool-box {
    display: block;
	margin: 0 0.25rem;
	padding: 0.25rem clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
    border: solid 2px #707070;
    border-radius: 10px;
    box-sizing: border-box;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pagination__item a {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    margin: 0 0.5rem;
    background-color: #E8F4FF;
    border: solid 2px #707070;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    filter: drop-shadow(0 2px 2px #000000);
}

.pagination__item a:hover {
    transition: 0.2s;
    filter: none;
}

.pagination__item:nth-child(2) a {
    background-color: #cccccc;
}

.pagination__item:nth-child(1) a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: solid 2px #333333;
    border-right: solid 2px #333333;
    margin-right: 0.5rem;
    transform: rotate(-135deg);
}

.pagination__item:nth-child(3) a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: solid 2px #333333;
    border-right: solid 2px #333333;
    margin-left: 0.5rem;
    transform: rotate(45deg);
}
/*[end] WORKS PAGE ----------------------------------*/

/* CONTACT PAGE -------------------------------------*/
.page-title__contact::after {
    left: clamp(18rem, 9.636rem + 41.82vw, 41rem);
}

.form-step {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.form-step__item {
    text-align: center;
    border: solid 2px #333333;
    border-radius: 50%;
    padding: clamp(0.75rem, 0.659rem + 0.45vw, 1rem) clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
    font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.form-step__item:not(:last-child) {
    margin-right: clamp(3rem, 1.909rem + 5.45vw, 6rem);
    position: relative;
}

.form-step__item:not(:last-child)::after {
    content: "";
    position: absolute;
    background-color: #707070;
    width: clamp(3.25rem, 2.159rem + 5.45vw, 6.25rem);
    height: 1px;
    top: 50%;
    left: 100%;
}

.form-step__item span{
    display: block;
}

.step-current {
    background-color: #707070;
    color: #fefefe;
}

.form-inner {
    display: flex;
    flex-direction: column;
    width: 60%;
}

label {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.label-name {
    font-size: 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    position: relative;
    margin-bottom: 2rem;
}

.required-box::after {
    position: absolute;
    content: "必須";
    background-color: #FF9696;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #fefefe;
    top: 0.125rem;
    padding: 0.5rem 0.75rem;
    margin-left: 2rem;
}

.any-box::after {
    position: absolute;
    content: "任意";
    background-color: #B5B5B5;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #fefefe;
    top: 0.125rem;
    padding: 0.5rem 0.75rem;
    margin-left: 2rem;
}

.center-btn {
    text-align: center;
    margin: 0 auto;
}

.submit-btn {
    width: 18.5rem;
    height: 5.5rem;
    background-color: #E8F4FF;
    border-radius: 10px;
    border-color: #707070;
    font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 2px #000000);
}

.submit-btn:hover {
    transition: 0.2s;
    filter: none;
}

.correction-btn {
    width: fit-content;
    font-size: 1.25rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 4rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.thanks-text {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4.5rem;
}
.btn-set {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.btn-set a {
    width: fit-content;
}

.top-btn,
.portfolio-btn {
    font-size: clamp(1rem, 0.636rem + 1.82vw, 2rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-right: 10rem;
    background-color: #DDDDDD;
    border: solid 2px #707070;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    filter: drop-shadow(0 2px 2px #000000);
}

.top-btn:hover,
.portfolio-btn:hover {
    transition: 0.2s;
    filter: none;
}

.portfolio-btn {
    background-color: #E8F4FF;
    margin-right: 0;
}
/*[end] CONTACT PAGE --------------------------------*/

/* 404ERROR PAGE ------------------------------------*/
.error-title {
    font-size: clamp(1.45rem, 0.886rem + 2.82vw, 3rem);
}

.page-title__error::after {
    left: clamp(19rem, 9.182rem + 49.09vw, 46rem);
}

.error-number {
    font-size: 6rem;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 1000;
    font-style: normal;
    text-align: center;
}

.error-text {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    line-height: 2.5;
    margin-bottom: 5rem;
}

.error-suggest {
    font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}
/*[end] 404ERROR PAGE -------------------------------*/

/* MY-RULE PAGE -------------------------------------*/
.rule-toptext {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 2rem;
    padding-left: 1rem;
    line-height: 2.25;
}

.rule-list {
    width: 95%;
    box-sizing: border-box;
}

.rule-title {
    font-size: 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    line-height: 2.25;
    margin-left: 0.75rem;
    box-sizing: border-box;
}

.rule-text {
    font-size: 1.125rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    line-height: 2.25;
    margin-left: 1rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.text--red {
    color: #FF6060;
}

details {
    margin: 0 auto 1rem;
    width: 100%;
}

.rule-term {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 2px #333333;
    border-radius: 10px;
    cursor: pointer;
    font-size: clamp(1.75rem, 1.295rem + 2.27vw, 3rem);
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    padding-left: 2rem;
    position: relative;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

.rule-term::-webkit-details-marker {
    display: none;
}

.rule-term::after {
    content: "+";
    color: #FF9696;
    font-size: clamp(1.5rem, 0.955rem + 2.73vw, 3rem);
    transition: transform 0.5s;
    margin-right: 2rem;
}

details[open] .rule-term::after {
    transform: rotate(45deg);
}

details[open] .rule-term {
    animation: fadein 0.5s ease;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.rule-term::before {
    content: "";
    position: absolute;
    top: clamp(0.25rem, 0.014rem + 1.18vw, 0.9rem);
    left: 0;
    top: 0;
    width: 1rem;
    height: clamp(2.75rem, 2.068rem + 3.41vw, 4.625rem);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.web-color--rule::before {
    background-color: #DDDDDD;
}

.ps-color--rule::before {
    background-color: #BCDFFF;
}

.ai-color--rule::before {
    background-color: #FFE0BC;
}

/*[end]MY-RULE PAGE -------------------------------------*/

/* responsive ---------------------------------------*/
@media (width < 980px) {
    .triangle {
        display: none;
    }

    .footer-logo {
        display: none;
    }

    .footer-inner {
        padding: 0 1rem;
        margin-top: 2rem;
        justify-content: center;
    }

    .top-view {
        flex-direction: column;
    }

    .top-view__left {
        width: 70%;
        margin-bottom: 2rem;
    }

    .top-view__left img {
        width: 100%;
        margin: 0 auto;
    }
    .slick-prev, 
    .slick-next {
        top: 35%;
    }
    .slider img {
        width:70vw;
        height:42vw;
    }

    .about-area-inner {
        flex-direction: column;
    }

    .about-area__left {
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .about-area__left img{
        scale: 0.8;
        margin: 0;
    }

    .profile {
        font-size: 0.8rem;
        width: fit-content;
        padding: 1.5rem;
        height: 14rem;
    }

    .profile-content {
        text-align: left;
    }

    .about-area__right {
        width: 100%;
        margin: 0 auto;
    }
    
    .myname {
        margin-left: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .myname span {
        padding-left: 0;
    }
    
    .myname::before {
        left: -1rem;
    }

    .about-content__title,
    .about-content__text {
        padding: 0 1rem;
    }

    .contact-area {
        margin-top: 4rem;
    }

    .footer-logo img {
        width: 80%;
    }

    .works-area {
        flex-direction: column;
    }
    .works-area__item {
        width: 85%;
        height: fit-content;
        margin-bottom: 4rem;
    }

    .works-area__item--web {
        width: 85%;
        height: fit-content;
        margin-bottom: 4rem;
    }

    .works-container {
        flex-direction: column;
    }

    .works-container__img {
        width: 85%;
        margin: 0 auto;
    }

    .works-container__explanation {
        width: 100%;
    }

    .profile-container {
        flex-direction: column;
        justify-content: center;
    }

    .profile-left {
        width: 100%;
    }
    
    .profile-right {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .sitename-container {
        flex-direction: column;
        box-sizing: border-box;
    }
    .sitename-container__left {
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .sitename-container__right {
        width: 100%;
        margin: 0 auto;
        margin-top: 2rem;
        box-sizing: border-box;
    }

    .logo-area-text {
        padding: 0 1rem;
    }

    .sitename-logo__text {
        padding-bottom: 2rem;
    }

    .skill-area {
        margin-bottom: 18rem;
    }

    .form-inner {
        width: 95%;
        margin: 0 auto;
    }

    .btn-set {
        flex-direction: column;
        align-items: center;
    }

    .top-btn {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .btn-set a:first-child {
        height: 3.25rem;
        margin-bottom: 2rem;
    }

    .explanation-list {
        padding: 1rem;
    }

    .slick-dots button {
        scale: 0.6;
        height: 1.25rem;
    }

    .choice-btn li{
        width:25%!important;
    }
    .choice-btn li:first-child {
        margin-left: 2.575rem;
    }

    details {
        width: 95%;
    }
    /*humberger --------------*/
    .main-nav {
        display: none;
    }

    .toppage-main-nav {
        display: flex;
    }

    .header-title {
        height: 4rem;
        padding-top: 0.5rem;
        padding-left: 1rem;
        box-sizing: border-box;
    }

    .onoff-btn {
        width: 3rem;
        height: 3rem;
        font-size: 0.8rem;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        position: fixed;
        cursor: pointer;
        top: 10px;
        right: 10px;
        z-index: 90;
    }

    .onoff-btn span {
        display: inline-block;
        transition: all 0.4s;/*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #333333;
        width: 45%;
    }
    
    .onoff-btn span:nth-of-type(1) {
        top:15px;	
    }
    
    .onoff-btn span:nth-of-type(2) {
        top:23px;
    }
    
    .onoff-btn span:nth-of-type(3) {
        top:31px;
    }
    
    /*activeクラスが付与されると線が回転して×に*/
    
    #menu-switch:checked ~ .onoff-btn span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 50%;
        background: #fff;
    }
    
    #menu-switch:checked ~ .onoff-btn span:nth-of-type(2) {
        opacity: 0;
    }
    
    #menu-switch:checked ~ .onoff-btn span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 50%;
        background: #fff;
    }

    .side-nav-box {
        width: 100%;
        height: 100%;
        background-color: #5d5d5d;
        opacity: 0.99;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        transition: all 0.2s linear;
    }

    .side-nav {
        display: flex;
        flex-direction: column;
    }

    .side-nav__item {
        display: block;
        border-bottom: solid 1px #fff;
        width: 100%;
        margin-bottom: 2rem;
    }

    .side-nav__item:hover {
        transition: 0.2s;
        border-bottom: solid 1px #8896ff;
    }

    .side-nav__item a {
        color: #fff;
        display: block;
        font-size: 1.25rem;
        text-align: left;
    }

    .side-nav__item a:hover {
        transition: 0.2s;
        color: #8896ff;
    }

    .side-nav__item a span {
        font-size: 0.8rem;
    }

    .side-nav {
        padding: 4.5rem 2rem 0;
    }

    #menu-switch:checked ~ .side-nav-box {
        left: 0;
    }
}
/*[end] responsive ----------------------------------*/