body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    background: rgb(242, 242, 242);
}
/* 基本構造 */
header {
    margin: 0px;
}
.print header {
    display: none;
}
.wrapper {
    margin: 0px 48px;
}
.index .wrapper {
    padding-top: 0px;
}
.wrapper {
    padding-top: 0px;
}
a {
    color: rgb(50, 50, 50);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* ヘッダー */
header {
}
.header-content {
    padding: 48px;
    box-sizing: border-box;
}
header h1 {
    font-size: 30px;
    font-weight: 600;
}
header h1 a {
    color: rgb(50, 50, 50);
    text-decoration: none;
}
header h1 a:hover {
    text-decoration: underline;
}
/* コンテンツ */
#page {
    position: relative;
}
.content {
    margin: 0px auto;
    max-width: 100%;
    margin-bottom: 48px;
    padding: 48px 0px;
    box-sizing: border-box;
}
.content {
    text-align: left;
    display: flex;
    flex-direction: column;
}
.section {
    margin: auto;
    line-height: 1.8;
    width: 100%;
}
.section p {
    font-size: 14px;
    text-align: left;
    /* margin-bottom: 58px; */
    line-height: 1.2;
}
.section form {
    margin: auto;
}
.link-bt {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    line-height: 1;
}
.link-bt a {
    color: #000000;
    text-decoration: none;
    letter-spacing: 2px;
}
.link-bt a:hover {
    text-decoration: underline;
}
#upload {
    padding-bottom: 24px;
    text-align: center;
}
.making-menu {
    margin-bottom: 24px;
}
.student-list {
    display: block;
    margin-bottom: 24px;
}
.student-list h2 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}
.student-list ul {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
}
.student-list ul li {
    flex-basis: 100px;
    word-break: break-all;
    line-height: 1.2;
}
.student-list ul li a:hover img {
    opacity: 0.6;
}
.student-list .student-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}
/* 学生ページ */
.student .student-avatar {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
}
.student-avatar img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    cursor: pointer;
}
.student .student-description {
    margin-bottom: 48px;
    font-size: 14px;
}
.student h1.student-name {
    font-size: 30px;
    font-weight: 600;
}
.student form.form-avatar {
    text-align: left;
    width: 100%;
}
.content-block {
    margin-bottom: 48px;
}
.content-block h2 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}
.project-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.content-block > .project-list {
    padding-left: 20px;
    box-sizing: border-box;
}
.project-list li {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 0px;
    position: relative;
    width: 100px;
}
.project-list li:before {
    content: "";
    height: 100%;
    position: absolute;
    border-left: 1px dotted black;
    width: 20px;
    left: -20px;
}
.content-block > .project-list > li:first-child::after,
.project-list li:after {
    content: "";
    width: 20px;
    border-top: 1px dotted black;
    position: absolute;
    left: -20px;
    top: 50px;
    margin-top: 1px;
}
.project-list li:first-child::before {
    height: calc(100% - 50px);
    top: 51px;
}
.project-list li:first-child::after {
    width: 40px;
    left: -40px;
}
.project-list li:last-child::before {
    height: 50px;
}
.project-list li:first-child:last-child::before {
    border: 0;
}
.project-list img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 4px;
}
.project-list .project-title {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.2;
}
.project-title {
    font-size: 24px;
}
.section p.project-author {
    margin-bottom: 9px;
}
#editNameForm,
#editTitleForm,
#editForm {
    text-align: left;
    margin: 0px;
    flex-direction: row;
    margin-top: 5px;
    margin-bottom: 5px;
    gap: 3px;
}
#editTitleForm input {
    font-size: 18px;
}
#editForm {
    margin-bottom: 48px;
}
.file-list {
    font-size: 14px;
    color: rgb(50, 50, 50);
}
.upload-thumbnail-form form,
.upload-file-form form {
    display: flex;
    flex-direction: row;
}
.explanation {
    font-size: 14px;
    margin-bottom: 6px;
    color: rgb(100, 100, 100);
}
form label {
    font-size: 16px;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgb(200, 200, 200);
    margin-bottom: 12px;
}
h1.page-title {
    font-size: 24px;
    margin-bottom: 24px;
}
.section p.project-meta {
    font-size: 11px;
    margin-bottom: 48px;
}
.project-title-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#fullscreen-button {
    line-height: 1;
    padding: 6px;
}
body pre[class*="language-"] {
    background-color: white;
}
div.download_file_link_wrapper {
    display: block;
    clear: both;
    width: 100%;
    margin-top: 26px !important;
}
span.download_file_link {
    border: 1px solid #999;
    padding: 24px;
    display: inline-block;
    background: white;
}
span.download_file_link a {
    /* color: #777; */
    font-size: 14px;
    text-decoration: underline;
    background: url(./images/download.svg);
    background-repeat: no-repeat;
    padding-left: 24px;
}
/* フォーム  */
#upload-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#upload-form ul li {
    margin-bottom: 24px;
}
/* フォーム テキストエリア */
#upload-form textarea {
    width: 100%;
    height: 220px;
    resize: none;
    font-size: 18px;
    white-space: pre-wrap;
    padding: 9px;
    box-sizing: border-box;
}
/* フォーム ボタン */
#upload-form input.upload-bt {
    background-color: rgb(100, 100, 255);
    color: white;
    border: none;
    min-height: 48px;
    border-radius: 10px;
    margin-bottom: 24px;
}
/* フォーム テキスト */
form input[type*="text"] {
    font-size: 18px;
    padding: 9px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}
