@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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


/* リスト全体のスタイル */
.custom-post-list {
    margin-bottom: 30px;
}

/* 各記事の枠組み */
.post-item {
    border-bottom: 1px solid #333; /* 下の区切り線 */
    padding: 20px 0 10px 0;
}

.post-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 日付のスタイル */
.post-date {
    display: block;
    font-size: 0.9rem;
    font-family: serif; /* 明朝体系 */
    margin-bottom: 5px;
}

/* タイトルのスタイル */
.post-title {
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.6;
}

/* ページネーションの簡易スタイル */
.custom-pagination {
    margin-top: 20px;
    text-align: center;
}
.custom-pagination a, .custom-pagination span {
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}
.custom-pagination .current {
    background: #333;
    color: #fff;
}

/* 言語選択部分のCSS（PC） */
.elementor-element-3b959de select.gt_selector option {
	color: black;
}

/* 言語変更時、縦書きを横書きに変更 */
.tategaki:has(font) {
    writing-mode: horizontal-tb !important;
}
.tategaki.elementor-widget-navigation-menu:has(font) {
	writing-mode: vertical-rl !important;
}
.tategaki:has(font) h2 {
	white-space: nowrap;
}
/* 言語変更時、スタイル変更 */
html:not(:lang(ja)) .multilingual-yoko {
  display: flex;
  flex-direction: column-reverse;
}
/*html:not(:lang(ja)) .tategaki {*/
.tategaki:has(font) {
  writing-mode: horizontal-tb;
  line-height: 2 !important;
}
html:not(:lang(ja)) .title> .elementor-widget-container {
  border-width: 0 !important;
}