@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*全てをまとめて非表示*/
.home.page .entry-title,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .date-tags,
.home.page .author-info{
  display: none;
}
/************************************
** header
************************************/
#header-container {
	background: url(https://artofmassage.jp/blog/wp-content/uploads/2025/08/left_cover-1.png) no-repeat top left;
	background-size: cover;
}
#header-container .navi {
	background-color: transparent;
}
.header-container-in.hlt-top-menu {
   padding: 10px;
}
#navi .navi-in>ul>li>a {
    padding: 0 1em;
}
.fixed-header .header-container-in.wrap {
	width:100%;
}
.fixed-header .header-site-logo-image {
  max-height: 45px !important;
}
.fixed-header .navi-in a {
  font-size: 13px;
}
.random-tags {
  list-style: none;
  padding: 20px 30px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-box-pack: center;
  justify-content: center;
  background: rgba(255,255,255,.7);
  overflow: auto;
}
.random-tags li {
  margin: 0;
  font-size: 12px;
}
.random-tags li:first-of-type a:before  {
  display: none;
}
.random-tags li a:before {
  content: '#';
  color: #0b384d;
}
.random-tags a {
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 12px;
  color: #0b384d;
  transition: background-color 0.3s ease;
}
.random-tags a:hover {
  opacity: .65;
}
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
	background-color: #d2d2d2;
}
.breadcrumb, .breadcrumb a {
	color: #0b384d;
}
/************************************
** カルーセル
************************************/
.carousel {
	margin-bottom: 60px;
}
.carousel-in.wrap {
	width:100%;
}
.carousel .a-wrap {
  padding: 10px;
}
.carousel .carousel-entry-card-thumb.card-thumb img {
	width:100%;
}
.carousel-entry-card-title {
  font-size: 18px;
  line-height: 1.6;
}
.carousel-in {
	background-color: #d2d2d2;
}
/************************************
** 目次
************************************/
.toc-center {
  width: 100%;
  padding: 30px 40px;
  background: #f5f6f7;
  border: none;
  border-radius: 30px;
}
.toc-title {
  padding-left: 0;
  text-align: left;
}
.toc-list li a {
  color: #0b4d8d;
}
/************************************
** TOP
************************************/
.top_title {
  padding: 0 2rem !important;
  color: #0b384d !important;
  background: none !important;
  text-align: center;
}
.top_title2 {
  margin-bottom: 20px !important;
  padding: 0 2rem !important;
  color: #0b384d !important;
  background: none !important;
  text-align: center;
}
.top_title2 a {
  display: block;
  color: #0b384d !important;
  text-decoration: none !important;
}
.title_waku {
  padding: 5px !important;
  border: 1px solid #0b384d;
  border-radius: 5px !important;
}
.random-tags2 {
  list-style: none;
  padding: 10px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-box-pack: center;
  justify-content: center;
  overflow: auto;
}
.random-tags2 li {
  margin: 0;
  font-size: 12px;
}
.random-tags2 li a:before {
  content: '#';
  color: #0b384d;
}
.random-tags2 a {
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 12px;
  color: #0b384d;
  transition: background-color 0.3s ease;
}
.random-tags2 a:hover {
  opacity: .65;
}

/************************************
** 投稿
************************************/
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  line-height: 1.5;
}
.fa-folder:before {
  content: "\f02b";
}
.fa-tag:before {
  content: '\f292';
  color: #0b384d;
}
.tag-link {
  border: none;
}
.cat-link {
  background: #0b384d;
}
.date-tags {
  text-align: left;
}
.post-date {
  font-size: 14px;
}
.article h2 {
  padding: 1rem 2rem;
  color: #fff;
  background: #0b384d;
}
.article h3 {
  position: relative;
  padding: 0;
  padding-left: 25px;
  background: none;
  border: none;
}
.article h3::before {
  content: "";
  display: block;
  height: 100%;
  width: 4px;
  background-color: #0b384d;
  position: absolute;
  top: 0;
  left: 0;
}
/************************************
** サイドバー
************************************/
.wp-block-search__label {
  display: none;
}
.sidebar {
  padding-top: 55px;
}
.wp-block-search__button {
  background-color: #0b384d;
  border: 1px solid #0b384d;
}
.widget h2 {
  font-size: 16px;
}
/************************************
** フッター
************************************/
.footer-bottom {
  margin-bottom: 24px;
}
.or_btn a {
  padding: calc(0.367em + 2px) calc(1.333em + 2px) !important;
}
.or_btn a:hover {
  color: #fff !important;
  opacity: .85;
}
/************************************
** 投稿リスト
************************************/
.top-post-list {
  list-style: none;
  margin-bottom: 50px !important;
  padding: 0 !important;
}
.top-post-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0; /* ボーダーがあるため不要 */
  padding: 15px 0; /* 各リストアイテムの上下の余白を調整 */
  flex-wrap: wrap; /* 長いタイトルで崩れないように */
  border-bottom: 1px solid #ddd; /* リストの境界線 */
}
.top-post-list li:last-child {
  border-bottom: none; /* 最後のリストにはボーダーをつけない */
}
.post-date {
  font-size: 14px;
  color: gray;
}
.new-mark {
  background: #c8161d;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
}
.post-category {
  background: #144054;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
}
.post-title {
  font-size: 14px;
  text-decoration: none;
  color: #0b4d8d;
  word-wrap: break-word;  /* 長い単語を途中で折り返し */
  overflow-wrap: break-word; /* 互換性を考慮 */
  white-space: normal; /* 通常の折り返し動作 */
  max-width: 100%; /* 横幅を超えないようにする */
  display: block; /* ブロック要素にして折り返しを適用 */
}
.post-title:hover {
  color: #0b4d8d;
  text-decoration: underline;
}

.fixed_btn {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	z-index: +1;
}
.fixed_btn a {
	display: block;
	width: 43px;
	padding: 15px;
	background: #144054;
	border-radius: 10px 0 0 10px;
	font-size: 16px;
	text-decoration: none;
	color: #fff;
}
.fixed_btn a:hover {
	background: #151f25;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
	.fixed_btn {
		top: auto;
		transform: translateY(0) translateX(-50%);
		bottom: 10px;
		right: auto;
		left: 50%;
		text-align: center;
	}
	.fixed_btn.over-footer {
		bottom: 46px;
	}
	.fixed_btn a {
		width: 80px;
		height: 80px;
		padding-top: 20px;
		border-radius: 50%;
		font-size: 16px;
		line-height: 1;
	}
	.fixed_btn a span {
		display: block;
		margin-top: 5px;
	}
  .mobile-header-menu-buttons {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .random-tags {
    padding: 45px 30px 20px;
  }
  .random-tags li {
    margin-bottom: 10px;
  }
  .random-tags li:first-of-type {
    width: 100%;
    text-align: center;
  }
  .header-container {
    display: none;
  }
  .menu-close-button {
    text-align: right;
  }
  .menu-drawer a {
    position: relative;
    padding-left: 25px;
  }
  .menu-drawer a::before {
    content: ">";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
	.footer-bottom {
		margin-top: 0;
		margin-bottom: 0;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){

}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
