@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
*/


.post_content p img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   SiNCE Custom Header
   ========================================================= */

/* SWELL標準ヘッダーを非表示 */
.since-custom-header-active .l-header,
.since-custom-header-active #header,
.since-custom-header-active .p-spMenu {
  display: none !important;
}

/* 独自ヘッダー + カテゴリーナビ分の余白 */
body.since-custom-header-active {
  padding-top: 165px; /* 108px (header) + 46px (cat nav 実高さ) + 11px (余白) */
}

/* 独自ヘッダー */
#sinceCustomHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #000046;
  background: linear-gradient(115deg, #000046 0%, #3c0096 50%, #aa0050 100%);
  box-sizing: border-box;
}

/* ヘッダー内側 */
#sinceCustomHeader .since-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.1vh;
  min-height: 108px;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

/* ロゴ */
#sinceCustomHeader .since-header-logo {
  width: 110px;
  margin: 0;
  padding: 28px 0;
  line-height: 1;
}

#sinceCustomHeader .since-header-logo a {
  display: block;
}

#sinceCustomHeader .since-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ナビ共通 */
#sinceCustomHeader .since-header-nav {
  display: block;
}

#sinceCustomHeader .since-header-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sinceCustomHeader .since-header-nav-list li {
  margin: 0;
  padding: 0;
}

#sinceCustomHeader .since-header-nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: opacity 0.3s ease;
}

#sinceCustomHeader .since-header-nav-list a:hover {
  opacity: 0.7;
}

/* PCメニュー */
#sinceCustomHeader .since-header-nav-list-pc {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* PCではSPメニューを非表示 */
#sinceCustomHeader .since-header-nav-list-sp {
  display: none !important;
}

/* PCではSP用CONTACTを非表示 */
#sinceCustomHeader .since-header-contact-sp {
  display: none !important;
}

/* ハンバーガー：PCでは非表示 */
#sinceCustomHeader .since-menu-icon {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

#sinceCustomHeader .since-menu-icon span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 7px auto;
  background: #fff;
}

/* タブレット調整 */
@media only screen and (max-width: 1174px) {
  #sinceCustomHeader .since-header-wrap {
    padding: 0 20px;
  }

  #sinceCustomHeader .since-header-nav-list-pc {
    gap: 22px;
  }

  #sinceCustomHeader .since-header-nav-list a {
    font-size: 12px;
  }
}

/* スマホ */
@media only screen and (max-width: 768px) {
  body.since-custom-header-active {
    padding-top: 130px; /* 76px (header) + 46px (cat nav 実高さ) + 8px (余白) */
  }

  #sinceCustomHeader .since-header-wrap {
    min-height: 76px;
    height: 76px;
    padding: 0 20px;
  }

  #sinceCustomHeader .since-header-logo {
    width: 92px;
    padding: 0;
  }

  #sinceCustomHeader .since-menu-icon {
    display: block;
  }

  #sinceCustomHeader .since-header-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: linear-gradient(115deg, #000046 0%, #3c0096 50%, #aa0050 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  #sinceCustomHeader.is-open .since-header-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* スマホではPCメニューを非表示 */
  #sinceCustomHeader .since-header-nav-list-pc {
    display: none !important;
  }

  /* スマホではSPメニューを表示 */
  #sinceCustomHeader .since-header-nav-list-sp {
    display: block !important;
    padding: 24px 24px 10px;
  }

  #sinceCustomHeader .since-header-nav-list-sp li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  #sinceCustomHeader .since-header-nav-list-sp a {
    padding: 18px 0;
    font-size: 14px;
  }

  #sinceCustomHeader .since-header-contact-sp {
    display: block !important;
    padding: 10px 24px 28px;
  }

  #sinceCustomHeader .since-header-contact-sp a {
    display: block;
    padding: 16px;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
  }
}


/* =========================================================
   SWELL固定ヘッダー（スクロール時）を非表示
   ========================================================= */
.since-custom-header-active #fix_header {
  display: none !important;
}


/* =========================================================
   カテゴリーナビ
   ========================================================= */
