@charset "utf-8";
/*
Theme Name: ROCK child
Theme URI:https://tcd-theme.com/tcd068/
Description:WordPressテーマ「ROCK」の子テーマ
Template:rock_tcd068
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/
/*
  ここから下にCSSを追記してください。
*/
/*カテゴリ非表示*/
.cat-item.cat-item-1 {
  display: none;
}
.p-article01__cat.p-cat.p-cat--1 {
  display: none;
}
/*全体*/
html {
  box-sizing: border-box;
  letter-spacing: .025em;
}
*, *::before, *::after {
  box-sizing: inherit;
}
/*header*/
/*ロゴ周り*/
.c-logo a {
  text-align: left;
}
.c-logo--retina img {
  width: 30%;
  padding: 10px 0 0;
}

.p-social-nav {
  display: block;
  width: 6%;
  max-width: none;
}

.p-social-nav__item a {
  color: #fff;
}
.l-header__nav {
  display: none !important;
}
.l-header__upper {
  border-bottom: none;
  height: 50px;
  line-height: 50px;
  margin-bottom: 0;
}
.l-header__logo a {
  display: block;
  align-items: center;
  justify-content: left;
  line-height: 1;
  overflow: hidden;
  word-wrap: break-word;
}
.l-header__lower {
  display: none;
}

.single .p-social-nav__item a {
  color: #b7282d;
}
.single .l-header {
  background: #fff;
}
.single .l-header__logo a {
  position: relative;
  display: inline-block;
}
.single .l-header__logo a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://uploads.akanemagazine.jp/wordpress/wp-content/uploads/2025/12/08174614/AKANE_logo_RED.png") no-repeat left center / contain;
  width: 50%;
  top: 10px;
}
.single .l-header__logo img {
  opacity: 0;
}
.single .p-global-nav > li > a, .p-menu-btn {
  color: #fff !important;
}
.single .c-logo {
  display: block;
  font-weight: 700;
}
@media screen and (max-width: 1199px) {
  .l-header__lower {
    height: 50px;
    line-height: 50px;
    display: block;
  }
  .l-header__logo {
    justify-content: left;
    margin: 0 0 0 27px;
  }
  .p-menu-btn {
    height: 50px;
    line-height: 50px;
  }
  .single .c-menu-btn::before {
    color: #b7282d;
  }
}
@media screen and (max-width: 767px) {
  .l-header__lower {
    display: block;
  }
  .l-header__logo {
    justify-content: left;
    margin: 0 0 0 16px;
  }
  .p-menu-btn {
    width: 54px;
  }
.c-logo--retina img {
    width: 55%;
    padding: 16px 0 0;
	}
  .single .l-header__logo a::before {
    width: 55%;
  }
}
/*KV全画面*/
.p-image-slider__item {
  height: calc(100vh - 50px);
}

@media screen and (max-width: 991px) {
.p-image-slider__item {
    height: calc(100svh - 50px);
}
}

@media screen and (max-width: 767px) {
.p-image-slider__item {
    height: calc(100svh - 50px);
}
}
/*KVスライダー*/
.p-article12 {
  padding: 0 0 20px;
}
.p-article12__title {
  font-size: 14px;
  min-height: 0;
  margin-bottom: 0;
}
.p-post-slider::before {
  top: 16px;
}

