@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* メインビジュアルのスタイル */
.main-visual {
  width: 100%;
  height: 25vw; /* PCの高さ */
  background: url('https://via.placeholder.com/1920x1080') no-repeat center center;
  background-size: cover;
}

/* スマートフォンのスタイル */
@media (max-width: 768px) {
  .main-visual {
    height: 65vh; /* スマホの高さ */
  }
}

.p-toc__list > li > a {
  font-weight: bold;
}


/* NEWの挿入 */
.c-postTimes__posted.new:after {
    content: "NEW";
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    height: 16px;
    line-height: 13px;
    padding: 1px 10px 0px 10px;
    font-size: 10px;
    font-weight: bold; /* 文字を太くする */
    background-color: #009688; /* 濃い緑に変更 */
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* 軽い影を追加 */
    color: #ffffff;
    position: relative;
    bottom: 2px;
    border-radius: 3px; /* 角を少し丸く */
}

/* NEWのアニメーション */
.c-postTimes__posted.new:after {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 記事サムネイルのホバー時グラデーションを無効化 */
.p-postList__link:hover .c-postThumb::before {
  opacity: 0 !important;
}
