@charset "utf-8";

body {
    margin: 0;
    font-family: "adobe-arabic", sans-serif;
    font-weight: 400;
    font-style: normal;

}

h1 {
    font-style: oblique;
}

p,
h1,
h2,
h3,
h4,
a {
    margin: 0;
    color: #30353a;
}

a {
    text-decoration: none;
}

#container {
    font-size: 18px;

}

h2 {
    font-size: 60px;
    text-align: center;
}

.summary {
    text-align: center;
    margin-bottom: 35px;
    margin-top: -5px;
    line-height: 33px;
}

.bg-gray {
    background-color: #efefef;
}

.header {

    width: 100%;
    font-size: 35px;
    position: absolute;
    z-index: 999;

}

.header-wrapper {
    max-width: 1080px;
    display: block;
    margin: 0 auto;
}

.header li:hover {
    opacity: 0.6;
}

.header li {
    list-style-type: none;
    transition: 0.5s;
}

.header a {
    color: #fff;
    display: flex;
}

.title {
    max-width: 1080px;
    margin-left: auto;
    position: absolute;
    padding-left: 60px;
    top: 6px;
    z-index: 1;
}


.nav_list {
    margin: 6px 60px;
    display: flex;
    justify-content: flex-end;
}

.nav_list li:not(:first-of-type) {
    margin-left: 30px;
}

#main {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

#main::after {
    content: '';
    background-color: rgba(0, 0, 0, .1);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#main img {
    height: 550px;
    object-fit: cover;
}

#main h1 {
    font-size: 100px;
    white-space: nowrap;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    z-index: 99;
}

#about {
    padding: 30px 60px;
}


.about-flex {
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    height: 100%;
    margin: 0 auto;
}

.about-text-area {
    display: inline-block;
    width: 50%;
    margin-right: 24px;
}

.about-text-area p {
    line-height: 33px;
}

table {
    height: 13rem;
}

.about-name {
    width: 110px;
    vertical-align: top;
}

.about-address {
    width: 110px;
    vertical-align: top;
}

.about-pastime {
    width: 110px;
    vertical-align: top;
}

.about-sport {
    width: 110px;
    vertical-align: top;
}

.about-img-area {
    width: 50%;
    max-width: 800px;
}

.about-img-area img {
    width: 100%;
}

#skills {
    padding: 30px 80px 48px;
}

.skills-list {
    width: 100%;
    height: auto;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
}

.skills-content {
    width: 100%;
}

.skills-content:not(:last-of-type) {
    margin-right: 40px;
}

.skills-content img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 22px;
}

.skills-content p {
    line-height: 1.5em;
    margin: -10px 10px 0;
}

#memories {
    padding: 30px 60px 38px;

}

.memories-list {
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1080px;
}

.memories-content {
    width: 30.6666%;
    cursor: pointer;
}

.memories-img {
    aspect-ratio: 4 / 3;
    /*padding-top: 73.5735%;*/
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.memories-img img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memories-content:hover .memories-img {
    transform: scale(1.1, 1.1);
    opacity: .7;
}

.memories-content p {
    margin-top: 15px;
}

#contact {
    padding: 30px 30px 50px;
}

#contact .summary {
    margin-bottom: 42px;
}

.contact-form {
    position: relative;
    width: 100%;
    height: 1200px;
    max-width: 100%;
    margin: 0 auto;
}


.footer-box {
    background: #000;
    padding: 24px 60px 60px;
    position: relative;
    text-align: center;
}

.footer-box li {
    list-style-type: none;
    transition: 0.5s;
}

.footer-box li:hover {
    opacity: 0.6;
}


.footer-box a,
.footer-box p {
    color: #fff;
}

.footer-box a {
    font-size: 35px;
}

.footer-box p {
    font-size: 30px;
}

.footer-nav {
    display: inline-block;
    border-bottom: 1.5px solid #fff;
    margin-bottom: 18px;
}

.footer-nav ul {
    display: flex;
    padding: 0 28px;
}


.footer-nav li:not(:last-of-type) {
    margin-right: 30px;
}

.copyright {
    margin-bottom: -10px;
}

.sns-area {
    margin-top: 20px;
    float: center;
}

.sns-area a {
    margin-right: 15px;
}

.sns-area img:not(:last-of-type) {
    margin-right: 6px;
}

.sns-area img:hover {
    opacity: 0.6;
}

.sns-area img {
    list-style-type: none;
    transition: 0.5s;
}