#since-cat-nav {
  position: fixed;
  top: 108px;
  left: 0;
  width: 100%;
  z-index: 9998;
  background: #fff;
  border-bottom: 2px solid #ebebeb;
  box-sizing: border-box;
}

.since-cat-nav-inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 50px;
}

.since-cat-nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.since-cat-nav-item {
  position: relative;
}

.since-cat-nav-item + .since-cat-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #d1d5db;
}

.since-cat-nav-item a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s ease;
  box-sizing: border-box;
}

.since-cat-nav-item:first-child a {
  padding-left: 0;
}

.since-cat-nav-item a:hover,
.since-cat-nav-item--current a {
  color: #3c0096;
}

.since-cat-nav-item--current a {
  font-weight: 700;
  border-bottom: 2px solid #3c0096;
}

.since-cat-nav-list li:first-child.since-cat-nav-item--current a {
  border-bottom: none;
}

@media only screen and (max-width: 1174px) {
  .since-cat-nav-inner {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 768px) {
  #since-cat-nav {
    top: 76px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .since-cat-nav-inner {
    padding: 0;
  }

  .since-cat-nav-list {
    padding: 0 16px;
  }

  .since-cat-nav-item a {
    font-size: 12px;
    padding: 0 14px;
  }
}


/* =========================================================
   ヒーロースライダー（最新1件・左画像/右コンテンツ）
   ========================================================= */
.since-hero-slider {
  background: #ffffff;
  width: 100%;
}

.since-hero-inner {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

.since-hero-link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-height: 360px;
}

.since-hero-img {
  flex: 0 0 55%;
  max-width: 55%;
  overflow: hidden;
  position: relative;
  background: #e0e0e0;
}

.since-hero-img .since-hero-img__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.since-hero-body {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.since-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.since-hero-cat {
  display: inline-block;
  padding: 3px 10px;
  background: #000046;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.since-hero-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #111;
}

.since-hero-excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.since-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.since-hero-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #d1d5db;
  color: #666;
  font-size: 11px;
  border-radius: 3px;
}

.since-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.since-hero-time {
  font-size: 11px;
  color: #999;
}

@media only screen and (max-width: 959px) {
  .since-hero-img {
    flex: 0 0 45%;
    max-width: 45%;
  }

  .since-hero-body {
    padding: 24px;
  }

  .since-hero-title {
    font-size: 17px;
  }
}

@media only screen and (max-width: 768px) {
  .since-hero-link {
    flex-direction: column;
    min-height: auto;
  }

  .since-hero-img {
    flex: none;
    max-width: 100%;
    height: 220px;
    position: relative;
  }

  .since-hero-img .since-hero-img__img {
    position: absolute;
  }

  .since-hero-body {
    padding: 20px;
  }

  .since-hero-title {
    font-size: 16px;
  }
}


/* =========================================================
   投稿リスト：PCで2カラム表示
   ========================================================= */
@media only screen and (min-width: 960px) {
  .l-mainContent .p-postList.-type-card.-pc-col3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* =========================================================
   投稿リスト：カテゴリー（サムネとbodyの間）
   ========================================================= */
.since-postlist-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 0 2px;
}

.since-postlist-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #000046;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
}

.since-postlist-cat::before {
  font-family: icomoon;
  content: "\e909";
  font-size: 10px;
}


/* =========================================================
   投稿リスト：タグ（excerptとmetaの間）
   ========================================================= */
.since-postlist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.since-postlist-tag {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #d1d5db;
  color: #777;
  font-size: 11px;
  border-radius: 3px;
}


/* =========================================================
   サイドバー：文字サイズ 1.2倍
   ========================================================= */
.l-sidebar {
  font-size: 1.2em;
}

.l-sidebar .c-widget__title {
  font-size: 1em; /* タイトルはem基準で維持 */
}


/* =========================================================
   投稿記事：アイキャッチ画像 PC表示 70%幅・中央揃え
   ========================================================= */