.p-image-slider__item {
  position: relative;
  background-size: cover;
  background-position: center;
  /*aspect-ratio: 16/9;*/
}
.p-image-slider__item::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none; 
}
/* KVsliderのリンク範囲指定画像を覆う形 */
.p-image-slider__item > a.p-image-slider__item-content {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
h2.p-image-slider__item-title {
  display: none;
}
.p-image-slider__item > .p-image-slider__item-content {
  background: #fff !important;
  opacity: 0;
}
.p-image-slider__item > .p-image-slider__item-content:hover {
  background: #fff !important;
  opacity: 0.2;
}

@media screen and (max-width: 767px) {
  .p-image-slider__item > a.p-image-slider__item-content:hover,
  .p-image-slider__item:hover > a.p-image-slider__item-content {
    background: none !important;
    opacity: 0;
}
}

/*TOP記事一覧*/
.p-cat {
    font-size: 12px;
	font-weight: bold;
    line-height: 1;
}
.p-blog-list--4col .p-article01__content {
  padding: 20px 0 40px;
}
.p-article01__content > a.p-cat--2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b7282d !important;
  border-radius: 9999px;
  font-size: 12px !important;
  font-weight: bold;
  color: #fff;
  padding: 4px 16px 2px;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.p-article01__excerpt {
  display: none;
}
/*タグ関連の設定*/
.p-entry__tags {
  font-size: 12px;
  border-top: 1px solid #b7282d;
  margin: 20px 0;
  padding: 20px 0;
}
a.p-tag {
  display: inline-block;
  margin: 0 10px 0 0;
}
.p-entry__tags a.p-tag::before {
  content: "#";
  inset: 0;
}
/*記事ページ*/
.p-entry__inner a.p-entry__cat {
  display: none;
}
.p-entry__meta-box {
  display: none;
}
.p-entry__img::before {
  background: none;
}
.p-entry__header-content {
  display: none;
}
.single .l-main .title-set {
  display: none;
}
.single .p-entry__inner {
  padding: 0 60px;
}
.single .l-secondary {
  position: relative;
  overflow: visible;
}
.single .l-secondary .title-sticky-wrap {
  position: relative;
}
.single .l-secondary .title-set {
  position: sticky;
  top: 23vh; /* 高さ80px想定で“中央付近”に */
  width: 100%;
  display: block;
}
.p-entry__cat {
  position: static;
  width: auto;
  height: auto;
  min-width: 0;
}
.p-meta__cat a {
  font-size: 14px !important;
  font-weight: bold;
  color: #b7282d;
  margin: 0;
  padding: 0;
}
.single .p-meta__cat a[href*="/category/pr/"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b7282d !important;
  border-radius: 9999px;
  font-size: 14px !important;
  font-weight: bold;
  color: #fff;
  padding: 4px 16px 2px;
  margin: 10px 0 0;
  line-height: 1.2;
  white-space: nowrap;
}
@media screen and (max-width: 991px) {
  .single .l-main .title-set {
    display: block;
  }
  .l-secondary {
    display: none;
  }
  .title-set {
    position: static;
    width: 88.88889%;
    margin: 40px auto 20px;
  }
}
@media screen and (max-width: 767px) {
  .single .l-main .title-set {
    display: block;
  }
  .single .p-entry__inner {
    padding: 0 16px;
  }
  .l-secondary {
    display: none;
  }
  .title-set {
    position: static;
    width: 100%;
    margin: 40px auto 20px;
    padding: 0 16px;
  }
}
/*記事装飾*/
.p-entry__body h1, .p-entry__body h2, .p-entry__body h3, 
.p-entry__body h4, .p-entry__body h5, .p-entry__body h6{
	line-height: 1.5;
}
.p-entry__body p{
	line-height: 1.75;
}

.wp-block-separator {
  border: none !important;
  border-top: 1px solid #b7282d !important;
  margin: 40px 0 40px;
}
h3.wp-block-heading {
  color: #b7282d;
}
figure {
  margin: 20px 0 40px;
}
.smb-price-menu {
  border-top: 1px solid #cdcdcd;
  margin: 0 0 20px;
}
.smb-price-menu__item {
  border-bottom: 1px solid #cdcdcd;
}

.wp-block-image :where(figcaption) {
    margin-bottom: 1em;
    margin-top: .5em;
    font-size: 12px;
    line-height: 1.5;
}


	
/*固定ページ装飾*/
.page .p-entry__body p {
  line-height: 1.75;
  margin: 0 0 20px;
}
.page .p-entry__body h3 {
  margin: 40px 0 15px;
}
.page .p-entry__body h4 {
  color: #b7282d;
  margin: 0 0 15px;
}
.page p.lead {
  margin: 0 0 30px;
}
.page div.box {
  background: #f2f2f2;
  padding: 20px 20px 5px;
  margin: 0 0 40px;
}
.page .p-entry__body .box h3 {
  margin: 0 0 15px;
}
.page p.address {
  font-size: 18px;
  font-weight: bold;
}
.page-id-217, .page-id-217 h3.wp-block-heading, .page.page-id-217 h1.p-entry__title {
  color: #fff;
}
.page-id-217 .l-contents {
  background: #b7282d !important;
}
.page-id-217 .p-entry {
  background: none !important;
}
/*アーカイブページ*/
.archive h1.p-headline, .page h1.p-entry__title {
  background: none;
   !important;
  color: #b7282d;
  text-align: center;
  margin: 60px auto 0;
  top: 0;
}
.tag h1.p-headline::before {
  content: '#';
  inset: 0;
  padding: 0 5px 0 0;
}
.p-headline--lg, .page h1.p-entry__title {
  font-size: 32px;
  font-weight: normal;
  height: auto;
  line-height: 1em;
}
@media screen and (max-width: 991px) {
  .archive .p-entry__header, .page .p-entry__header {
    margin-bottom: 40px;
  }
  .p-headline--lg, .page h1.p-entry__title {
    font-size: 28px;
    font-weight: normal;
    height: auto;
    line-height: 1em;
  }
}
/*footer*/
.p-copyright .footer-link {
  display: block;
}
.p-copyright {
  width: 93.75%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  justify-content: space-between;
}
.footer-link {
  list-style: none;
}
.footer-link li {
  display: inline-block;
  margin: 0 20px 0 0;
}
.footer-link li:last-child {
  margin: 0;
}
.footer-link li a:link {
  color: #000;
}
.footer-link li a:hover {
  color: #b7282d;
}
.about-link::after {
  content: url('assets/images/window-r.svg');
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -1px;
  margin-left: 3px;
}
.p-footer-widgets {
  border: none;
  padding: 0;
}
.home .p-footer-widgets {
  border-bottom: 1px solid #f2f2f2;
  padding: 0;
}
@media screen and (max-width: 1199px) {
  .p-copyright .footer-link {
    display: none;
  }
  .admin-bar .p-drawer .footer-link {
    font-size: 12px;
    color: #fff;
  }
  .footer-link {
    padding: 20px;
  }
  .footer-link li {
    display: block;
    height: 40px;
  }
  .footer-link li:last-child {
    margin: 0;
  }
  .footer-link li a {
    color: #fff;
  }
  .footer-link li a:link {
    color: #fff;
  }
  .footer-link li a:hover {
    color: #fff;
  }
  .about-link::after {
    content: url('assets/images/window.svg');
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -1px;
    margin-left: 3px;
  }
}
@media screen and (max-width: 767px) {
  .footer-link {
    font-size: 14px;
  }
  .about-link::after {
    vertical-align: -2px;
  }
}


