html{
    font-family: 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
    cursor: inherit;
}
.no-scroll {
    overflow: hidden;
}

/* ヘッダー */
#header{
    padding: 32px 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#button{
    padding: 8px 16px;
    background-color: #e0e0e0;
    border-radius: 50px;
    transition: 0.3s;
}
#button:hover{
    background-color: #f0f0f0;
    transition: 0.3s;
}

/* コンテンツ */
#content{
    padding: 0px 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 48px;
}
#content .img-wrap{
    width: 100%;
    aspect-ratio: 1;
}
#content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.3s;
}
#content img:hover{
    opacity: 0.5;
    transition: 0.3s;
}
.set p{
    margin-top: 12px;
}

/* フッダー */
#fooder{
    padding: 40px 32px 24px;
}
#copywright{
    margin-bottom: 4px;
}
#caution{
    color: #c0c0c0;
    font-size: 10px;
}

/* モーダル */
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background: #e0e0e0;
    justify-content:center;
    align-items:center;
    z-index: 1;
}
.modal.show{
    display:flex;
}
.modal img{
    max-width:80vw;
    max-height:80vh;
}
#modalCaption{
    max-width: 80vw;
    margin-top:16px;
    line-height: 2.5;
    letter-spacing: 0.03em;
}
.close{
    position:absolute;
    top:20px;
    right:30px;
    color:#303030;
    font-size:32px;
    cursor:pointer;
}

/* ウェルカムモーダル*/
.welcome-modal{
    display:flex;
    position:fixed;
    inset:0;
    width:100vw;
    height:100%;
    background: #101010;
    align-items:center;
    justify-content:center;
    z-index: 20;

    /* フェード用 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 480ms ease, visibility 480ms ease;
}
.welcome-modal.show{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.welcome-inner{
    margin: 0 auto 72px;
    width: 80vw;
    transform: translateY(8px);
    transition: transform 480ms ease;
}
.welcome-modal.show .welcome-inner{
    transform: translateY(0);
}
.welcome-inner img{
    width: 80px;
    margin-bottom: 40px;
}
.welcome-inner h2{
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #ffffff;
}
.welcome-inner p{
    font-size: 14px;
    line-height: 1.5;
    color: #a0a0a0;
}

/* フォーム */
form{
    padding: 0px 32px;
}
form p a{
    color: #c0c0c0;
}
.form_file::file-selector-button{
    background: #f0f0f0;
    font-size: 14px;
    border: 0;
    border-radius: 50px;
    padding: 6px 16px;
    margin-top: 8px;
}
.form_item {
	margin: 24px 0;
}
.form_input {
    margin-top: 8px;
	padding: 8px 16px;
	width: 100%;
	font-size: 14px;
	border:none;
    color: #303030;
    background: #f0f0f0;
	border-radius: 50px;
}
input::placeholder {
  color: #d0d0d0;
}
.form_input:focus-visible {
	outline: skyblue auto 0.2px;
}
.form_submit {
	text-align: center;
}
#info{
    color: #c0c0c0;
}
.form_submit button {
	font-size: 14px;
    font-weight: 300;
	background-color: #e0e0e0;
    color: #303030;
	border: none;
	border-radius: 50px;
    margin-top: 36px;
    padding: 8px 32px;
	transition: 0.3s;
	cursor: pointer;
}
.form_submit button:hover {
	background-color: #f0f0f0;
}

/* フォント */
h1{
    font-size: 24px;
    font-weight: 500;
    color: #303030
}
p{
    font-size: 12px;
    color: #303030
}

@media (min-width: 768px) {
    html{
        background-color: #e0e0e0;
    }
    body{
        width: 50vw;
        background: #fff;
    }
    #header,#content,#fooder,form{
        padding-left: 64px;
        padding-right: 56px;
    }
    .modal{
        left: 50vw;
        width: 50vw;
    }
    .modal img{
        max-width:40vw;
        max-height:80vh;
    }
}