*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    border: none;
    padding: 0;
    font: inherit;
}

html,
body {
    height: 100%;
}

a {
    transition: 0.3s ease;
    color: #292929;
}

a:hover {
    opacity: .7;
}

body {
    font-size: 16px;
    letter-spacing: .065em;
    color: #292929;
}

@media (min-width:768px) {
    body {
        font-size: 18px;
    }
}

@media (min-width:768px) {
    .sp {
        display: none;
    }
}

.pc {
    display: none;
}

@media (min-width:768px) {
    .pc {
        display: block;
    }    
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 20px;
    width: 100%;
    background-color: #ffffff7c;
    box-shadow: 1px 1px 5px #cccccc75;

}

@media (min-width:768px) {
    .header {
        padding: 30px;
    }
}

.header-logo {
    margin: 0;
}

.top .header-logo path,
.profile .header-logo path,
.works .header-logo path,
.contact .header-logo path {
    fill: #292929;
}

.profile-discription ol li {
    margin-bottom: 0.5em;
    list-style: none;
}

@media (min-width:768px) {
    .header-logo svg {
        width: 350px;
    }
}

.header-button {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: none;
    width: 75px;
    height: 75px;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    z-index: 10000;
}

@media (min-width:768px) {
    .header-button {
        display: none;
    }
}

.header-button span {
    display: block;
    position: relative;
    top: 0;
    margin: 0 auto;
    width: 24px;
    height: 3px;
    background-color: #292929;
    transition: 0.3s ease;
}

.header-button span::before,
.header-button span::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    transition: all 0.3s;
    background-color: #ff9011;
}

.header-button span::before {
    top: -9px;
}

.header-button span::after {
    top: 9px;
}

body.open .header-button {
    z-index: 30;
}

body.open .header-button span {
    width: 30px;
    background-color: transparent;
}

body.open .header-button span::before,
body.open .header-button span::after {
    top: 0;
    background-color: #292929;
}

body.open .header-button span::before {
    transform: rotate(45deg);
}

body.open .header-button span::after {
    transform: rotate(-45deg);
}

.header-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff9011a0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 60px;
    font-weight: 900;
    transform: translateX(100%);
    transition: .3s ease;
}

body.open .header-nav {
    transform: translateX(0);
}

@media (min-width:768px) {
    .header-nav {
        position: static;
        flex-direction: row;
        justify-content: flex-end;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        font-size: 32px;
    }
}

@media (min-width:768px) {
    .header-nav-item:nth-child(n+2) {
        margin-top: 0;
        margin-left: 2em;
    }
}

body.top {
    background: url(../img/mainimage1.png) no-repeat center center / cover;
    background-size: 50%;
}

body.profile {
    background: url(../img/mainimage1.png) no-repeat center center / cover;
    background-size: 50%;
    z-index: -100;
}

body.top,
body.top a,
body.profile a,
body.works a,
body.contact a {
    color: #fff;
    text-shadow: 0 0 6px #000;
}

body.top {
    background-color: #fff;
}

.header-button span {
    background-color: #ff9011;
}

.top-title {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 8vw;    
    font-weight: 900;
    padding: 0em 0.5em;
    white-space: nowrap;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: #ffffff79;
    transform: translate(-50%, -50%);
}

.top-title::before {
    content: "";
    position: absolute;
    width: 55%;
    height: 25%;
    top: 0;
    left: 0;
    border-top-left-radius: 3px;
    border-left: 5px solid #ff9011;
    border-top: 3px solid #ff9011;
}
.top-title-box:before {
    content: "";
    position: absolute;
    width: 10%;
    height: 50%;
    top: -10px;
    left: -10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 3px solid #ff9011;
    border-top: 5px solid #ff9011;
}

.top-title::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 50%;
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 3px;
    border-right: 5px solid #ff9011;
    border-bottom: 3px solid #ff9011;
}

