@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#header-container {display:none;}
header.article-header.entry-header {display:none;}
#footer {display:none;}
.content {margin-top:0 !important;}
.content-in {justify-content: space-evenly;}
.entry-content {
	margin:0 !important;
	margin-bottom:0 !important;
}
.wrap {width:100%;}
.main {width:72%;}
.related-entries {display:none;}



/* ==========================================
   共通・ベース設定
   ========================================== */
img {
  height: auto;
  vertical-align: middle;
}

/* ==========================================
   ヘッダーボックス
   ========================================== */
.originalheader {
  width: 100%;
  background-color: #ffffff; /* 必要に応じて背景色を設定 */
}

.headerbox {
  margin: 0 auto;
  width: 100%;
}

.head-main-img {
  width: 100%;
  display: block;
}

/* ==========================================
   グローバルナビゲーション（PC版修正）
   ========================================== */
.global-nav {
  width: 100%;
  background-color: #000000; /* 画像に合わせた明るめの黄緑 */
  z-index: 100;
	position: sticky;
  top: 0;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.nav-pc-list {
  display: flex;
  justify-content: center; /* メニューを中央寄せに */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 50px; /* ナビゲーション全体の高さを指定 */
}

.nav-pc-list li {
  position: relative; /* 疑似要素の基準にする */
  display: flex;
  align-items: center;
}

.nav-pc-list a {
  display: block;
  padding: 0 20px; /* 左右の余白で文字の間隔を調整 */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px; /* 文字の大きさ */
  line-height: 1;
  transition: opacity 0.3s;
}

.nav-pc-list a:hover {
  opacity: 0.8; /* ホバー時は全体が少し薄くなる程度に */
}

/* ------------------------------------------
   区切り線（｜）の配置
   ------------------------------------------ */

/* すべての項目の右側に縦線を配置 */
.nav-pc-list li::after {
  content: "";
  display: block;
  width: 2px;          /* 線の太さ */
  height: 16px;        /* 線の長さ（文字の高さに合わせる） */
  background-color: rgba(255, 255, 255, 0.7); /* 白線の透明度 */
  position: absolute;
  right: 0;            /* 項目の右端に固定 */
  top: 50%;
  transform: translateY(-50%); /* 上下中央揃え */
}

/* 一番最初の項目の左側にも縦線を配置 */
.nav-pc-list li:first-child::before {
  content: "";
  display: block;
  width: 2px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 0;             /* 項目の左端に固定 */
  top: 50%;
  transform: translateY(-50%);
}
/* 初期状態ではスマホ用は非表示 */
.hamburger-btn,
.nav-sp-menu {
  display: none;
}

/* ==========================================
   レスポンシブ（1000px以下：ハンバーガー化）
   ========================================== */
@media screen and (max-width: 1000px) {
  /* PCナビを非表示に */
  .nav-pc-list {
    display: none;
  }

  /* ハンバーガーボタンの表示 */
  .hamburger-btn {
    display: block;
    position: fixed;
    top: 50px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  .hamburger-btn span {
    display: block;
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #000;
    left: 7px;
    transition: 0.3s;
  }
  .hamburger-btn span:nth-child(1) { top: 12px; }
  .hamburger-btn span:nth-child(2) { top: 20px; }
  .hamburger-btn span:nth-child(3) { top: 28px; }

  /* ハンバーガーオープン時のアニメーション */
  .hamburger-btn.is-active span:nth-child(1) { transform: translateY(8px) rotate(-45deg); }
  .hamburger-btn.is-active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.is-active span:nth-child(3) { transform: translateY(-8px) rotate(45deg); }

  /* スマホメニュー（右から引き出し） */
  .nav-sp-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 105;
    transition: right 0.3s;
    padding-top: 60px;
  }
  
  .nav-sp-menu.is-active {
    right: 0;
  }

  .nav-sp-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-sp-list a {
    display: block;
    padding: 15px 20px;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #eeeeee;
  }
}

/* ==========================================
   スライダー
   ========================================== */
.slider-box {
	width: 100%;
	margin: 0 auto;
}
.swiper-container-wrap {
	width: 100%;
	overflow: hidden;
}
.mySwiper {
	width: 100%;
	overflow: hidden;
}
.mySwiper .swiper-wrapper {
	align-items: stretch;
}
.mySwiper .swiper-slide {
	height: auto;
}
.mySwiper .swiper-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* 下のリード文 */
.top_read {
	margin: 20px 0 0;
	text-align: center;
	font-size: 22px;
	font-weight: 500;
	line-height: 2;
}


/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {

	.slider-box {
		width: 100%;
	}

	.top_read {
		margin-top: 20px;
		padding: 0;
		font-size: 17px;
		line-height: 1.8;
		text-align:justify;
	}

	.top_read br {
		display: none;
	}
}

/* ========================================
   最新情報
======================================== */
.kmc-news {
	width: 100%;
	margin: 60px 0;
}

/* 見出し
---------------------------------------- */
.kmc-news-head {
	width: 100%;
	padding: 22px 25px;
	background: #000;
	box-sizing: border-box;
}
.kmc-news-head h2 {
	display: flex;
	align-items: baseline;
	gap: 15px;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
.kmc-news-head-ja {
	color: #f00;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}
.kmc-news-head-en {
	color: #f00;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}
/* 記事一覧
---------------------------------------- */
.kmc-news-list {
	width: 75%;
	margin: 20px auto 0;
}
.kmc-news-item {
	display: grid;
	grid-template-columns: 190px 1fr;
	align-items: center;
	gap: 35px;

	padding: 22px 15px;

	border-bottom: 1px dotted #777;

	color: #111;
	text-decoration: none;
	box-sizing: border-box;
}
.kmc-news-item:last-child {
	border-bottom: none;
}
.kmc-news-date {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.kmc-news-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}
/* ホバー */
.kmc-news-item:hover {color: #f00;}
.kmc-news-item:hover .kmc-news-title {color: #f00;}

/* 一覧を見る
---------------------------------------- */
.information-but {
	margin-top: 25px;
	text-align: center;
}
.information-but a {
	display: inline-block;
	min-width: 250px;
	padding: 7px 30px;

	border: 2px solid #f00;

	color: #f00;
	background: #fff;

	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;

	box-sizing: border-box;
	transition: .3s;
}
.information-but a:hover {
	color: #fff;
	background: #f00;
}
/* ========================================
   最新情報　モバイル
======================================== */
@media screen and (max-width: 767px) {

	.kmc-news-list {width: 100%;}
	.kmc-news-item {
		display: grid;
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 22px 15px;
		align-items: start;
	}

	.kmc-news-date {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.4;
	}

	.kmc-news-title {
		font-size: 18px;
		line-height: 1.6;
	}

}

/* 記事がない場合
---------------------------------------- */
.kmc-news-empty {
	padding: 30px 0;
	text-align: center;
}

/* =========================
   最新情報 アーカイブ
========================= */
.kmc-archive-information {
	width: 85%;
	margin: 40px auto 80px;
}
.kmc-archive-list {width: 100%;}
.kmc-archive-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	align-items: center;
	column-gap: 40px;

	padding: 22px 15px;
	border-bottom: 1px dotted #777;

	color: #111;
	text-decoration: none;
}
.kmc-archive-item:last-child {border-bottom: none;}
.kmc-archive-date {
	font-size: 20px;
	white-space: nowrap;
	font-weight:600;
}
.kmc-archive-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}
.kmc-archive-item:hover {color: #f00;}

/* ページネーション */
.kmc-archive-pagination {
	margin-top: 45px;
	text-align: center;
}
.kmc-archive-pagination ul {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;

	margin: 0;
	padding: 0;
	list-style: none;
}
.kmc-archive-pagination li {margin: 0;}
.kmc-archive-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 40px;
	height: 40px;
	padding: 0 10px;

	border: 1px solid #ccc;

	color: #111;
	text-decoration: none;
}
.kmc-archive-pagination .page-numbers.current {
	background: #000;
	border-color: #000;
	color: #fff;
}


/* SP */
@media screen and (max-width: 767px) {
	.kmc-archive-information {
		width: 100%;
		margin: 25px auto 50px;
	}
	.kmc-archive-item {
		display: block;
		padding: 15px 5px;
	}
	.kmc-archive-date {
		display: block;
		margin-bottom: 5px;
		font-size: 15px;
	}
	.kmc-archive-title {
		font-size: 17px;
	}

}

/* ========================================
   標準投稿 詳細ページ
======================================== */

.single-news-wrap {
	width: 90%;
	max-width: 1100px;
	margin: 80px auto;
}

.single-news-article {
	width: 100%;
}

.single-news-header {
	margin-bottom: 40px;
}

.single-news-date {
	margin-bottom: 10px;
	font-size: 14px;
	color: #777;
	letter-spacing: 0.05em;
}

.single-news-title {
	margin: 0;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	color: #222;
}

.single-news-content {
	font-size: 16px;
	line-height: 2;
	color: #333;
}

.single-news-content p {
	margin: 0 0 25px;
}

.single-news-content a {
	color: #0068c9;
	text-decoration: underline;
}
/* 投稿本文内の通常画像 */
.single-news-content img {
	max-width: 100%;
	height: auto;
}


@media screen and (max-width: 768px) {

	.single-news-wrap {
		width: 90%;
		margin: 50px auto;
	}

	.single-news-title {
		font-size: 24px;
	}

	.single-news-content {
		font-size: 15px;
	}
}

/* ========================================
   PDFプレビュー
======================================== */

.single-news-content .pdf-preview {
	max-width: 800px;
	margin: 40px auto;
}

.single-news-content .pdf-preview a {
	display: block;
	text-decoration: none;
}

.single-news-content .pdf-preview img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
	transition: opacity 0.3s;
}

.single-news-content .pdf-preview a:hover img {
	opacity: 0.85;
}
/* PDFを開くボタン */
.single-news-content .pdf-open {
	margin-top: 20px;
	text-align: center;
}

.single-news-content .pdf-open a {
	display: inline-block;
	min-width: 220px;
	padding: 12px 30px;
	border: 1px solid #222;
	background: #222;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	transition: 0.3s;
}

.single-news-content .pdf-open a:hover {
	background: #fff;
	color: #222;
}

/* =========================================
   KMCとは？
   ========================================= */
.whats_kmc-flex {
	display:flex;
	flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
	margin-top: 2%;
}
.whats_kmc-box {
	display:flex;
    flex-direction: column;
    align-items: center;
	width:30%;
}
.whats_kmc-ttl {font-size:25px;}
.whats_kmc-txt {
	text-align: justify;
    line-height: 1.5;
    font-size: 16px;
}
@media screen and (max-width: 768px) {
	.whats_kmc-flex{flex-direction: column;}
	.whats_kmc-box {
		width:100%;
		margin-bottom:10%;
	}
}
/* ==========================================
   リンク
   ========================================== */
.link-flex {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
	margin-top:2%;
}
.link-flex a {
	width:30%;
	color:#000;
	text-decoration:none;
	font-size:18px;
	font-weight:700;
	line-height:2;
}
.link-flex a:hover {color:#e60000;}
@media screen and (max-width: 768px) {
	.link-flex{flex-direction: column;}
	.link-flex a {width:100%;}
}

/* ==========================================
   フッター
   ========================================== */
.original-footer {
	background:#000;
}
.footer-flex {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
	padding: 2% 4%;
}
.footer-flex-l {
	width: 13%;
    border: 1px solid #fff;
    padding: 5px 15px;
    text-align: center;
}
.footer-flex-c {width:70%}
.footer-flex-r {width:17%}
.footer-ttl {
	color: #fff;
    border-bottom: 1px solid #fff;
}
.footer-ttl2 {color:#fff;}
.footer-txt {
	color:#fff;
	line-height: 1.5;
	padding-left:1.5em;
}
.footer-flex-r img {width:100%;}
.opyright {
	text-align:center;
	font-size:15px;
	color:#fff;
	padding-bottom:2%;
}
@media screen and (max-width: 768px) {
	.footer-flex{flex-direction: column;}
	.footer-flex-l {width:45%;}
	.footer-flex-c {width:100%;}
	.footer-txt{
		font-size: 15px;
        margin: 7% 0;
		padding-left:0;
	}
	.footer-flex-r {width:45%;}
	.opyright {
		font-size:11px;
		padding-bottom: 4%;
		padding-top: 2%;
	}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1300px) {
	#sidebar {display: none;}
	#main {
		width: 100%;
		max-width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}

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

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

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