@charset "UTF-8";

body {
    /* background-color: #D9D9D9; */
    box-sizing: border-box;
    max-width: 100%;
}

img {
    max-width: 100%;
}

section {
    margin-bottom: 150px;
}

h1 {
    font-family: 'Times New Roman';
}

h2 {
    width: 130px;
    font-size: 40px;
    font-weight: bold;
    border-bottom: 3px solid #000000;
    margin-bottom: 50px;
    font-family: 'Times New Roman';
}

h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.h2-flex {
    display: flex;
}

.h2-flex p {
    padding-top: 25px;
}



/* header */

header {
    background-color: rgb(255, 255, 255);
    position: absolute;
    /* height: 100px; */
    width: 100%;
    opacity: 0.5;
    z-index: 20;
}

.nav-ul {

    display: flex;
    justify-content: left;
    gap: 20px;
    padding: 15px 50px;
}

.nav-ul-li {
    font-size: 20px;
    color: #000000;
}

/* top */

#top {
    background-color: #efeded;
    display: flex;
    justify-content: space-around;
    position: relative;
}

.index-top {
    margin-top: 250px;
}

.h1 {
    font-size: 100px;
    display: flex;
    align-items: center;
}

.top-img {
    height: 900px;
    opacity: 0.9;
}

.section {
    padding: 0 100px;
}

/* works */

.in-p-border {
    font-size: 16px;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 0 10px;
    display: inline-block;
}

.in-gr-flex {
    display: flex;
    gap: 5px;
}

.in-works {
    margin-bottom: 50px;
}

.index-ul {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    flex-direction: row;
    flex-wrap: wrap-reverse;
}

.index-ul li {
    width: 250px;
}

.in-figure {
    margin-bottom: 10px;
}

/* about */

.in-about-flex {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.in-about-p {
    width: 350px;
}

.name {
    font-size: 28px;
    margin-bottom: 20px;
}

.name::after {
    content: "  Hirai Sawa";
    font-size: 12px;
}

.in-about-img {
    width: 300px;
    height: 200px;
    background-color: #D9D9D9;
    box-shadow: 10px 10px 10px #d8d5d5;
}

.more {
    display: inline-block;
    text-align: center;
    border: 1px solid #000000;
    margin: 0 auto;
}

/* footer */

.in-footer {
    margin: 0 100px;
    border-top: 3px solid #000000;
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
}

.in-footer div {
    text-align: center;
}

.insta {
    width: 45px;
}

.in-footer p {
    font-size: 40px;
}

.footer-ul li {
    margin-bottom: 10px;
    font-size: 20px;
}

.in-small {
    margin: 0 auto;
}