@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap');

/*fancyboxの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css");


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

    --primary-color: #147c6a;
    /*テンプレートのメインまたはアクセントとなる色*/
    --primary-inverse-color: #fff;
    /*上のprimary-colorの対として使う色*/
    --primary-color-rgba: rgba(20, 124, 106, 0.5);
    /*primary-colorのRGBでのカラー。最後の0.5は色が50%でた状態。*/

    --border: 1px solid rgba(255, 255, 255, 0.5);
    /*枠線の幅、線種、255,255,255は白のことで0.5は色が50%出た状態。*/

    --header-size: 40px;
    /*headerのサイズ*/

    --base-font: "Zen Kaku Gothic New", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /*フォント指定*/
}

/*画面幅600px以上の追加指定*/
@media (min-width:600px) {

    :root {
        --header-size: 60px;
        /*headerのサイズ*/
    }

}

/*追加指定ここまで*/


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
    0% {
        left: -200px;
    }

    100% {
        left: 0px;
    }
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
    box-sizing: border-box;
}

html,
body {
    font-size: 12px;
    /*基準となるフォントサイズ。*/
}

/*画面幅900px以上の追加指定*/
@media (min-width:900px) {

    html,
    body {
        font-size: 15px;
        /*基準となるフォントサイズ。*/
    }

}

/*追加指定ここまで*/


body {
    margin: 0;
    padding: 0;
    font-family: var(--base-font);
    /*フォント指定。冒頭のvase-fontを読み込みます。*/
    -webkit-text-size-adjust: none;
    background: #000;
    /*背景色*/
    color: #fff;
    /*文字色*/
    line-height: 2;
    /*行間*/
    overflow-x: hidden;
}

/*リセット*/
figure {
    margin: 0;
}

dd {
    margin: 0;
}

nav,
ul,
li,
ol {
    margin: 0;
    padding: 0;
}

nav ul {
    list-style: none;
}

/*table全般の設定*/
table {
    border-collapse: collapse;
}

/*画像全般の設定*/
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/*videoタグ*/
video {
    max-width: 100%;
}

/*iframeタグ*/
iframe {
    width: 100%;
}

/*他*/
input {
    font-size: 1rem;
}

section > ol,
section > ul {
    margin-left: 2rem;
}

/*section*/
section:not(:first-child) {
    margin-top: 4rem;
    /*sectionの上に4文字分のマージンを空ける*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: inherit;
    transition: 0.3s;
    /*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
    filter: brightness(1.1);
    /*少しだけ明るくする*/
    text-decoration: none;
    /*下線を消す*/
}


/*メニューとh2見出しのフォントをGoogle Fonts（Oswald）にする。日本語は適用外。
---------------------------------------------------------------------------*/
nav,
h2 {
    font-family: "Oswald", var(--base-font);
    letter-spacing: 0.15em;
    font-weight: normal;
}


/*conatiner（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
    display: grid;
    grid-template-rows: auto 1fr;
    /*headerの高さは自動、２番目にくるmainをいっぱいにとる、その後のブロックは全て自動。*/
    min-height: 100vh;
    min-height: 100dvh;
}


/*ヘッダー（左側の縦並びのブロック）
---------------------------------------------------------------------------*/
header {
    position: fixed;
    /*画面をスクロールしても動かさず、固定させておく*/
    left: 0;
    /*左からの配置場所*/
    top: 0;
    /*上からの配置場所*/
    width: var(--header-size);
    /*幅。冒頭のheader-sizeを読み込みます。*/
    overflow: hidden;
    transition: width 0.6s ease;
    /*0.6秒かけて幅を変更*/
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /*中のブロックを縦並びに*/
    border-right: var(--border);
    /*右側の線。冒頭のborderを読み込みます。*/
    background: var(--primary-color-rgba);
    /*背景色。冒頭のprimary-color-rgbaを読み込みます*/
}

/*画面の高さが400px以下の追加指定*/
@media (max-height: 400px) {

    header {
        position: absolute;
        /*メニュー数によっては下の方が切れてスクロールできなくなるので、fixedをやめて絶対配置に変更*/
    }

}

/*追加指定ここまで*/

