@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

* {
    color: #5f4332;
}

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

#top {
    height: 900px;
    padding-top: 80px;
    background-image: url(images/top_main.jpg);
    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;
}

h1 {
    font-size: 150px;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #fff;
    text-align: center;
    margin-top: 200px;
}

#name {
    font-size: 48px;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #fff;
    text-align: center;
    margin-left: 400px;
}

article {
    background-color: #f9e3ce;
}

section {
    position: relative;
    padding-bottom: 80px;
}

section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: 90%;             
    height: 20px;
    background-image: url(images/underline.png);
    background-repeat: repeat-x;
}

.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;
}

#prfimg {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    margin: 20px 200px;
}

.profile {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px 20px;
}

.profile dt {
    font-weight: bold;
    padding-bottom: 24px;
    font-size: 20px;
}

.profile dd {
    margin: 0;
    font-size: 20px;
}

.skill-item {
     margin-bottom: 24px;
}

.skill-head {
    display: flex;
    align-items: center;
    gap: 100px;
}

.skill-name {
    font-weight: bold;
    width: 120px;
}

.skill-head img {
    width: 200px;
}

.skill-text {
    margin-top: 8px;
    font-size: 18px;
    line-height: 20px;
}

#comment {
    text-align: start;
    font-size: 18px;
    padding: 0 200px;
    margin-bottom: 50px;
}

#works_list {
    display: flex;
    padding-top: 80px;
    justify-content: center;
    align-items: center;
    gap: 150px;
}

.frame {
    width: 450px;
    height: 450px;
    background: url(images/frame.png) no-repeat center / 100% 100%;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-inner {
    width: 60%; 
    text-align: start;
}

.frame img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

.contact_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    padding-top: 50px;
}

.contact_inner {
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.contact_inner a {
    padding-top: 10px;
    text-align: center;
}

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;
}