@charset "utf-8";

/* ---------------------------共通--------------------------- */

:root{
    --bace:#e0e1e1;
    --accent:#8dc21f;
    --accent2:#898989;
    --text:#323232;
    --border_radius: 20px;
    --border-radius_round: 50px;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
	scroll-padding-top: 150px;
}

body{
    background-color: var(--bace);
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    font-size: 0.87rem;
}

a{
    color: var(--accent2);
    text-decoration: none;
    font-weight: 900;
    display: block;
}

a:hover,
a:active{
    color: var(--accent);
}

img{
    max-width: 100%;
    vertical-align: bottom;
}

ul{
    list-style-type: none;
}

h2{
    font-size: 16px;
    font-weight: 900;
    border-bottom: 1px solid var(--text);
    margin-bottom: 60px;
}

.container {
    background-color: #fff;
}

.work-container,
.profile-container,
.contact-container{
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 60px 0;

}

.logo-img {
    width: 120px;
    min-width: 120px;
}

.fa-brands{
    font-size: 26px;
    font-weight: 700;
    vertical-align: bottom; 
}


/* ---------------------------loading--------------------------- */

/* #loading {
    width: 100vw;
    height: 100vh;
    background-color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

#loading.loaded {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
} */

/* ---------------------------header--------------------------- */

.header-container {
    font-size: 1rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px 10%;
    transition: all .5s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.header-nav ul{
    height: 175px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 25px 2rem;
    border-radius: var(--border-radius_round);
}

.header-nav .sns{
    height: auto;
    flex-direction: row;
    justify-content: center;
    padding: 0;
}

.header-mainvisual{
    margin-top: 200px;
    background-image: linear-gradient(transparent 50%,#fff 50%);
    overflow: clip;
    display: flex;
    justify-content: center;
}

.header-mainvisual img {
    max-width: 2000px;
}

.header-container.bg-white {
    background-color: #fff;
    padding: 10px 10%;
}

.header-container .header-inner.header-small {
    flex-direction: column;
}

.header-container .header-small .logo-img  {
    width: 80px;
    min-width: 80px;
}

.header-container .header-small .header-nav>ul {
    font-size: .875rem;
    height: 100%;
    flex-direction: row;
    gap: 1.5rem;
    padding: 5px 2rem;
}



/* ---------------------------work--------------------------- */

.work-innerbox{
    width: clamp(100%, 50vw, 1200px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 33px;
    margin-bottom: 60px;
}

.work-innerbox_item img{
    height: 150px;
    border-radius: var(--border_radius);
    box-shadow: 2px 2px 3px rgba(0,0,0,.25);
    object-fit: cover;
    object-position: top;
    aspect-ratio: 2 / 1;
}

.work-innerbox_item img[src="./img/work_banner4.png"]{
    object-position: center center;
}

.work-innerbox_item img[src="./img/work_ticket.png"]{
    object-position: left center;
}

/* ---------------------------profile--------------------------- */

.profile-name {
    text-align: center;
}

.profile-name img {
    max-width: fit-content;
}

.profile-name p{
    font-size: 1.375rem;
    font-weight: bold;
    margin: 14px 0;
}

.profile-name p span {
    font-size: 14px;
    display: block;
}

.profile-text {
    line-height: 1.8;
}

.profile-text p:first-child {
    margin-bottom: 1rem;
    text-align: center;
}

.profile-text p:last-child {
    margin-top: 1rem;
}

/* ---------------------------contact--------------------------- */


.contact-container {
    margin-bottom: 0;
}

.contact-container p {
    text-align: center;
}

.mail-btn {
    display: flex;
    justify-content: center;
}

.mail-btn a{
    width: clamp(273px, 89vw, 450px);
    display: block;
    padding: 1.1rem;
    font-size: 1rem;
    color: #fff;
    background-color: var(--accent);
    border-radius: var(--border-radius_round);
    font-weight: 700;
    text-align: center;
    margin-top: 1rem;
}

.mail-btn a:hover {
    background-color: var(--bace);
}


/* ---------------------------footer--------------------------- */

footer{
    text-align: center;
    padding: 2.5rem;
}

footer .back_to_top{
    position: fixed;
    bottom: 45px;
    right: 30px;
}

footer .back_to_top a{
    display: inline-block;
    width: 70px;
    vertical-align:bottom;
    color:var(--text);
    background-color: rgba(255,255,255,.9);
    padding: 15px;
    border-radius: var(--border_radius);
    box-shadow: 2px 2px 3px rgba(0,0,0,.25);
}

footer .back_to_top a::before{
    content: "";
    display: block;
    background-image: url(../img/back_btn.png);
    height: 15px;
    width: 100%;
    background-size: 35px;
    background-position: center;
}


/* ---------------------------work page--------------------------- */


#work .work-area {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#work .work-area_innner {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 140px;
}

#work .work-area_hedding {
    margin-bottom: 2rem;
}

#work .work-area_flexbox {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-direction: column-reverse;
}

#work .work-area_flexitem section {
    margin-bottom: 1.5rem;
}

#work .work-area_flexitem-img img{
    border: 1px solid var(--accent2);
}

#work .work-area_gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 5rem;
}


/* ---------------------------PC ver.--------------------------- */

@media (min-width: 800px){

    /* ---------------------------header--------------------------- */

    .header-container .header-inner.header-small {
        flex-direction: row;
    }

    .header-nav ul {
        display: flex;
        flex-direction: row;
        width: auto;
        height: auto;
        gap: 2rem;
    }


    /* ---------------------------profile--------------------------- */

    .profile-innner-container {
        display: flex;
        gap: 2rem;
        justify-content: center;
    }

    .profile-text p:first-child {
        text-align-last: left;
    }
/* ---------------------------work page--------------------------- */

#work .work-area_flexbox {
    flex-direction: row-reverse;
}

#work .work-area_flexitem {
    flex: 1 0 10%;
}

#work .work-area_flexitem-img {
    flex: 0 0 40%;
    margin-bottom: 5rem;
}

#work .work-area_flexitem-img img {
    min-width: 360px;
}

#work .work-area_gallery {
    display: flex;
    flex-direction: row;
}
}