/*マウスオン時、またはクラスがついた時に幅を広げる*/
header:hover,
header.is-open {
    width: 200px;
}

/*ロゴ*/
header #logo {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

header #logo img {
    max-width: 40px;
    /*幅*/
}


/*メインメニュー（ヘッダー内のメニュー）
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
header nav ul {
    border-bottom: var(--border);
    /*下側の線。冒頭のborderを読み込みます。*/
}

/*メニュー１こあたり*/
header nav ul li a {
    display: flex;
    align-items: center;
    height: var(--header-size);
    /*高さ。冒頭のheader-sizeを読み込みます。*/
    border-top: var(--border);
    /*上側の線。冒頭のborderを読み込みます。*/
    color: var(--primary-inverse-color);
    /*文字色。冒頭のprimary-inverse-colorを読み込みます*/
    text-decoration: none;
    white-space: nowrap;
}

header nav ul li a:hover {
    background: var(--primary-color);
    /*マウスオン時の背景色。冒頭のprimary-colorを読み込みます*/
}

/*アイコン（FontAwesome）*/
header nav i {
    min-width: var(--header-size);
    /*幅。冒頭のheader-sizeを読み込みます。*/
    text-align: center;
}


/*トップページヘッダーにある１行のお知らせ
---------------------------------------------------------------------------*/
/*ブロック全体*/
.new-top {
    position: absolute;
    left: 0px;
    bottom: 100px;
    /*画面の下から40pxの場所に配置*/
    z-index: 1;
    width: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    /*背景色。0,0,0は黒のことで0.3は色が30%でた状態*/
    padding: 0 0.8rem 0 1rem;
    /*ブロック内の余白。上、右、下、左への順番。*/
}

/*画面幅700px以上の追加指定*/
@media (min-width:700px) {

    .new-top {
        bottom: 130px;
        /*画面の下から100pxの場所に配置*/
        left: 100px;
        /*左から100pxの場所に配置*/
        width: calc(100% - 200px);
        /*画面の左右中央に配置されるよう、調整*/
        border-radius: 100px;
        /*角を丸くする指定*/
        padding: 0 1.2rem 0 2rem;
        /*ブロック内の余白。上、右、下、左への順番。*/
    }

}

/*テキストのブロック*/
.new-top .text {
    flex: 1;
    /*以下4行は、末尾を...として１行にまとめる為のスタイル*/
    min-width: 0;
    white-space: nowrap;
    /* 折り返さない */
    overflow: hidden;
    /* はみ出た分を隠す */
    text-overflow: ellipsis;
    /* …を付ける */
}


/*追加指定ここまで*/


/*テキストのブロック*/
.new-top2 .text {
    flex: 1;
    /*以下4行は、末尾を...として１行にまとめる為のスタイル*/
    min-width: 0;
    white-space: wrap;
    /* 折り返さない */
    overflow: hidden;
    /* はみ出た分を隠す */
    text-overflow: ellipsis;
    /* …を付ける */
}

/*ブロック右側にある「一覧」*/
.new-top2 .more {
    align-self: flex-end;
}

.new-top2 .more a {
    display: block;
    text-decoration: none;
    background: var(--primary-color);
    /*背景色。冒頭のprimary-colorを読み込みます。*/
    color: var(--primary-inverse-color);
    /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
    border-radius: 100px;
    /*角を丸くする指定*/
    padding: 0 1rem;
    /*上下、左右へのボタン内の余白*/
}

.new-top2 .more a:hover {
    background: #fff;
    /*マウスオン時の背景色*/
    color: #000;
    /*マウスオン時の文字色*/
}

/*ブロック全体*/
.new-top2 {
    position: absolute;
    left: 0px;
    bottom: 40px;
    /*画面の下から40pxの場所に配置*/
    z-index: 1;
    width: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    /*背景色。0,0,0は黒のことで0.3は色が30%でた状態*/
    padding: 0 0.8rem 0 1rem;
    /*ブロック内の余白。上、右、下、左への順番。*/
}

