@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
img {
    width: 100%;
    vertical-align: bottom;
    text-align: center;
}
/* heater */

@media (max-width: 768px) {
    .name1 {
        font-size: 50px;
        text-align: left;
        margin-bottom: -60px;
    }
    .name2 {
        font-size: 50px;
        margin-bottom: 150px;
        text-align: left;
    }
    .hero img {
        margin-top: -160px;
        width: 400px;
        text-align: center;
    }
    h2 {
        margin-top: 100px;
        margin-bottom: 40px;
        font-size: 20px;
        text-align: center;
    }
    .botan p {
        border-bottom: 1px solid #333;
        width: fit-content;
        margin-left: 135px;
        color: #333;
    }
    p {
        text-align: center;
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 00px;
    }
    .work1 {
        margin-bottom: 120px;
    }
    .work2 {
        margin-bottom: 120px;
    }
    .work3 {
        margin-bottom: 120px;
    }
    .work4 {
        margin-bottom: 120px;
    }
    .me {
        width: 300px;
        margin: auto;
    }
    .button_solid008 {
        width: 200px;
        margin: auto;
    }
   
}

h1 {
    height: 100px;
}

.box1 {
    width: 300px;
    margin: auto;
}
.box2 {
    width: 300px;
    margin: auto;
}

/* main */
/* overlay-styles.css */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all 0.6s;
}

.hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
}
.hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
}
.hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s;
    z-index: 900;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}

.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
}
.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
}
.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.3s;
}
.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-overlay__link:hover {
    color: #4a90e2;
}

/* ボタン */
/* solid008 */
.button_solid008 a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 220px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button_solid008 a::before {
    content: "";
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #bbbbbb;
    transition: 0.2s ease 0s;
}

.button_solid008 a::after {
    content: "";
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #bbbbbb;
    transition: 0.2s ease 0.2s;
}

.button_solid008 a:hover::before {
    width: 0%;
}

.button_solid008 a:hover::after {
    height: 0%;
}

.button_solid008 a:hover {
    text-decoration: none;
    background-color: #ccc;
}

/* footer */
footer h2 {
    font-family: serif;
    font-size: 28px;
    margin-bottom: -10px;
}


footer {
   background-color: darkgray; 
   
    font-family: serif;
    
    height: 140px;
}

