body {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}


/*header*/

.header {
    height: 100px;
}

header h1 {
    padding-top: 20px;
    padding-left: 20px;
}

header a {
    color: #106655;
    text-decoration: none;

}

.logo {
    width: 270px;
    margin: 10px 10px;
}

@keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}

#overlay-button {
    position: fixed;
    right: 30px;
    top: 30px;
    padding: 26px 11px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
}

#overlay-button span {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #133a32;
    position: relative;
    display: block;
    transition: all .2s ease-in-out;
}

#overlay-button span:before {
    top: -10px;
    visibility: visible;
}

#overlay-button span:after {
    top: 10px;
}

#overlay-button span:before,
#overlay-button span:after {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #133a32;
    position: absolute;
    content: "";
    transition: all .2s ease-in-out;
}

#overlay-button:hover span,
#overlay-button:hover span:before,
#overlay-button:hover span:after {
    background: #133a32;
}

input[type=checkbox] {
    display: none;

}

input[type=checkbox]:checked~#overlay {
    visibility: visible;
}

input[type=checkbox]:checked~#overlay-button:hover span,
input[type=checkbox]:checked~#overlay-button span {
    background: transparent;


}

input[type=checkbox]:checked~#overlay-button span:before {
    transform: rotate(45deg) translate(7px, 7px);

}

input[type=checkbox]:checked~#overlay-button span:after {
    transform: rotate(-45deg) translate(7px, -7px);


}

#overlay {
    height: 100vh;
    width: 100vw;
    background: #106655;
    z-index: 2;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

#overlay.active {}

#overlay ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    padding-left: 0;
    list-style-type: none;
}

#overlay ul li {
    padding: 1em;
}

#overlay ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em;
}

#overlay ul li a:hover {
    color: #133a32 !important;
}

/*headerここまで*/

/*要素ふわっと表示*/
.fade {
    opacity: 0;
    transform: translateY(1px);
    transition: opacity 3s, transform 4s;
}

.fade.active {
    opacity: 1;
    transform: translateY(0px);
}


.about_container {
    margin-bottom: 50px;
}

.profile {
    position: relative;
    width: 100%;
    text-align: center;
    padding:0;
    margin: 0 auto;
    border: solid 3px #106655;
    background-color: #ffffff;
    border-radius: 10px;
    transition: 0.4s;
    transform: translateX(0);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 方眼紙模様に必須のスタイル */
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
        linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
}

.profile_left {
    width: 50%;
    padding: 50px;
}

.profile_right {
    width: 50%;
}

.profile_img {
    max-width: 300px;
    margin: 0 auto;
}

.profile h1 {
    color: #000000;
    margin: 50px 0 30px 0;
}

.profile h1::first-letter {
    color: #106655;
}

.profile_text {
    width: 80%;
    margin: 5% auto;
    position: relative;
}

.profile_text h2 {
    font-size: 30px;
    letter-spacing: 0.2em;
    color: #000;
    margin: 5% 0;
}

.profile_text h2 span {
    color: #106655;
    font-weight: bold;
}

.profile_text p {
    line-height: 2em;
    font-size: 16px;
    color: #000;
    text-align: left;
}

.profile_text p span {
    background: linear-gradient(transparent 70%, #5eff66 70%);
}

/*テーブル*/
.table_design03 {
    border-collapse: collapse;
    width: 90%;
    max-width: 700px;
  }
  .table_design03 th, .table_design03 td {
    border-bottom: 2px solid #c1c7c6;
    padding: 1em;
  }
  .table_design03 th {
    border-bottom: 3px solid #106655;;
    font-weight: bold;
    text-align: center;
    width: 20%;
    min-width: 4em;
  }



/*skill*/

#skill {
    width: 100%;
    background-color: #efefef;
    padding-bottom: 50px;
    padding-top: 50px;

}

.skill_container {
    /*position: absolute;
    top: 50px;
    left: 170px;*/
    max-width: 1100px;

    margin: 0 auto;
    margin-bottom: 100px;
    padding: 0 40px;
    
}


.h2_title {
    text-align: center;
    font-size: 3em;
    margin-top: 50px;
    margin-bottom: 100px;
}


.skill_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: -50px;
    width: 80%;

}

.skill_item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 48%;
    margin-bottom: 80px
}

.skill_img  {
    width: 60px;
    height: auto;
    margin-right: 20px
}

.skill_low2 h2 {
    text-align: center;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-size: 24px;
}

h2::first-letter {
    color: #106655;
}

/*services*/
.services {
    
}


.container_right {
    flex: 2;
    /* 幅の比率: 1 */
    background-color: #ffffff;
    /* 背景色 */
}


/*footer*/
/*footer*/
footer {
    background-color: #106655;
    width: 100%;
    /* 幅を100%に */
}


#copyright {
    color: #fff;
    background-color: #106655;
    display: flex;
    justify-content: center;
}

a {
    color: rgb(255, 255, 255);
}

@media (any-hover: hover) {
    .submit-btn {
        transition: box-shadow 0.2s;
    }

    .submit-btn:hover {
        box-shadow: -2px -2px 4px #efefef, 2px 2px 4px rgb(0 0 0 / 24%);
    }

    .submit-btn:active {
        background-color: #efefef;
        box-shadow: inset 4px 4px 8px rgb(0 0 0 / 16%);
    }
}

@media screen and (max-width:768px) {


    .profile {
        position: relative;
        width: 95%;
        text-align: center;
        padding:0;
        margin: 0 auto;
        border: solid 3px #106655;
        background-color: #ffffff;
        transition: 0.4s;
        transform: translateX(0);
        display: block;
        align-items: center;
        justify-content: center;
        /* 方眼紙模様に必須のスタイル */
        background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
            linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
        background-size: 16px 16px;
        background-repeat: repeat;
        background-position: center center;
    }

    .profile_left {
        width: 90%;
        margin: 0 auto;
        padding: 0;
        padding-top: 50px;

    }

    .profile_right{
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        margin-left: 35px;
    }

    .table_design03 {
        padding-left: 50px;
    }

    td {
        font-size: small;
    }

    .skill_list {
        display: block;
    }

    .skill_item {
        display: block;
        margin: 50px auto;
        width: 80%;
    }




    .skill_item {
        display: flex;
        flex-direction: column; /* 縦方向に要素を並べる */
        align-items: center; /* 子要素を水平方向に中央揃え */
        width: 80%;
        margin-bottom: 80px;
    }
    
    .skill_low1 {
        display: flex;
        justify-content: center; /* 画像を中央に配置 */
        width: 100%; /* 画像が親要素の幅いっぱいに広がるように */
    }
    
    .skill_img img {
        max-width: 100%; /* 画像の幅が親要素を超えないようにする */
        height: auto; /* 画像のアスペクト比を維持 */
        margin: 0 auto;
        padding-left: 1em;
    }
}