.top-title-box::after {
    content: "";
    position: absolute;
    width: 10%;
    height: 50%;
    bottom: -10px;
    right: -10px;
    border-bottom-right-radius: 10px;
    border-right: 3px solid #ff9011;
    border-bottom: 5px solid #ff9011;
}


@media (min-width:768px) {
    .top-title {
        font-size: 4vmax;
    }
}

.top-title i {
    display: block;
    font-family: 'Romanesco', cursive;
    font-style: normal;
    font-weight: normal;
    position: absolute;
    top: -0.8em;
    font-size: 28px;
}

@media (min-width:768px) {
    .top-title i {
        display: inline;
    }
}

.footer {
    width: 100%;
}

.footer-txt {
    padding: 1em 0;
}

.top .footer,
.contact .footer {
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-txt {
    font-size: 16px;
    text-align: center;
}

/* profile section */
.profile main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(229, 229, 229, 0.912);
    line-height: 1.6;
}

.profile .article-inner,
.works .article-inner,
.contact .article-inner {
    padding: 100px 20px 0px 20px;
    max-width: 400px;
}

.profile .article-inner {
    margin-bottom: 70px;
}

.article-title {
    margin-bottom: 0.5em;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
}
.article-title_sub {
    margin-bottom: 1em;
    font-size: 21px;
    text-align: center;
}

@media (max-width:768px) {
    .profile .article-inner {
        margin-bottom: 0px;
    }
}

@media (min-width:768px) {
    .article-title_sub {
        font-size: 24px;
    }
    .contact .article-inner,
    .profile .article-inner {
        max-width: 800px;
        padding: 100px 20px 5px;
    }
}

.article-title_sub span {
    display: inline-block;
    margin-left: 1em;
    padding-left: 1em;
    font-weight: normal;
    border-left: 1px solid #292929;
}

.profile-list dt {
    clear: left;
    float: left;
    margin-right: 2em;
}

.profile-list dd {
    overflow: hidden;
}

/* works section */
.inline {
    position: absolute;
    top: 300px;
}
.works-main {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.works-list {
    list-style: none;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 20px auto;
    grid-template-columns: auto auto;
    -ms-grid-rows: auto 20px auto 20px auto 20px auto 20px auto 20px auto;
    grid-template-rows: auto auto auto auto auto auto;
    grid-gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.works-list li {
    margin: 0 auto;
}

.works-list li a {
    transition: all 0.5s;
}

.works-list li p {
    color: #858585;
    font-size: 10px;
}

.works-list > li:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.works-list li img {
    display: block;
    width: 100%;
}

.works-items {
    margin: 0 auto;
}


@media (min-width:1024px) {
    .works-list {
        -ms-grid-columns: 210px 30px 210px 30px 210px 30px 210px 30px;
        grid-template-columns: 210px 210px 210px 210px;
        -ms-grid-rows: 140px 30px 140px 30px 140px;
        grid-template-rows: 140px 140px 140px;
        grid-gap: 30px;
        width: 930px;
    }

    .works-list > li:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }
}

.underline {
    margin: 30px auto;
    border-bottom: 1.5px solid #fbb76a;
    position: relative;
    width: 42.5vw;
}

.underline::before {
    content: "";
    position: absolute;
    width: 2vw;
    height: 2vw;
    top: -1vw;
    left: -2vw;
    transform: rotate(45deg);
    border: 2px solid #fbb76a;
    border-radius: 4px;
}

.underline>.line-end::before {
    content: "";
    position: absolute;
    width: 1vw;
    height: 1vw;
    top: -0.5vw;
    left: -1vw;
    transform: rotate(45deg);
    background-color: #fbb76a;
    border-radius: 2px;
}

.underline::after {
    content: "";
    position: absolute;
    width: 2vw;
    height: 2vw;
    top: -1vw;
    right: -2vw;
    transform: rotate(45deg);
    border: 2px solid #fbb76a;
    border-radius: 4px;
}

.underline>.line-end::after {
    content: "";
    position: absolute;
    width: 1vw;
    height: 1vw;
    top: -0.5vw;
    right: -1vw;
    transform: rotate(45deg);
    background-color: #fbb76a;
    border-radius: 2px;
}

.soft-image-wrap img {
    width: 50px;
    height: 50px;
}

.soft-image-wrap h2 {
    margin-bottom: 10px;
}

.soft-image-items>p {
    float: right;
}

.footer-txt {
    margin-bottom: 0px;
}

.footer-wrap {
    background-color: #c2c7c1;
}

.profile .footer-wrap {
    background-color: #c2c7c1;
    box-shadow: 0 0 0 100vmax #c2c7c1;
    clip-path: inset(0 -100vmax);
}

.profile main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
}

