@charset "utf-8";

@font-face {
    font-family: 'tsunagigothic';
    src:url(../fonts/TsunagiGothicFont.woff) format('woff')
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: tsunagigothic;
}

h1 {
    font-size: 42px;
    color: #333;
}

h2 {
    font-size: 32px;
    color: #333;
}

h3 {
    font-size: 24px;
    color: #333;
}

h4 {
    font-size: 20px;
    color: #333;
}

p {
    font-size: 16px;
    color: #333;
}

select {
    font-size: 16px;
    padding: 3px 1rem 3px 0;
    margin: 0 .5rem 0 0;
}

input::placeholder , textarea::placeholder {
    color: #aaa;
}

header {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
    background-color: white;
    transition-duration: 1s;
}

.nav-box {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    text-align: center;
}

.nav-icon {
    display: none;
}

#bg-anim {
    position: relative;
    z-index: -5;
}

.sponly {
    display: none;
}

.bg-img {
    background-color: white;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -5;
}

.bg-img .heroimg {
    border-radius: 100vw;
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 512px;
}

.heroimg img {
    border: #fff solid 2rem;
    border-radius: 100vw;
    background-color: #fff;
    padding: 2rem;
    position: relative;
    z-index: -1;
    width: 100%;
    max-width: 512px;
}

.bg-svg {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem;
    z-index: -3;
    opacity: 1;
    transition: 1s;
}

.bg-svg.svghide {
    opacity: 0;
}

.bg-svg img {
    width: 100%;
}

header.stick {
    position: sticky;
    top: 0;
    animation-name: stickMove;
    animation-duration: .3s;
    z-index: 100;
}

@keyframes stickMove {
    0% {
        top: -30%;
    }

    100% {
        top: 0;
    }
}
header a {
    text-decoration: none;
    padding: 1rem 0;
    display: inline-block;
}

header h2 {
    transition-duration: .1s;
}

header h2:hover {
    color: white;
    -webkit-text-stroke: #333 1px;
}

header h3 {
    border-right: 1px solid #333;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: .1s;
}

header h3:hover {
    color: white;
    -webkit-text-stroke: #333 1px;
}

header a:last-of-type h3 {
    border: none;
}

.to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background-color: #fff;
    border: solid 1px rgb(8, 229, 245);
    border-radius: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition-duration: .3s;
    z-index: 10;
    color: #333;
}

.to-top.view {
    opacity: 1;
}

.section-outer {
    background-color: #00000033;
    padding: 0 2rem;
}

.section-grad {
    padding: 60px 0;
    background-image: linear-gradient(transparent 0%, #00000033 100%);
}

section {
    max-width: 1280px;
    margin: auto;
    background-color: #f3f3f3;
}

section .content {
    margin: 0 45px;
    padding: 4rem 0;
    border-bottom: solid #888 1px;
}

section .client-content {
    max-width: 520px;
    margin: auto;
}

section:last-of-type .content {
    border: none;
}

section .content h1 {
    text-align: center;
    margin-bottom: 1rem;
}

section .about {
    display: grid;
    margin: 2rem 0 0;
    grid-template-columns: 1fr 1fr;
}

section .catch {
    text-align: center;
}

section .name_icon {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    background-color: #fff;
    border-radius: 100vw;
    margin-bottom: 2rem;
    animation: rollever 10s infinite linear;
}

@keyframes rollever {
    0%{
        transform: rotate(0turn);
    }

    100% {
        transform: rotate(1turn);
    }
}

section .social {
    width: 60%;
    margin: 1rem auto;
}

section .social .social_box {
    border: solid #888 2px;
    padding: .5rem 2rem;
    border-radius: 100vw;
    text-align: center;
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 1rem;
    transition-duration: .3s;
    box-shadow: 0px 1px 3px #333;
}

section .social .social_box:hover {
    background-color: #ccc;
    box-shadow: 0;
}

section .social a {
    text-decoration: none;
}

section .social h3 {
    display: inline-block;
    text-align: start;
}

section .social svg {
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    display: inline-block;
    margin: 0 0 0 auto;
}

section .about_info p{
    margin-top: 1rem;
}

.portfolio-ct , .fanart-ct {
    width: 100%;
    position: relative;
}

.portfolio-ct div , .fanart-ct div {
    width: calc(100% / 3 - 30px);
    position: absolute;
    transition: .2s;
}

.portfolio-ct div:hover , .fanart-ct div:hover {
    transform: scale(1.05);
    z-index: 99;
}

.portfolio-ct img , .fanart-ct img {
    width: 100%;
    cursor: pointer;
    transition-duration: .1s;
}

.portfolio-ct img:hover , .fanart-ct img:hover {
    box-shadow: 0 0 6px rgb(8, 229, 245);
}

.portfolio h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.portfolio .port-sub {
    margin-top: 1rem;
}

.img_box {
    height: 100%;
    display: inline-block;
    text-align: center;
}

.img_box p {
    display: grid;
    grid-template-columns: 1fr 1em;
}

.img_box p::after {
    content: "様";
    display: flex;
    align-items: flex-end;
}

.contact_form {
    margin: auto;
    padding: 0 4rem;
}

.contact_form h3 {
    text-align: center;
}

.warning {
    color: red;
    height: 0;
    overflow: hidden;
    animation-name: warning;
    animation-duration: .3s;
    animation-fill-mode: forwards;
    font-size: 12px;
}

@keyframes warning {
    0%{
        height: 0;
    }

    100% {
        height: 1.5em;
    }
}

#selected {
    position: absolute;
}