@media only screen and (min-width: 960px) {
  .p-articleThumb {
    width: 70%;
    margin: 0 auto;
  }

  .p-articleThumb__img {
    width: 100%;
    height: auto;
    display: block;
  }
}


/* =========================================================
   投稿記事：p-articleMetas -top を2倍サイズに + タグ表示
   ========================================================= */
@media only screen and (min-width: 960px) {
  .p-articleMetas.-top {
    font-size: 1.6em;
    padding: 14px 0;
  }

  .p-articleMetas.-top .p-articleMetas__termList {
    gap: 8px;
  }
}


/* =========================================================
   前後記事リンク：サムネイル + カテゴリー
   ========================================================= */
.p-pnLinks__link {
  display: flex !important;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.p-pnLinks__thumb-wrap {
  flex: 0 0 100px;
  max-width: 100px;
  overflow: hidden;
  border-radius: 4px;
}

.p-pnLinks__thumb-wrap .p-pnLinks__thumb {
  width: 100%;
  height: 65px;
  object-fit: cover;
  display: block;
}

.p-pnLinks__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-pnLinks__cat {
  display: inline-block;
  padding: 2px 8px;
  background: #f0f0f5;
  color: #3c0096;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  align-self: flex-start;
}

.p-pnLinks__title {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media only screen and (max-width: 768px) {
  .p-pnLinks__thumb-wrap {
    flex: 0 0 72px;
    max-width: 72px;
  }

  .p-pnLinks__thumb-wrap .p-pnLinks__thumb {
    height: 50px;
  }
}


/* =========================================================
   関連記事：PC表示 3列（現在4列）
   ========================================================= */
@media only screen and (min-width: 960px) {
  .p-relatedPosts.-type-card {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}


/* =========================================================
   フッターロゴを #000046（ダークネイビー）に変更
   ========================================================= */
.l-footer #media_image-3 img {
  filter: invert(6%) sepia(89%) saturate(1000%) hue-rotate(232deg) brightness(80%) contrast(100%);
}


/* =========================================================
   カテゴリーナビ：中央揃え
   ========================================================= */
.since-cat-nav-list {
  justify-content: center;
}


/* =========================================================
   since-cat-nav と l-content の重複解消（padding-topの増量で対応済み + 安全余白）
   ========================================================= */
.since-custom-header-active .l-content.l-container {
  padding-top: 10px;
}


/* =========================================================
   投稿記事：日時（p-articleMetas__times）を現在の半分に
   ========================================================= */
.p-articleMetas__times {
  font-size: 0.5em !important;
}


/* =========================================================
   投稿記事：カテゴリー・タグを1.5倍サイズに
   ========================================================= */
.p-articleMetas.-top .c-categoryList__link {
  font-size: 18px;
  padding: 5px 14px;
}

.p-articleMetas.-top .c-tagList__link {
  font-size: 18px;
  padding: 4px 12px;
}

/*
#ここから手動で追記
*/


.single .l-content.l-container {
  margin-top: 135px !important;
}

.p-postSlider.since-hero-slider.show_ {
  margin-top: 135px;
}

.single .l-content.l-container {
  margin-top: 135px !important;
}
/*調整*/
body:not(.home) .l-content.l-container {
  margin-top: 22px !important;
}

.p-postSlider.since-hero-slider.show_ {
  margin-top: 170px !important;
}

/* TOPページ（/media/）だけ余白を戻す */
.blog:not(.paged) .l-content.l-container {
  margin-top: 0 !important;
}

.l-mainContent.l-article {
  margin-top: -40px;
}
.l-sidebar {
  margin-top: -50px;
}


#media_image-3 img {
  opacity: 0;
}

#media_image-3 a {
  display: inline-block;
  width: 300px;
  height: 75px;
  background-color: #000046;
  -webkit-mask-image: url("https://since2020.jp/media/wp-content/uploads/2026/04/logo_since_media-300x75.png");
  mask-image: url("https://since2020.jp/media/wp-content/uploads/2026/04/logo_since_media-300x75.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}


@media (min-width: 960px) {
  .w-fixSide.pc_ {
    top: 155px !important;
  }
}

.l-sidebar .c-widget__title {
  font-size: 1.15em;
}


#breadcrumb {
  margin-top: 160px;
}

.p-postSlider.since-hero-slider.show_ {
  max-width: var(--container_size);
  margin-left: auto;
  margin-right: auto;
}



@media screen and (max-width: 767px) {
  .since-cat-nav-inner {
    overflow-x: visible !important;
  }

  .since-cat-nav-list {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible !important;
    white-space: normal !important;
  }

  .since-cat-nav-item {
    flex: 0 0 auto;
  }

  .since-cat-nav-item a {
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  #breadcrumb {
    position: relative;
    top: -5px;
    z-index: 10;
  }
}

.p-breadcrumb {
  font-size: 1.1em;
}


@media screen and (max-width: 959px) {
  .p-articleMetas .c-postTimes,
  .p-articleMetas .c-postTimes * {
    font-size: 1em !important;
  }
}


/*TOPの1カラム*/
/* 959px以下はスマホと同じレイアウトにする */
@media screen and (max-width: 959px) {
  .p-postSlider.since-hero-slider.show_ {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .p-postSlider__inner {
    width: 100%;
  }

  .since-hero-link {
    display: flex;
    flex-direction: column; /* ←これが一番重要 */
    width: 100%;
  }

  .since-hero-img,
  .since-hero-body {
    width: 100%;
    max-width: 100%;
  }

  .since-hero-img__img {
    width: 100%;
    height: auto;
    display: block;
  }
}


/* 769〜959pxもスマホ表示と同じ縦並びにする */
@media screen and (min-width: 768px) and (max-width: 959px) {
  #post_slider .since-hero-link {
    display: flex !important;
    flex-direction: column !important;
  }
}



/* 769〜959pxもスマホと同じヒーロー表示にする */
@media screen and (min-width: 769px) and (max-width: 959px) {
  #post_slider .since-hero-link {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }

  #post_slider .since-hero-img {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    position: relative !important;
  }

  #post_slider .since-hero-img .since-hero-img__img {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #post_slider .since-hero-body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
  }
}