.ib {
    display: inline-block;
}

@media screen and (min-width:768px) {
    .pc_none {
        display: none !important;
    }
}

@media screen and (max-width:767px) {
    .sp_none {
        display: none !important;
    }

    #container {
        font-size: 16px;
    }

    h2 {
        font-size: 50px;
    }

    .title {
        margin: 8px 20px;
        font-size: 30px;
        padding-left: 5px;
    }

    #nav-open {
        background: #000;
        width: 39px;
        height: 34px;
        position: fixed;
        right: 0;
        top: 0;
        padding: 18px;
        z-index: 9998;
        cursor: pointer;
    }

    #nav-open span,
    #nav-open span:before,
    #nav-open span:after {
        position: absolute;
        transition: all 0.4s;
        height: 4px;
        width: 40px;
        border-radius: 2px;
        background: #fff;
        display: block;
        content: '';
        cursor: pointer;
        z-index: 9999;
    }

    #nav-open span:before {
        bottom: -15px;
    }

    #nav-open span:after {
        bottom: -30px;
    }

    #nav-open.active span {
        -webkit-transform: translateY(15px) rotate(-45deg);
        transform: translateY(15px) rotate(-45deg);
    }

    #nav-open.active span:before {
        -webkit-transform: translateY(-8px) rotate(45deg);
        transform: translateY(-8px) rotate(45deg);
        opacity: 0;
    }

    #nav-open.active span:after {
        -webkit-transform: translateY(-30px) rotate(45deg);
        transform: translateY(-30px) rotate(90deg);
    }

    #nav-content {
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        transition: .6s ease-out;
        
    }

    #nav-content.open {
        display: block;
        opacity: 1;
        overflow: auto;
        position: fixed;
        z-index: 9997;
        width: 100%;
        height: 100%;
        background: #fff;
        opacity: .8;
    }

    #nav-content a {
        color: #000;
        opacity: 1;
        display:flex;
        justify-content: center;
        width:100%;
        height:100%;
        padding:20px 0 14px;
    }

    .nav_list {
        display: block;
        margin-top: 100px;
        padding: 0;
        font-size: 50px;
    }
    .nav_list li {
       display: block;
        padding-left: auto;
      
        border-bottom: 2px solid #000;
        cursor: pointer;
    }
         
    .nav_list li:first-of-type {
        position: static;
    }

    .nav_list li:not(:first-of-type) {
        margin-left: 0;
    }

    #main {
        height: 600px;
    }

    #main img {
        height: 600px;
    }

    #main h1 {
        font-size: 80px;
        white-space: normal;
        text-align: center;
    }

    #about {
        padding: 30px 20px 40px;
    }

    #about h2 {
        margin-bottom: 20px;
    }

    .about-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-text-area {
        white-space: nowrap;
        font-size: 3.5vmin;
    }

    table {
        border-spacing: 0 20px;
    }

    .about-img-area {
        width: 90%;
        margin: 0 auto;
        padding-top: 30px;
    }

    #skills {
        padding: 26px 20px 40px;
    }

    #skills h2 {
        margin-bottom: 8px;
    }

    .skills-list {
        display: block;
    }

    .skills-content:not(:last-of-type) {
        margin-right: 0;
        margin-bottom: 44px;
    }

    #memories {
        padding: 30px 20px 40px;
    }

    #memories h2 {
        margin-bottom: 8px;
    }

    .memories-list {
        display: flex;
        flex-direction: column;
    }

    .memories-content {
        width: 100%;
        max-width: 40rem;
        margin: 0 auto;
        
    }
    .memories-content p{
        margin: 24px 0 36px;
    }


    #contact {
        padding: 30px 30px 50px;
    }

    #contact h2 {
        margin-bottom: 6px;
    }

    #contact .summary {
        margin-bottom: 14px;
    }

    .contact-form {
        position: relative;
        width: 100%;
        margin: 0 auto;
    }

   

    .footer-nav {
        padding: 0 auto;
        margin-bottom: 10px;
    }

    .footer-nav ul {
        display: flex;
        flex-direction: column;
    }

    .footer-nav li:not(:last-of-type) {
        margin-right: 0;
        width: 100%;
    }

    .footer-nav li:last-of-type {
        width: 100%;
    }

    .footer-box {
        padding: 16px 20px 60px;
    }

    .footer-box p {
        font-size: 25px;
    }

    .sns-area {
        float: unset;
        margin-top: 30px;
    }

}