/*画面幅700px以上の追加指定*/
@media (min-width:700px) {

    .new-top2 {
        bottom: 60px;
        /*画面の下から100pxの場所に配置*/
        left: 100px;
        /*左から100pxの場所に配置*/
        width: calc(100% - 200px);
        /*画面の左右中央に配置されるよう、調整*/
        border-radius: 100px;
        /*角を丸くする指定*/
        padding: 0 1.2rem 0 2rem;
        /*ブロック内の余白。上、右、下、左への順番。*/
    }

}

/*追加指定ここまで*/
-------------------------- @media screen and (max-width: 768px) {
    .your-flex-container {
        flex-direction: column;
        /* 横 → 縦に変更 */
        align-items: stretch;
        /* 幅いっぱいに広げる */
    }

    .your-flex-container > * {
        width: 100%;
        /* それぞれ100% 幅 */
    }
}

@media screen and (max-width: 768px) {
    .main-copy {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        padding: 0 20px;
        white-space: normal;
        font-size: 16px;
    }
}

------------------------------------

/*ブロック右側にある「一覧」*/
.new-top .more {
    align-self: flex-end;
}

.new-top .more a {
    display: block;
    text-decoration: none;
    background: var(--primary-color);
    /*背景色。冒頭のprimary-colorを読み込みます。*/
    color: var(--primary-inverse-color);
    /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
    border-radius: 100px;
    /*角を丸くする指定*/
    padding: 0 1rem;
    /*上下、左右へのボタン内の余白*/
}

.new-top .more a:hover {
    background: #fff;
    /*マウスオン時の背景色*/
    color: #000;
    /*マウスオン時の文字色*/
}

/*お知らせページ（new.html）
---------------------------------------------------------------------------*/
/*画面幅700px以上の追加指定*/
@media screen and (min-width:700px) {

    /*ブロック全体*/
    .new {
        display: grid;
        gap: 1rem;
        /*日付や文章の間にとるスペース。１文字分。*/
        grid-template-columns: auto 1fr;
        /* 日付の幅は自動で、内容が入るブロックは残り幅一杯とる。 */
    }

}

/*追加指定ここまで*/


/*mainコンテンツ（トップページ以外の）
---------------------------------------------------------------------------*/
body:not(.home) main {
    margin: 20px 30px 20px 60px;
    /*上、右、下、左へ空けるスペース*/
}

/*画面幅700px以上の追加指定*/
@media (min-width:700px) {

    body:not(.home) main {
        margin: 70px 60px 70px 100px;
    }

}

/*追加指定ここまで*/


/*画面幅1000px以上の追加指定*/
@media (min-width:1000px) {

    body:not(.home) main {
        margin: 100px 100px 100px 150px;
    }

}

/*追加指定ここまで*/


/*各ページの背景画像
---------------------------------------------------------------------------*/
/*共通設定（変更不要）*/
body::before {
    --bg-image-url: none;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg-image-url) no-repeat center center / cover;
    content: "";
    display: block;
    position: fixed;
    /*背景画像を固定*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/*プロフィール（profile.html）の背景画像*/
body#profile::before {
    --bg-image-url: url(../images/1.jpg);
}

/*ポートフォリオ（portfolio.html）の背景画像*/
body#portfolio::before {
    --bg-image-url: url(../images/2.jpg);
}

/*お問い合わせ（contact.html）の背景画像*/
body#contact::before {
    --bg-image-url: url(../images/3.jpg);
}


/*SNSアイコン
---------------------------------------------------------------------------*/
.icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*縦並び*/
    text-align: center;
    gap: 5px;
    /*アイコン同士に空けるスペース*/
    position: fixed;
    /*アイコンを固定*/
    right: 10px;
    /*右からの配置場所*/
    top: 10px;
    /*上からの配置場所*/
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    /*アイコンが白なので、背景画像が白いと見えなくなるので少しだけ影を入れる*/
}

.icons i {
    font-size: 16px;
    /*アイコンサイズ*/
}


/*Copyright
---------------------------------------------------------------------------*/
footer small {
    display: block;
    position: fixed;
    /*Copyrightを固定させる*/
    right: 5px;
    /*右からの配置場所*/
    bottom: 60px;
    /*下からの配置場所*/
    writing-mode: vertical-lr;
    /*縦書き*/
    opacity: 0.5;
    /*透明度50%*/
    letter-spacing: 0.2em;
    /*文字間隔を少しだけ広く*/
    font-size: 0.8rem;
    /*文字サイズを80%*/
}

