@charset 'UTF-8';
/*
Theme Name: Sugimura Web Craft
Description: 杉村ウェブクラフトホームページ
Version: 1.0
Author: Satoshi Sugimura
*/

/*
COLORS
================================================ */
:root {
    /* Color */
    --light-grey: #ccc;
    --grey: #666;
    --dark-grey: #707070;
    --green: #7bba93;
    --dark-blue: #39565C;
    --white: #fff;
    --pale-yellow: #F9F9F4;
    
    /* Font/Space Size */
    --font-sm: .75rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.625rem;

    /* Border Radius Size */
    --round-sm: 6px;
    --round-md: 10px;
    --round-lg: 50%;
}

/* -----------------------------------------------
  index.php(home)のお知らせ部分
------------------------------------------------*/

/* リスト先頭と末尾のボーダー（ダブル）*/
.news__list {
    border-top: 2px double #000;
    border-bottom: 2px double #000;
}

.news__item {
    padding: 15px 10px;
    border-bottom: 1px solid #000;
    list-style: none;
}

.news__list >:last-child {
    border-bottom: 0px;
}

.news__sentence {
    display: grid;
}

.news__category {
    text-align: center;
    padding: 5px 0;
    width: 150px;
}

.news__category a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
}

/* for TB or PC */
@media (768px < width) {
    .news__sentence {
        grid-template-columns: 15% 20% 1fr;
        align-items: center;
    }
}

/* -----------------------------------------------
  ブログ投稿記事関連
------------------------------------------------*/

.post-content {
    padding-bottom: 1rem;
}

.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: bold;
}
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content p,
.post-content figure,
.post-content blockquote,
.post-content pre {
    margin-bottom: 1rem;
}
.post-content figcaption {
    font-size: var(--font-sm);
    text-align: center;
}
.post-content img {
    margin-bottom: .5rem;
    height: auto;
}
.post-content .wp-block-image:not(.is-style-rounded) img {
    border-radius: var(--round-md);
}
.post-content ol {
    list-style: decimal;
}
.post-content li {
    line-height: 1.5;
}
.post-content li::marker {
    color: var(--green);
}
.post-content blockquote {
    background: #eee;
    padding: 1rem 1rem .25rem 2rem;
    border-radius: var(--round-md);
    position: relative;
}
.post-content blockquote::before {
    content: '“';
    position: absolute;
    font-size: 3rem;
    color: var(--light-grey);
    top: 0;
    left: 8px;
}
.post-content blockquote cite {
    margin-bottom: 1.5rem;
    display: inline-block;
}
.post-footer {
    padding-bottom: 1rem;
}
.post-content code,
.post-content kbd {
        background: #eee;
        padding: 3px;
        border-radius: 3px;
        margin: 0 3px;
}

/* -----------------------------------------------
  カテゴリ表示
------------------------------------------------*/

.post-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-categories li {
    background-color: darkgreen;
    font-size: var(--font-sm);
    border-radius: var(--round-sm);
    padding: .5rem;
    list-style: none;
}

.post-categories li > a {
    text-decoration: none;
    color: whitesmoke;
}

.post-categories li:hover {
    background: var(--light-grey);
}

/* Post navigation */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-links a{
    padding: .75rem 1rem .85rem;
    background: darkgreen;
    border-radius: var(--round-sm);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(123, 186, 147, .6);
}

/*
    パンくずリスト
*/

.c-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6C6C6C;
    line-height: 3.2;
}

@media screen and (max-width: 768px) {
    .c-breadcrumbs {
      font-size: 0.8125rem;
    }
  }
  .c-breadcrumbs > li {
    display: inline-block;
    position: relative;
  }
  .c-breadcrumbs > li:not(:last-of-type)::after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
  }
  