body {
    font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: .8px;
    color: #333;
}

a {
    transition: opacity .3s;
    text-decoration: none;
    color: #1ca9e3;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-style: none;
}

ul,
li {
    list-style: none;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}


/*--------------------------------
 レイアウト
---------------------------------*/

.wrapper {
    padding-top: 73px;
}

.section {
    padding: 90px 0;
}

.section:nth-of-type(odd) {
    background-color: #f7f7f7;
}

.inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
}


/*--------------------------------
 見出し
---------------------------------*/

.title {
    font-size: 34px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: .05em;
    color: #333;
}

.lead {
    margin-bottom: 30px;
}


/*--------------------------------
ヘッダー
---------------------------------*/

.header {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);
}

.header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.header-logo {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 20px;
    letter-spacing: .05em;
}

.header-logo a {
    color: #333;
}

.header-nav-list {
    display: flex;
    justify-content: space-between;
}

.header-nav-item:not(:last-child) {
    margin-right: 20px;
}

.header-nav-item a {
    position: relative;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
    transition: .3s;
    letter-spacing: .05em;
    color: #333;
}

.header-nav-item a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    content: "";
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #333;
}

.header-nav-item a:hover:after {
    width: 100%;
}


/*--------------------------------
 メインビジュアル
---------------------------------*/

.main-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85vh;
    text-align: center;
}

.main-visual-inner {
    padding: 0 40px;
}

.main-visual-title {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
    letter-spacing: .1em;
}

.main-visual-subtitle {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: .08em;
}


/*--------------------------------
 Works
---------------------------------*/

.works-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -40px;
}

.works-item {
    width: 31.74603%;
    margin-right: 1.58730%;
    margin-bottom: 40px;
    color: #333;
}

.works-item:hover {
    opacity: .9;
}

.works-item:nth-of-type(3n) {
    margin-right: 0;
}

.works-img img {
    border: 1px solid #e6e6e6;
}

.works-name {
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
}

.works-info {
    font-size: 10px;
}


/*--------------------------------
 Skill
---------------------------------*/

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -50px;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 48%;
    margin-bottom: 50px;
}

.skill-img {
    width: 60px;
    height: auto;
    margin-right: 20px;
}

.skill-body {
    flex: 1;
}

.skill-name {
    margin-bottom: 3px;
}


/*--------------------------------
 About
---------------------------------*/

.profile {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.profile-img {
    width: 20%;
    margin-right: 30px;
    border-radius: 50%;
}

.profile-img img {
    border-radius: 50%;
}

.profile-body {
    flex: 1;
}

.profile-body p:not(:last-child) {
    margin-bottom: 30px;
}


/*--------------------------------
 Contact
---------------------------------*/

.contact {
    text-align: center;
}

.contact-item:not(:last-child) {
    margin-right: 10px;
}

.contact-text {
    margin-top: 10px;
}


/*--------------------------------
 ページトップ
---------------------------------*/

.page-top {
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
    vertical-align: bottom;
    color: #fff;
}


/*--------------------------------
 フッター
---------------------------------*/

.footer {
    padding: 30px;
    background-color: #333;
}

.copyright {
    font-size: 10px;
    text-align: center;
    color: #797979;
}


/*--------------------------------
 下層：Worksページ
---------------------------------*/

.article {
    padding: 80px 0;
}

.article-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-title {
    margin-bottom: 30px;
    text-align: center;
}

.article-img {
    margin-bottom: 20px;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.article-info-title {
    font-size: 15px;
}

.article-body img {
    margin-bottom: 30px;
}

.article-body p {
    margin-bottom: 30px;
}

.home-link {
    text-align: center;
}


/*media Queries 767
----------------------------------------------------*/

@media screen and (max-width: 767px) {
    body {
        font-size: 13px;
        line-height: 1.7;
    }
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
    /* 見出し */
    .title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    /* レイアウト */
    .wrapper {
        padding-top: 57px;
    }
    .section {
        padding: 60px 0;
    }
    .inner {
        padding: 0 20px;
    }
    /* ヘッダー */
    .header .inner {
        padding: 15px;
    }
    .header-logo {
        font-size: 15px;
        margin-right: 15px;
    }
    .header-nav-item:not(:last-child) {
        margin-right: 10px;
    }
    .header-nav-item a {
        font-size: 10px;
    }
    .header-nav-item a:after {
        display: none;
    }
    /*  メインビジュアル */
    .main-visual {
        height: 75vh;
    }
    .main-visual-inner {
        padding: 0 20px;
    }
    .main-visual-title {
        font-size: 30px;
    }
    .main-visual-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    /* Works */
    .works-name {
        font-size: 10px;
    }
    .works-list {
        justify-content: space-between;
    }
    .works-item {
        flex: 0 0 48%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    /* Skill */
    .skill-list {
        display: block;
        margin-bottom: 0;
    }
    .skill-item {
        width: 100%;
        margin-bottom: 35px;
    }
    .skill-item:last-child {
        margin-bottom: 0;
    }
    /* About */
    .profile {
        display: block;
    }
    .profile-img {
        width: 150px;
        margin: 0 auto;
        margin-bottom: 25px;
    }
    .profile-body p:not(:last-child) {
        margin-bottom: 20px;
    }
    /* フッター */
    .footer {
        padding: 20px;
    }
    /* 下層ページ */
    .article {
        padding: 50px 0;
    }
}

.certification,
.profile-history {
    margin-top: 10px;
    display: flex; /* 両要素を横並びにする */
    align-items: flex-start; /* 左右の高さを揃える */
}

.certification-table,
.profile-history-table {
    font-size: 15px;
    margin: auto;
    border-collapse: collapse;
    width: 100%;
}

.certification-table th,
.certification-table td,
.profile-history-table th,
.profile-history-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.profile-history-table th {
    background-color: #f2f2f2;
    width: 30%;
}

.certification-table th{
    background-color: #f2f2f2;
    max-width: 1%;
}


.profile-history-table td {
    display: flex;
    align-items: center; /* 中央揃え */
    justify-content: flex-start; /* 左揃え */
}


.footnote {
    text-align: left;
    width: 50%;
    margin: 5px auto;
    font-size: 12px;
    color: #888;
}

.footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer ul li{
    margin: 0 20px;
}

.footer i{
    font-size: 10px;
    color: #888;
}

.document a{
    font-size: 12px;
    color: #888;
}

.hidden {
    display: none;
}

.work-title {
    cursor: pointer;
    display: inline-flex;
}

.toggle-icon {
    margin-left: 5px;
    font-size: 12px;
    color: #007bff;
}

.toggle-icon:hover {
    color: #0056b3;
}

.responsibilities {
    margin: 0;
    padding: 0;
    list-style-type: disc;
    padding-left: 20px;
}
