/*!
Theme Name: SHIROMA'S PORTFOLIO
Description: ポートフォリオ用オリジナルテーマ
Author: SHIROMA TAKUMI
Version: 1.0.4
Text Domain: shiroma-portfolio
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Noto Sans JP", system-ui;
    line-height: 1.5;
    background-color: #111;
    letter-spacing: .04em;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a {
    color: #bbb;
    transition: color .3s;
}
a:hover {
    color: #fff;
}
img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
.header {
    /* border-bottom: 1px solid #111; */
    padding: 10px 0;
}
.header__inner {
    width: 92%;
    margin: 0 auto;
}
.site-name {
    font-weight: 700;
    font-family: "Albert Sans", system-ui;
    font-size: 16px;
    margin: 0;
    letter-spacing: .04em;
}
@media (min-width: 768px) {
    .site-name {
        font-size: 28px;
    }
}
.site-name a {
    color: currentColor;
    text-decoration: none;
}

.wrapper {
    width: 92%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}
.wrapper__inner {
    display: flex;
    flex-direction: column;
}
@media (min-width: 920px) {
    .wrapper__inner {
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    .main {
        width: calc(100% - 264px);
    }
    .sidebar {
        width: 240px;
    }
}
.works__heading {
    font-family: "Albert Sans", system-ui;
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: center;
    color: #999;
}
@media (min-width: 768px) {
    .works__heading {
        font-size: 30px;
    }
}
.works__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 0;
    margin-left: -12px;
    margin-right: -12px;
}
.works-item {
    width: 100%;
    padding: 0 12px;
}
@media (min-width: 768px) {
    .works-item {
        width: 50%;
    }
}
.works-item__thumb a {
    display: block;
    border: 1px solid #999;
    aspect-ratio: 16 / 9;
}
.works-item__thumb a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-item__contents {
    padding-top: 16px;
}
.works-item__ttl {
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}
@media (min-width: 768px) {
    .works-item__ttl {
        font-size: 18px;
    }
}
.works-item__ttl a {
    color: currentColor;
    text-decoration: none;
}
.works-item__cat-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    gap: 4px 12px;
}
.works-item__cat-list li {
    font-size: 13px;
}
.works-item__cat-list li a {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 1px 0;
    border-bottom: 1px solid currentColor;
}
.works-item__cat-list li a svg {
    height: 1em;
    width: auto;
    fill: currentColor;
}
.works-item__cat-list li a:hover {
    color: #fff;
}
@media (min-width: 768px) {
    .works-item__cat-list li {
        font-size: 14px;
    }
}
.detail-header__ttl {
    font-size: 24px;
    margin: 0 0 24px;
}
@media (min-width: 768px) {
    .detail-header__ttl {
        font-size: 28px;
    }
}
.detail-info {
    margin: 40px 0;
}
.detail-info table {
    border-collapse: collapse;
}
.detail-info table th,
.detail-info table td {
    font-size: 15px;
    padding: 8px 14px;
}
.detail-info table th {
    padding-left: 0;
    text-align: left;
    min-width: 100px;
}
.contents p {
    line-height: 1.8;
}
.detail-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 920px) {
    .detail-footer {
        padding-top: 40px;
        border-top: 1px solid #999;
    }
}
.detail-terms__label {
    display: flex;
    font-size: 14px;
    gap: 6px;
    align-items: center;
    font-family: "Albert Sans", system-ui;
    font-weight: 700;
}
.detail-terms__label svg {
    height: 1em;
    width: auto;
}
.detail-terms__label path {
    fill: #fff;
}
.detail-cat__list,
.detail-tag {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    margin: 6px 0 0;
    padding: 0;
}
.detail-cat__list li {
    font-size: 12px;
}
.detail-cat__list li a {
    border: 1px solid #ccc;
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 2px 8px;
}
.detail-tag li {
    font-size: 14px;
}
.sidebar {
    margin-top: 80px;
    border-top: 1px solid #999;
    padding-top: 40px;
}
@media (min-width: 920px) {
    .sidebar {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
} 
.widget + .widget {
    margin-top: 40px;
}
.widget__ttl {
    margin: 0 0 18px;
    font-size: 18px;
    color: #999;
}
.widget__ttl--cat,
.widget__ttl--tag {
    font-family: "Albert Sans", system-ui;
}
.widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.widget ul li {
    margin: 8px 0;
    font-size: 14px;
}
.widget ul li a {
    color: #ccc;
    text-decoration: none;
}
.widget ul li a:hover {
    color: #fff;
}
.widget .sidebar-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.widget .sidebar-tag li {
    margin: 0;
    font-size: 13px;
}
.footer {
    border-top: 1px solid #333;
    padding: 40px 0;
}
.footer__inner {
    width: 92%;
    margin: auto;
}

.copyright {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: #999;
}