/*画面の高さが400px以下の追加指定*/
@media (max-height: 400px) {

    footer small {
        position: fixed;
        /*固定表示をやめて通常に（position: static;）*/
        writing-mode: horizontal-tb;
        /*横書きに戻す*/
        text-align: center;
        /*テキストをセンタリング*/
    }

}

/*追加指定ここまで*/


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
    text-decoration: none;
    display: block;
    background: rgba(0, 0, 0, 0.8);
    color: #ccc;
    text-align: right;
    font-size: 0.8rem;
    line-height: 40px;
}

.pr a::before {
    font-family: "Font Awesome 6 Free";
    content: "\e2ca";
    font-weight: bold;
    margin-right: 0.5em;
}

.home .pr a {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
}


/*ポートフォリオ（portfolio.html）のMasonry
---------------------------------------------------------------------------*/
/*サムネを囲んでいるブロック全体*/
.masonry-grid {
    animation: opa1 0.2s 0.4s both;
    /*0.4秒待機後、0.2秒かけてフェードイン*/
}

/* カラム幅：PC 4列 */
.grid-sizer,
.grid-item {
    width: calc(25% - 16px);
}

.grid-item {
    margin-bottom: 16px;
}

/* レスポンシブ：1000px 未満で 3列 */
@media (max-width: 1000px) {

    .grid-sizer,
    .grid-item {
        width: calc(33.333% - 16px);
    }
}

/* レスポンシブ：500px 未満で 2列 */
@media (max-width: 500px) {

    .grid-sizer,
    .grid-item {
        width: calc(50% - 16px);
    }
}

/* 中身共通 */
.grid-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.grid-item img,
.grid-item video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 画像・動画に軽いホバー演出 */
.grid-item img,
.media-wrapper {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid-item a:hover img,
.grid-item a:hover .media-wrapper {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 動画サムネ用ラッパー */
.media-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* サムネ動画 */
.thumb-video {
    display: block;
    width: 100%;
    height: auto;
}

/* 「▶」アイコン */
.video-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff0000;
    /*背景色*/
    color: #fff;
    /*文字色*/
    font-size: 12px;
    /*アイコンのサイズ*/
    width: 28px;
    /*アイコンの幅*/
    line-height: 28px;
    /*高さ*/
    text-align: center;
    border-radius: 100px;
    /*円形にする*/
    pointer-events: none;
}


/*box1（背景が黒の半透明）
---------------------------------------------------------------------------*/
.box1 {
    background: rgba(0, 0, 0, 0.5);
    /*背景色。0,0,0は黒のことで0.5は色が50%出た状態。*/
    color: #fff;
    /*文字色*/
    padding: 1rem 2rem;
    /*上下、左右へのボックス内の余白*/
    border-radius: 10px;
    /*角を丸くする指定*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    background: var(--primary-color);
    /*背景色。冒頭のprimary-colorを読み込みます。*/
    color: var(--primary-inverse-color);
    /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    filter: brightness(1.2);
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
    font-weight: bold;
    /*太字に*/
    padding: 0.2rem 1rem;
    /*ボックス内の余白*/
    background: rgba(0, 0, 0, 0.7);
    /*背景色*/
    color: #fff;
    /*文字色*/
    margin-bottom: 1rem;
    /*下に空けるスペース*/
    border-radius: 5px;
    /*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
    table-layout: fixed;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /*テーブルの上の線。幅、線種、255,255,255は白のことで0.3は色が30%出た状態。*/
    width: 100%;
    /*幅*/
    margin-bottom: 2rem;
    /*テーブルの下に空けるスペース。２文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /*テーブルの下の線。幅、線種、255,255,255は白のことで0.3は色が30%出た状態。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th,
.ta1 td {
    padding: 1rem;
    /*ボックス内の余白*/
    word-break: break-all;
    /*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 30%;
    /*幅*/
    text-align: left;
    /*左よせにする*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    /*th（左側）のみの設定*/
    .ta1 th {
        width: 20%;
        /*幅*/
    }

}

/*追加指定ここまで*/


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
    display: block;
}

