@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
Text Domain: cocoon-child-master
*/

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

.custom-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-news-item {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ddd;
}

.custom-news-date {
  flex: 0 0 auto;
  color: #666;
  font-size: 0.9em;
}

.custom-news-title {
  color: inherit;
  text-decoration: none;
}

.custom-news-title:hover,
.custom-news-title:focus {
  color: #0066a6;
  text-decoration: underline;
}

/* WPML language switcher */
#header-container-in {
  position: relative;
}

.lang-switcher {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 1000;
  font-size: 13px;
}

.lang-switcher-toggle {
  padding: 0.55em 0.8em;
  color: inherit;
  font: inherit;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}

.lang-switcher-toggle:hover,
.lang-switcher-toggle:focus {
  border-color: #666;
}

.lang-switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 0.35em 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.lang-switcher.is-open .lang-switcher-menu {
  display: block;
}

.lang-switcher-menu a {
  display: block;
  padding: 0.5em 0.8em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switcher-menu a:hover,
.lang-switcher-menu a:focus {
  background: #f2f2f2;
}

/* お問い合わせフォームのハニーポット欄（人間には見えないスパム対策用の偽入力欄） */
.cf7-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  .lang-switcher {
    top: 10px;
    right: 12px;
    font-size: 12px;
  }
}

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