/* contact section */
.contact>main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .article-inner {
    width: 90%;
}


.contact .form-inner {
    background-image: linear-gradient(153deg, rgba(255, 241, 187, 1), rgba(255, 228, 159, 1) 37%, rgba(255, 202, 90, 1) 64%, rgba(255, 184, 0, 1) 97%);
    padding: 20px 20px 0 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #bbb, inset 2px 2px 3px 1px rgb(255, 246, 211);
}

.contact .form-list-name p {
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 2px #33333389;
}

.contact-form-list {
    width: 100%;
}

.contact-form-list li {
    list-style: none;
}

.contact-form-list li {
    margin-bottom: 10px;
}

.contact-form-list li textarea,
.contact-form-list li input {
    border-radius: 5px;
    border: 1px solid #0000001f;
    box-shadow: 1px 1px 2px #0000001f inset;
    margin-bottom: 20px;
    background-color: #fff;
}

.contact .contact-form-list li:nth-of-type(4) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form-list li .form-list-text-area {
    width: 100%;
    word-wrap: break-word;
}

.contact-form-list li .form-list-text-area input{
    width: 80%;
    padding-left: .5em;
    font-size: 18px;
}
.contact-form-list li .form-list-text-area textarea {
    width: 100%;
    padding-left: .5em;
    font-size: 18px;
}

.contact main .contact-form-list input::placeholder,
.contact main .contact-form-list textarea::placeholder {
    color: #425081ce;
    font-size: 16px;
}

/*========= button ========== */

button {
    /* Variables */
    --button_radius: 0.75em;
    --button_color: #596798;
    --button_outline_color: #555;
    font-size: 17px;
    font-weight: bold;
    width: 100%;
    border: none;
    border-radius: var(--button_radius);
    background: var(--button_outline_color);
    margin-bottom: 20px;
  }
  
  .button_top {
    display: block;
    box-sizing: border-box;
    border: 2px solid var(--button_outline_color);
    border-radius: var(--button_radius);
    padding: 0.75em 1.5em;
    background: #fff;
    letter-spacing: 0.3em;
    color: var(--button_color);
    transform: translateY(-0.2em);
    transition: transform 0.3s ease;
  }
  
  button:hover .button_top {
    transform: translateY(-0.33em);
    background: var(--button_color);
    color: #fff;
  }
  
  button:active .button_top {
    transform: translateY(0);
  }

/*========= LoadingのためのCSS ===============*/
#splash_logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999;
	background:#ff9d1cdf;
	text-align:center;
}

#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#splash_logo svg{
	width:400px;
    height: 100px;
}

#mask .st0{
    fill:none;
    stroke:#fff;
    stroke-width:90;/*線の太さを指定する*/
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-miterlimit:10;
    stroke-dasharray: 1500; /* 線の間隔を指定する */
    stroke-dashoffset:1500; /* 線の位置を指定する */
}

.fuwafuwa {
    animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
    background: url(../img/pc.png) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 1.5s ease-in-out;
    width: 70px;
    height: 70px;
    margin-top: 15px;
  }
   
  @keyframes fuwafuwa {
    0% {
      transform:translate(0, 0) rotate(-7deg);
    }
    50% {
      transform:translate(0, -7px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(7deg);
    }
  }
  