.contact_select {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact input[type="radio"] {
    appearance: none;
}

.contact input[type="radio"] + label {
    position: relative;
    background-color: #f3f3f3;
    padding: 1rem 2rem;
    border: 3px solid rgb(8, 229, 245);
    border-radius: 100vw;
    transition-duration: .3s;
    width: 25%;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.contact input[type="radio"] + label.choice {
    animation: labelChoice .3s;
}

@keyframes labelChoice {
    0%{
        transform: scale(1);
    }
    
    30%{
        transform: scale(.8);
    }

    100% {
        transform: scale(1);
    }
}

.contact input[type="radio"] + label:hover {
    cursor: pointer;
}

.contact input[type="radio"] + label .button_anim {
    display: flex;
    width: 2rem;
    height: 2rem;
    border: solid 3px rgb(8, 229, 245);
    flex-shrink: 0;
    border-radius: 100vw;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    position: relative;
}

.contact input[type="radio"] + label p {
    width: 100%;
}

.contact input[type="radio"]:checked + label {
    background-color: rgb(8, 229, 245);
}

.contact input[type="radio"]:checked + label .button_anim {
    background-color: rgb(8, 229, 245);
    border: solid 3px #fff;
}

.contact input[type="radio"]:checked + label .button_anim::before {
    content: "";
    background-color: #fff;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 100vw;
}

.contact input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    width: calc(100% - .5rem);
    height: calc(100% - .5rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: solid .25rem #f3f3f3;
    border-radius: 100vw;
}

.contact_content {
    margin-top: 2rem;
}

.contact_content span {
    vertical-align: text-top;
    font-size: 12px;
}

.require01 span ,.require02 span {
    color: red;
}

.contact_content input ,
.contact_content textarea {
    padding: .5rem;
    width: 100%;
    font-size: 16px;
    margin: .5rem 0;
}

.contact_content input[type="file"] {
    margin: 1rem 0 0 0;
    padding: 0;
    width: auto;
}

.contact_content input[type="radio"] {
    display: none;
}

.contact .contact_content input[type="radio"] + label {
    text-align: start;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    max-width: 100%;
    width: fit-content;
}

.contact .contact_content input[type="radio"] + label p {
    flex-shrink: 0;
    width: auto;
}

.contact .contact_content input[type="radio"] + label .button_anim {
    width: 1.5rem;
    height: 1.5rem;
}

.contact_content .reference {
    display: flex;
}

.contact_content .reference img {
    max-width: 300px;
}

.form_content form {
    max-width: 520px;
    margin: auto;
}

.form_content {
    display: none;
}

.form_content.formopen {
    display: block;
}

.form_subcontent {
    text-align: center;
}

.contact_topnote {
    margin-top: 1rem;
}

.content_note {
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.contact button[name="bt-sub"] {
    margin: auto;
    display: block;
    font-size: 16px;
    margin-top: 2rem;
    padding: .5rem 2rem;
}

.confirm_button {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.confirm_button button {
    padding: 1rem 2rem;
    font-size: 20px;
    appearance: none;
    transition-duration: .3s;
    width: 25%;
}

.confirm_button button:hover {
    cursor: pointer;
}

.confirm_button button[name="btn_back"] {
    text-align: start;
    border: 2px solid #333;
    border-top-left-radius: 100vw;
    border-bottom-left-radius: 100vw;
}

.confirm_button button[name="btn_submit"] {
    text-align: end;
    border: 2px solid #333;
    border-top-right-radius: 100vw;
    border-bottom-right-radius: 100vw;
    background-color: rgb(8,229,245);
}

.outerAnimbox {
    position: absolute;
    top: calc(50% - 2px);
    left: calc(50% - 4px);
}

.innerAnimbox {
    position: relative;
}

.modal {
    display: flex;
    position: fixed;
    transition: .3s;
}

#modal-img {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgb(0,0,0,.6);
}

#modal-img span {
    position: relative;
}

#modal-img .modal_close {
    position: absolute;
    font-size: 60px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    z-index: 101;
    background-color: #fff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 100%;
    top: 0;
    pointer-events: none;
}

#modal-img .open + .modal_close {
    display: none;
}