/*ボタンの設定*/
.pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    animation: opa1 1s 0.4s both;
    position: fixed;
    /*スクロールに追従しない(固定で表示)為の設定*/
    right: 20px;
    /*右からの配置場所指定*/
    bottom: 20px;
    /*下からの配置場所指定*/
    color: #fff;
    /*文字色*/
    font-size: 1.5rem;
    /*文字サイズ*/
    background: rgba(0, 0, 0, 0.2);
    /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 60px;
    /*幅*/
    line-height: 60px;
    /*高さ*/
    border-radius: 50%;
    /*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.color-check,
.color-check a {
    color: #ffcc00 !important;
}

.l {
    text-align: left !important;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.ws {
    width: 95%;
    display: block;
}

.wl {
    width: 95%;
    display: block;
}

.mb0 {
    margin-bottom: 0px !important;
}

.mb3rem {
    margin-bottom: 3rem !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.look {
    display: inline-block;
    padding: 0px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

.small {
    font-size: 0.75em;
}

.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}

.block {
    display: block !important;
}

/*list-grid1-parts
---------------------------------------------------------------------------*/
.list-grid1-parts .list-parts * {
    margin: 0;
    padding: 0;
}

/*ブロック全体を囲むブロック*/
.list-grid1-parts {
    display: grid;
}

/*ボックス１個あたり*/
.list-grid1-parts .list-parts {
    display: grid;
    position: relative;
}

/*ボックス内のp要素*/
.list-grid1-parts .list-parts p {
    font-size: 0.85rem;
    /*文字サイズを85%に*/
    line-height: 1.5;
    /*行間を少し狭く*/
}

/*画面幅500px以上の追加指定*/
@media screen and (min-width:500px) {

    /*ブロック全体を囲むブロック*/
    .list-grid1-parts {
        grid-template-columns: repeat(2, 1fr);
        /*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
        gap: 1rem;
        /*ブロックの間に空けるマージン的な指定*/
    }

}

/*追加指定ここまで*/


/*画面幅800px以上の追加指定*/
@media screen and (min-width:800px) {

    /*ブロック全体を囲むブロック*/
    .list-grid1-parts {
        grid-template-columns: repeat(3, 1fr);
        /*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
        gap: 1rem;
        /*ブロックの間に空けるマージン的な指定*/
    }

}

/*追加指定ここまで*/


/*ボックス１個あたり*/
.list-grid1-parts .list-parts {
    padding: 1rem;
    /*ボックス内の余白*/
    background: #fff;
    /*背景色*/
    color: #555;
    /*文字色*/
    grid-template-rows: auto 1fr;
    /*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1-parts .list-parts figure img {
    margin-bottom: 0.5rem;
    /*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.list-grid1-parts .btn-parts a {
    display: block;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    /*テキストをセンタリング*/
    background: #555;
    /*背景色*/
    color: #fff;
    /*文字色*/
    padding: 5px 10px;
    /*ボタン内の余白*/
    margin-top: 1rem;
    /*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid1-parts .icon-bg1-parts,
.list-grid1-parts .icon-bg2-parts {
    overflow: hidden;
    position: absolute;
    left: -15px;
    /*左からの配置場所*/
    top: -15px;
    /*上からの配置場所*/
    font-size: 0.7rem;
    /*文字サイズ。70%*/
    width: 4em;
    /*幅*/
    line-height: 4em;
    /*高さ*/
    text-align: center;
    /*テキストをセンタリング*/
    border-radius: 50%;
    /*円形にする*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid1-parts .icon-bg1-parts {
    background: #ff3535;
    /*背景色*/
    color: #fff;
    /*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid1-parts .icon-bg2-parts {
    background: #358bff;
    /*背景色*/
    color: #fff;
    /*文字色*/
}

--------------

/* 横並びをする親要素 */
.your-flex-container {
    display: flex;
    flex-wrap: wrap;
    /* 横並び→複数行対応 */
    gap: 1rem;
    /* アイテム間の余白も確保 */
}
