@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --text: #181818;
    --body: #fdfdfd;
    --background: #f4f6f5;
    --button: #4d4d4d;
    --border: #eaecea;
}
html {
    font-size: 10px;
    overflow-y: scroll;
}
body {
    background-color: var(--body);
    font-size: 1.6em;
    line-height: 1;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text);
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover:not(.botton>a) {
    opacity: .6;
}
img {
    width: 100%;
}
ul, dl {
    list-style-type: none;
}
.button {
    display: block;
    background: var(--button);
    color: #fff;
    letter-spacing: .15em;
    text-align: center;
    padding: 1.25em;
    width: 150px;
    border-radius: 999px;
}
.button:hover {
    opacity: .7;
}
h1 {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/* header ----- */
body>header {
    background: var(--background);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
}
.header>div h1 {
    font-size: 1.75em;
    font-weight: 500;
    margin-bottom: .5em;
}
.header>div h1:not(.nospace) {
    letter-spacing: .1em;
}
.header>div p {
    font-size: 65%;
    opacity: .6;
    letter-spacing: .05em;
}
.header h2 {
    font-size: 1.5em;
    letter-spacing: .15em;
    font-weight: 600;
}
.header nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}
.header nav ul li {
    font-size: .825em;
    letter-spacing: .15em;
}
/* menu */
.meatball {
    display: inline-block;
    vertical-align: middle;
    color: var(--button);
    line-height: 1;
    width: .375em;
    height: .375em;
    background: var(--button);
    border-radius: 50%;
    box-shadow: -1.5em 0 0 0 var(--button), -.75em 0 0 0 var(--button)
}
#menu {
    display: none;
}
#menu:checked + label span {
    opacity: .5;
}
#menu + label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -24px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.header nav {
    position: relative;
}
.header nav ul {
    display: none;
}
#menu:checked ~ ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: .8;
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    padding: 25px 0;
    z-index: 999;
}

/* main ----- */
main {
    display: flex;
    width: 100%;
}
.detail {
    width: 37%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    background: var(--background);
    padding: calc(132.4px + 1%) 55px 0 50px;
}
.detail ul {
    display: flex;
    flex-flow: column;
    height: 100%;
    max-height: 620px;
    justify-content: space-between;
    padding-bottom: 1.5em;
}
.detail ul li h3,
.url h3 {
    font-size: 1em;
    font-weight: 500;
    letter-spacing: .05em;
    margin-bottom: .3em;
}
.detail ul li h3::before,
.url h3::before {
    content: "●";
    /* color: #4768af; */
    /* color: #c8af95; */
    color: #bbd3b6;
    padding-right: .25em;
} 
.detail ul li>p,
.detail ul li>a {
    font-size: 80%;
    line-height: 1.5;
    text-align: justify;
    padding-left: 1.625em;
}
.detail ul li a>span,   
.url a>span{
    padding-bottom: .1em;
    border-bottom: #bbd3b6 1px dashed;
    letter-spacing: .03em;
}
.sample {
    width: 63%;
    padding: calc(132.4px + 2%) 2% 2%;
}
.sample img {
    margin-bottom: .25em;
    object-fit: cover;
}
.sample p {
    font-size: .75em;
    line-height: 1.625;
    text-align: justify;
    margin-bottom: 3em;
}
.url {
    display: none;
}

/* footer ----- */
footer {
    background: var(--background);
    border-radius: 0 150px 0 0;
    width: 100%;
}
.toworks {
    padding-top: 70px;
}
.toworks>a {
    display: block;
    background: var(--button);
    color: #fff;
    font-size: .825em;
    letter-spacing: .15em;
    text-align: center;
    padding: 1.25em;
    margin: 0 auto;
    width: 180px;
    border-radius: 999px;
}
.toworks>a:hover {
    opacity: .6;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 100px 70px 30px 50px;
}
.footer>div {
    display: flex;
    flex-flow: column;
    gap: 4em;
}
.footer>div nav {
    display: flex;
    flex-flow: column;
    gap: 1.25em;
}
.footer>div nav>a,
.footer>a p {
    letter-spacing: .1em;
}
.footer>div small {
    letter-spacing: .1em;
}
.footer>a {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: .375em;
}
.footer>a img {
    width: 66px;
    border-radius: 999px;
}


@media (max-width:1200px) {
    .detail {
        width: 40%;
    }
    .sample {
        width: 60%;
    }
}
@media (max-width:1023px) {
    main {
        flex-flow: column;
    }
    .detail {
    width: 100%;
    height: 100%;
    position: static;
    padding: calc(132.4px + 20px) 65px 50px 50px;
    }
    .detail ul {
        gap: 1.25em;
        padding-bottom: 0;
    }
    .sample {
        width: 100%;
        padding: 2em 5%;
    }
    .sample img {
        margin-bottom: .25em;
    }
    .url {
        display: block;
        padding: 1em 0 2em;
    }
    .url p {
        font-size: 80%;
        line-height: 1.625;
        text-align: justify;
        padding-left: 1.625em;
        margin-bottom: 0;
    }
    .url a {
        font-size: 80%;
        line-height: 1.5;
        text-align: justify;
        padding-left: 1.625em;
    }
    .url a>span {
        padding-bottom: .1em;
        border-bottom: #bbd3b6 1px dashed;
    }
}

@media (max-width:440px) {
    .header {
        padding: 30px 25px;
    }
    .button {
        width: 100px;
    }
    .meatball {
        width: .25em;
        height: .25em;
    }
    #menu:checked ~ ul {
        width: 100px;
    }
    .detail {
    padding: calc(112.4px + 20px) 45px 50px 25px;
    }
}