#modal-img img {
    max-width: 1080px;
    width: 100%;
    max-height: calc(100dvh - 4rem);
    cursor: zoom-in;
    position: relative;
    z-index: 100;
}

#modal-img img.open {
    cursor: zoom-out;
}

#modal-img .open + .modal_close::after {
    content: "クリックで元のサイズへ";
    position: fixed;
    width: auto;
    border-radius: 100vw;
    font-size: 14px;
    height: auto;
    line-height: normal;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    left: 50%;
    bottom: 25%;
    transform: translateX(-50%);
}

footer {
    background-color: #fff;
    color:#333;
    padding: 1rem;
    text-align: center;
}

.confirmation p {
    word-wrap: break-word;
}

.confirm_header {
    display: none;
}

.send-top {
    margin-top: 2rem;
    display: flex;
    font-size: 22px;
    justify-content: center;
}

.send-top a {
    padding: 1rem 2rem;
    background-color: rgb(8, 229, 245);
    color: #333;
    border-radius: 100vw;
    text-decoration: none;
    border: 2px solid #333;
}

@media screen and (max-width: 767px) {

    h1 {
        font-size: 24px;
        color: #333;
    }
    
    h2 {
        font-size: 20px;
        color: #333;
    }
    
    h3 {
        font-size: 18px;
        color: #333;
    }
    
    h4 {
        font-size: 16px;
        color: #333;
    }
    
    p {
        font-size: 14px;
        color: #333;
    }
    
    select {
        font-size: 14px;
        padding: 3px 1rem 3px 0;
        margin: 0 .5rem 0 0;
    }

    input[type="file"] {
        font-size: 14px;
    }

    header {
        display: flex;
        justify-content: space-between;
    }

    header h3 {
        border: none;
    }
    
    .heroimg img {
        width: 216px;
    }

    nav {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        overflow: hidden;
    }

    .ham-open {
        height: 100dvh;
    }

    .nav-box {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5,1fr);
        position: absolute;
        left: 100%;
        width: 100%;
        overflow: hidden;
        padding: 90px 0 100%;
        background-color: #ffffffaa;
        transition: .2s;
    }

    .ham-open .nav-box {
        left: 0;
    }

    .nav-icon {
        display: block;
        width: 60px;
        height: 60px;
        margin-left: auto;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 100;
    }

    .nav-icon span {
        display: inline-block;
        width: calc(100% - 1rem);
        height: 3px;
        background-color: #333;
        position: absolute;
    }

    .nav-icon .nav-top {
        top: calc(50% - 14px);
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .nav-icon .nav-middle {
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .nav-icon .nav-bottom {
        top: calc(50% + 14px);
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .nav-box a {
        background-color: white;
        padding: 1rem 2rem;
        transition-duration: .5s;
    }

    .section-outer {
        padding: 0 20px;
    }

    .sponly {
        display: block;
    }

    section .about {
        display: grid;
        margin: 2rem 0 0;
        grid-template-columns: 1fr;
    }

    section .name_icon {
        width: 80%;
        margin-bottom: 0;
    }

    section .social {
        width: auto;
        margin: 1rem auto;
    }

    section .social_contain {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }

    section .social .social_box {
        display: flex;
        padding: 0;
    }

    section .social svg {
        box-sizing: content-box;
        margin: 0;
        padding: 1rem;
    }

    section .social_contain h3 {
        display: none;
    }

    .portfolio-ct div {
        width: calc(100% / 2 - 10px);
    }

    .fanart-ct div {
        width: calc(100% / 2 - 10px);
    }

    .heroimg img {
        border: #fff solid 1rem;
        padding: 1rem;
    }

    section .content {
        margin: 0 20px;
        padding: 90px 0;
        border-bottom: solid #888 1px;
    }

    .contact_form {
        margin: auto;
        padding: 0;
    }

    .contact_select {
        flex-wrap: wrap;
        gap: 0;
        position: relative;
    }

    .choice_label {
        margin-top: 1rem;
    }

    .contact input[type="radio"] + label {
        width: 100%;
    }

    #modal-img span {
        position: unset;
    }

    #modal-img .modal_close {
        left: calc(100% - 60px);
        top: 0;
        pointer-events: none;
    }
    
    #modal-img .open + .modal_close {
        position: fixed;
        left: calc(100% - 60px);
        top: 0;
    }
}