:root{
    --text-color: #fff;
    --text-color-light: #ddd;
    --bg-color: #002;
    --height-header: 8rem;
    --height-footer: 9rem;
    --header-bg-color: var(--bg-color);
    --footer-bg-color: var(--bg-color);
}
a {
    list-style: none;
    text-decoration: none;
    color: var(--text-color);
}
p {margin: 0;
    padding: 0;
}
ul {
    padding:0;
    list-style: none;
}
body {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-family: 'Noto Sans JP','Noto Sans';
}
header {
    display: block;
    height: var(--height-header);
    background: var(--header-bg-color);
}
header > div {
    position:absolute;
    box-sizing: border-box;
    width: 100%;
    height: var(--height-header);
    border-bottom: 2px solid var(--text-color);
}
footer {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-shrink: 0;
    flex-direction: column;
    background-color: var(--footer-bg-color);
    height: var(--height-footer);
}
.contents *:not(.bg-txt) {
    text-shadow: #000 0 0.2rem 0.3rem;
}
.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
.bg p {
    position: absolute;
    line-height: 1;
    display: inline-block;
    text-shadow: none;
    font-weight: bolder;
    font-size: min(25vw,25vh);
    letter-spacing: -0.05em;
    width: fit-content;
    height: fit-content;
    top: 0;
    left: 2.2em; 
    transform-origin: top left;
    transform: rotate(90deg);
}
.bg-txt {
    background-image: url("../../com/img/blue.svg");
    background-clip: text;
    color: white;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.bg span {
    font-size: 2.3em;
}
.index-contents-outer {
    width: 100%;
    height: fit-content;
    overflow: hidden;
}
.contents {
    position: relative;
    max-width: 50rem;
    min-height: calc(100vh - var(--height-header) - var(--height-footer) - 2rem);
    margin: auto;
    padding: 1rem 2rem;
}
h2 {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    font-size: 3rem;
}
.header-outer {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    padding: 0.25rem 2rem;
    transform: translateY(-50%);
}
.header-ul {
    display: flex;
    flex-flow: row nowrap;
}
.header-ul > li {
    margin: 0 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #000;
}
.index > h2 {
    position: relative;
    align-items: center;
    max-width: 100%;
    height: calc(min(13rem, 30vw)*1.5);
    text-align: center;
    font-size: min(13rem, 30vw);
}
.index > h2 > p {
    font-size: min(80vh, 80vw);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    width: fit-content;
    height: fit-content;
    pointer-events: none;
    transition: opacity 0.8s ease;
    transform: translate(-25%, -40%);

}
.index > h2:hover a {
    transition: font-size 0.2s; 
    z-index: 1;
    display: inline-block;
    font-size: min(15rem, 32vw);
}
.index > h2:hover p {
    z-index: -1;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    color: gray;
}
.works {
    width: 100%;
    margin: 2rem auto;
}
.works-inner {
    padding: 0 2rem 1rem;
    border-left: 4px solid var(--text-color);
}
.works-inner > h2 {
    border-bottom: 2px solid var(--text-color);
}
.works-pict > img {
    max-width: 100%;
    border-radius: 1rem;
}
.works-prises {
    margin: 0.5rem 1rem;
}
.works-prise {
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}
.works-techs {
    display: flex;
    flex-flow: row wrap;
}
.works-techs > li {
    margin: 0.25rem 0.5rem;
}
.works-techs > li > img {
    display: block;
    width: 3rem;

    aspect-ratio: 1;
}
.works-link {
    margin: 0.25rem 0;
}
.works-link > a  {
    padding: 0.25rem 0.5rem;
    color: var(--bg-color);
    border-radius: 0.25rem;
    background-color: var(--text-color);
    font-weight: bold;
    line-height: 2rem;
    text-shadow: none !important;
}

.flex {
    display: flex;
}
.namespace {
    margin-left: 1rem;
}
.icon > img {
    width: 15rem;
    border: 2px solid #fff;
    border-radius: 10%;

    aspect-ratio: 1;
}

.affiliation > ul > li {
    margin: 0.25rem auto;
}

.about-session {
    box-sizing: border-box;
    margin-bottom: 1rem;
    padding: 0 1rem;
    border-left: 2px solid #fff;
}
.about-session > h3 {
    border-bottom: 2px solid #fff;
}
.about-session >*:not(h3) {
    margin-left: 1rem;
}
.stack > ul {
    display: flex;
    flex-flow: row wrap;
}
.stack > ul > li {
    margin-right: 1.5rem;
    list-style: none;
}

.career-outer {
    /* border-left: 2px solid #fff; */
    padding: 0.5rem 1rem;
}
.career-outer > p {
    font-size: 3rem;
}

.career {
    display: flex;
    flex-direction: column;
    margin-left: 0.75rem;
}
.career-section {
    display: flex;
    flex-direction: row;
    margin: 0.5em 0;

    gap: 0 0.5em;
}
.data-outer {
    display: contents;
}
.career-section .date {
    width: 3rem;
    vertical-align: middle;
    color: var(--text-color-light);
    font-size: 1rem;
    line-height: 2.25rem;
}
.career-section .circle {
    width: 2.25rem;
}
.career-section .circle > div:first-child {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.375rem;
    border-radius: 100%;
}
.career-section .circle > div:last-child {
    width: 1px;
    height: calc(100% - 2.25rem);
    margin: 0 auto;
    background-color: #fff;
}
.career-detail {
    flex: 1;
}
.career-detail > .title {
    font-size: 1.5rem;
    font-weight: bold;
}
.career-detail > .desc {
    margin-left: 0.5rem;
}
.career-article {
    width: fit-content;
    margin: 0.5rem;
    margin-right: 0.5rem;
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--text-color-light);
}
.career-article > a {
    color: var(--bg-color);
}
.sns > dl > dd {
    margin: -1.5em auto 0 5rem;
}
.footer-inner {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    border-top: 1px solid var(--text-color);
}
.footer-inner > ul {
    margin-left: 2rem;
}
.footer-copyright {
    width: fit-content;
    height: fit-content;
    margin: 0 auto 0.25rem;
}
@media screen and (max-width: 600px) {
    :root {
        --height-header: 4rem;
        --height-footer: 8rem;
    }
    html,body{
        font-size: 14px;
    }
    .bg p {
        left: 120vw; 
        font-size: 60vw;
    }
    .header-outer > p {
        display: none;
    }
    .namespace {
        display: contents;
    }
    .namespace > h2 {
        order: -1;
        margin-bottom: 1rem;
    }
    .contents {
        padding: 0 1rem;
    }
    .career-outer {
        padding: 0 0;
    }
    .works-inner {
        padding: 0 1rem;
        border: none;
    }
    .flex {
        flex-direction: column;
    }
    .data-outer {
        display: flex;
        flex-direction: row;
    }
    .career-section {
        flex-direction: column;
    }
    .career-section .circle {
        display: contents;
    }
    .career-section .circle > div:last-child {
        width: 100%;
        height: 1px;
        margin: auto 0;
    }
}