form textarea {
    border: 1px solid #ccc;
    min-width: 200px;
    min-height: 150px;
    font-size: 18px;
    padding: 9px;
}
/* フォーム キーワード（選択式）用 */
#upload-form input[type*="radio"] {
    display: none;
}
#upload-form input[type="radio"]:checked + label {
    background: rgb(100, 100, 100);
    border: 1px solid rgb(100, 100, 100);
    color: white;
}
.upload-form-list {
    text-align: left;
}
.upload-form-list-half {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.upload-form-list-half > li {
    flex-basis: 48%;
}

.sakujoButton {
    background-image: url(images/batsu.svg);
    width: 14px;
    height: 14px;
    margin: auto 0px;
    cursor: pointer;
    opacity: 0.6;
}
.sakujoButton:hover {
    opacity: 1;
}

/* 進む／戻る */
.page-navi {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.page-navi input {
    border: 0;
    padding-inline: 0;
    width: 90px;
    padding: 10px;
    border-radius: 20px;
}
.page-navi input:hover {
    cursor: pointer;
    text-decoration: underline;
}
.modoru input {
    background: rgb(255, 161, 11);
    border: 1px solid rgb(0, 71, 150);
    color: white;
}
.susumu input {
    background: rgb(0, 71, 150);
    border: 1px solid rgb(0, 71, 150);
    color: white;
}
.longBt input {
    width: 120px;
}
/* アップロードされた写真リストページ */
.uploaded-list-wrapper {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 72px;
}
.uploaded-list-wrapper > h3 {
    font-size: 14px;
    margin-bottom: 24px;
    background: rgb(255, 161, 11);
    border: 1px solid rgb(0, 71, 150);
    color: white;
    border-radius: 18px;
    display: inline-block;
    padding: 12px;
}
.uploaded-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: calc(100% - 540px * 2);
    width: 100%;
}
.uploaded-list > li {
    /* flex-basis: calc((100% - 40px * 2) / 3); */
    text-align: left;
    margin-bottom: 24px;
}
body.menu-open {
    /*
     overflow-y: hidden;
    padding-right:15px;
    */
    padding-right: 15px;
}
/* 写真 */
.photo-hidden {
    display: none;
}

.trim-frame {
    overflow: hidden;
    position: relative;
    user-select: none;
    touch-action: none;
}
.trim-frame > img {
    position: absolute;
    user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    pointer-events: none;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    touch-action: none;
    -webkit-touch-action: none;
    -moz-touch-action: none;
}
/* CSSファイル内 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
