@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

* {
    color: #5f4332;
}

body {
     font-family: "Noto Serif JP", serif;
}

header {
    height: 150px;
    padding-top: 80px;
    background-image: url(images/works_top.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex; 
    justify-content: space-between;  
    align-items: center;
    padding: 10px 40px;
    background-color: rgba(255, 255, 255, 0.3); 
    z-index: 1000; 
}

header nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 20px;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #fff;
}

article {
    background-color: #f9e3ce;
	padding-bottom: 80px;
}

.wrap {
    font-size: 32px;
    padding: 80px 100px;
    display: inline-block;
    background-image: url("images/line1.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 260px 25px;
    margin: 0 100px;
    padding-bottom: 25px;
}

.works_inner {
    width: 1000px; 
    text-align: right;
	align-items: center;
    justify-content: center;
	margin: 0 auto;
	padding: 60px 0;
}

.works_inner img {
	width: 1000px;
    height: auto;
    display: block;
}

.memo {
    margin-top: 10px;
    font-size: 13px;
    line-height: 16px;
}

#theme {
	width: 1000px;
    margin: 0 auto;
	
}

h2 {
	padding-bottom: 20px;
}

dl {
	display: grid;
    grid-template-columns: 100px 1fr;
	font-size: 24px;
	width: 350px;
	padding: 3px 5px;
	border: 2px solid #595959;
	background-color: #ebc5a0;
}

table , td, th {
	border: 2px solid #595959;
	border-collapse: collapse;
}
td {
	padding: 3px;
	width: 800px;
	height: 25px;
}
th {
	background: #fcd3ac;
	padding: 3px 5px;
	width: 200px;
	height: 25px;
}


#listlink {
    display: block;
    width: 200px;
    text-align: center;
    margin: 30px auto;
    padding: 5px 0;
    font-size: 20px;
    background-color: #d0c2ba;
    border: 3px solid #785e4e;
}

footer {
    background-image: url(images/footer_imag.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
}

footer img {
    display: block;
    margin: 0 auto;
    padding-top: 20px;
}

#small {
    text-align: center;
    font-size: 16px;
    padding: 10px;
}

#page_top {
   position: fixed;
   bottom: 30px;
   right: 30px;
}

/* ===========================
   スマホ版
=========================== */
@media screen and (max-width: 550px) {

     header {
        height: 120px;
        padding-top: 60px;
        background-position: center;
    }

    /* ナビ */
    #topnav {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }

    #topnav img {
        width: 30%;
        min-width: 100px;
    }

    header nav ul {
        gap: 15px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

        /* 見出し */
      .wrap {
        font-size: 24px;
        padding: 40px 20px 20px;
        margin: 0 20px;
        background-size: 180px 18px;
    }

    .works_inner,
    #theme {
        width: 80%;
    }

    .works_inner {
        padding: 40px 10px;
    }

    .works_inner img {
        width: 100%;
        height: auto;
    }

    .memo {
        font-size: 12px;
        text-align: left;
    }

    dl {
        width: 100%;
        grid-template-columns: 90px 1fr;
        font-size: 18px;
    }

    table {
        width: 100%;
        table-layout: fixed;
        font-size: 14px;
    }

    th {
        width: 30%;
    }

    td {
        width: auto;
        word-break: break-word;
    }

    #listlink {
        width: 180px;
        font-size: 18px;
    }

    footer img {
        width: 250px;
        height: auto;
    }

    #page_top img {
        width: 60px;
        height: auto;
    }

    #page_top {
        right: 15px;
        bottom: 15px;
    }
}