.c0de,.python,.php,.linux,.x,.github,.web,.mail{
    position: relative;
    box-sizing: border-box;
    width: fit-content;
}
.c0de::before,.python::after,.php::after,.linux::after,.x::before,.github::before,.web::before,.mail::before{
    position: absolute;
    display: inline;
    overflow: hidden;
    box-sizing: border-box;
    height: 2rem;
    content: '';
    background-repeat: no-repeat;
    background-size: auto 100%;

    aspect-ratio: 1;
}
.python::after,.php::after,.linux::after{
    margin-left: 0.5rem
}
.c0de,.x,.github,.web,.mail{
    padding-left: 2.5rem;
}
.c0de::before,.x::before,.github::before,.web::before,.mail::before{
    margin-left: -2.5rem;
}
.c0de::before{
    background-image: url('/com/img/c0de.svg');
}
.python::after{
    background-image: url('/com/img/python.svg');

    aspect-ratio: 0.9;
}
.php::after{
    background-image: url('/com/img/php.svg');

    aspect-ratio: 2;
}
.linux::after{
    background-image: url('/com/img/linux.gif');
}
.x::before{
    background-image: url('/com/img/x.svg');
}
.github::before{
    background-image: url('/com/img/github.svg');
}
.web::before{
    background-image: url('/com/img/web.svg');
}
.mail::before{
    background-image: url('/com/img/mail.svg');
}