/* 関連記事を3列にする */
/* PC・タブレットのみ適用（600px以上） */
@media screen and (min-width: 600px) {

  .p-postList.p-relatedPosts.-type-card {
    display: flex;
    flex-wrap: wrap;
  }

  .p-postList.p-relatedPosts.-type-card .p-postList__item {
    width: 33.333% !important;
  }

}


/* スマホ以外で本文エリアを1.2倍 */
/* スマホ以外で関連記事の文字サイズを1.2倍 */
@media screen and (min-width: 600px) {

  .p-postList.p-relatedPosts.-type-card .p-postList__title {
    font-size: 1.2em !important;
  }

  .p-postList.p-relatedPosts.-type-card .p-postList__meta,
  .p-postList.p-relatedPosts.-type-card .c-postTimes,
  .p-postList.p-relatedPosts.-type-card .c-postTimes__posted {
    font-size: 1em !important;
  }

}



/* 前後記事ナビのサムネを見切れないようにする */
.p-pnLinks__thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.p-pnLinks__thumb {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}


/* h2からdivに変更した記事下タイトルの見た目を維持 */
.l-articleBottom__title.c-secTitle {
  display: block;
  font-size: var(--swl-fz--h2, 1.4em);
  font-weight: 700;
  line-height: 1.4;
  margin: 4em 0 2em;
}



/* カテゴリーナビ hover時 */
.since-cat-nav-item a {
  transition: background-color 0.2s ease, color 0.2s ease;
}


/* 関連記事のカテゴリラベル */
.since-related-cat {
  display: inline-block;
  background-color: #000046;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  margin: 0 0 8px 0; /* 下に少し余白 */
  letter-spacing: 0.05em;
}

.since-related-cat {
  margin-right: 6px;
}


/* トップページのみページネーションを非表示 */
.home .c-pagination,
.front-page .c-pagination {
  display: none !important;
}
