@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;}
.entry-content {
	margin:0 !important;
	margin-bottom:0 !important;
}
.wrap {width:100%;}
.main {padding:0 !important;}
@font-face {
  font-family: 'HannariMincho';
  src: url('/wp-content/themes/cocoon-child-master/fonts/HannariMincho-Regular.woff') format('woff');
  font-display: swap;
}
/* ==========================================
   共通・ベース設定
   ========================================== */
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: #92c43e; /* 画像に合わせた明るめの黄緑 */
  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: 1px;          /* 線の太さ */
  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: 1px;
  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;
  }
}

/* ==========================================
   スライダー
   ========================================== */
.swiper-container-wrap {
  width: 100%;
  overflow: hidden; /* ここは外側のコンテナ用 */
  position: relative;
	margin-bottom:3%;
}

/* 枠自体が消えてしまわないよう、クラス指定を強固にします */
.swiper.mySwiper {
  width: 100% !important;
  height: auto;
  overflow: hidden; /* 👈 デフォルト（スマホ）ははみ出しを隠す（全幅1枚のため） */
}
/* 👈 PC（768px以上）のときだけ、左右を見せる設定にする */
@media screen and (min-width: 768px) {
  .swiper.mySwiper {
    overflow: visible !important;
  }
}

.mySwiper .swiper-wrapper {
  align-items: center; /* 縦位置を中央に揃える */
}

.mySwiper .swiper-slide {
  width: auto; /* スライダーの幅をJS側（slidesPerView）に委ねる */
  box-sizing: border-box;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左右に隠れているスライドを少し薄くして中央を目立たせる（お好みで） */
.mySwiper .swiper-slide-active {
  opacity: 1;
}
.mySwiper .swiper-slide-next,
.mySwiper .swiper-slide-prev {
  opacity: 0.7; /* 左右のスライドを少し透過 */
}

/* ------------------------------------------
   左右矢印ボタンのカスタム（画像のデザインを再現）
   ------------------------------------------ */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  color: #ffffff; /* 矢印の色を白に */
  width: 50px;
  height: 50px;
  z-index: 10;
}
/* 矢印の大きさを調整 */
.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after {
  font-size: 32px;
  font-weight: bold;
}
/* ボタンの位置調整（画像の通りスライドの内側に配置） */
.mySwiper .swiper-button-prev { left: 3%; }
.mySwiper .swiper-button-next { right: 3%; }

.top_read {
	font-family: 'HannariMincho', "Yu Mincho", "游明朝", serif;
	text-align: center;
    font-size: 35px;
    color: #ff838b;
}

/* 最初は透明にして一瞬の崩れを見せない */
.swiper-container-wrap {
  opacity: 0;
  transition: opacity 0.4s ease; /* ふわっと滑らかに表示 */
}

/* JavaScriptで初期化（.swiper-initialized）完了したら表示する */
.swiper-container-wrap:has(.swiper-initialized),
.swiper.swiper-initialized {
  opacity: 1;
}

/* 万が一JSが無効な環境や読み込み遅延時のフォールバック（念のため） */
.swiper.mySwiper.swiper-initialized {
  opacity: 1 !important;
}

/* =========================================
   ブログ
   ========================================= */
.blog-ttl {
	text-align:center;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size:25px;
	font-weight:700;
	color:#FE6564;
	margin-bottom:3%;
	border-top:1px solid #FE6564;
	border-bottom:1px solid #FE6564;
	padding:1% 0;
}
.blog-containe {
	width:65%;
	margin:0 auto;
}
.latest-blog-list {
	display: flex;
    flex-direction: row;
	gap:3%;
}
.latest-blog-item {
	width:31%;
	text-align:center;
}
.latest-blog-item a {
	color:#585858;
	text-decoration:none;
}
.blog-card-date {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size:17px;
}
.info-title {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size:20px;
	border-top: 1px solid;
    border-bottom: 1px solid;
}
.btn-container {
	text-align:center;
	margin-top:3%;
	margin-bottom:5%;
}
.btn-container a {
	font-family: "Zen Maru Gothic", sans-serif;
	border:1px solid #FE6564;
	border-radius:25px;
	font-size:16px;
	color:#FE6564;
	text-decoration:none;
	padding:0.5em 2em;
}
.btn-container a:hover {
	background:#FE6564;
	color:#fff;
}


.features-container {
	display:flex;
	flex-direction: row;
    flex-wrap: nowrap;
	width: 85%;
	height: 300px;
    margin: 0 auto;
}
.features-item {
	width:28%;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
.features-divider {width:8%;}
.features-header {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.features-icon {width:30%;}
.features-title {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 700;
    font-size: 25px;
    line-height: 1.3;
	color:#FE6564;
	margin-left: 0.2em;
}
.features-lead {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size:20px;
	font-weight:500;
	line-height:1.5;
	text-align: justify;
	font-feature-settings: "palt";
	width:95%;
	color:#585858;
}

.topmap {
	margin-top:5%;
	margin-bottom:0;
}
.topmap iframe {
  display: block;
  width: 100% !important; /* 横幅を1300pxの縛りから解放して100%に */
  max-width: 100% !important; /* もしCocoon側のmax-widthが干渉していても強制上書き */
  height: 300px; /* 高さはデザインに合わせてお好みで調整してください */
  border: none;
}
.access1 {
	font-family: "Zen Maru Gothic", sans-serif;
	text-align:center;
	font-size:30px;
	font-weight:700;
	color:#7fb63d;
	margin-top:1em;
}
.access2 {
	font-family: "Zen Maru Gothic", sans-serif;
	text-align:center;
	font-size:20px;
	font-weight:500;
	color:#585858;
}
* 👈 モバイル（デフォルト）の設定 */
.access2 span {
  display: block; /* 各項目を強制的に改行させる */
}

/* モバイルではPC用の空白を非表示にする */
.access2 .pc-space {
  display: none;
}

/* ==========================================
   フッター
   ========================================== */
.snsfollow {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}
.snsfollow a {width:5%;margin:0 1%;}
.snsfollow img {width:100%;}
.footernav {margin: 4% 0 2% 0;}
.footernav-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  color: #7fb63d;
  padding: 0;
  margin: 0;
}

.footernav-list li {
  display: flex;
  align-items: center;
  position: relative;
}

.footernav-list li a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #7fb63d;
  text-decoration: none;
  padding: 0 15px; /* 文字と線の間の余白 */
}

/* ------------------------------------------
   区切り線の設定
   ------------------------------------------ */

/* 全ての項目の「右側」に線を入れる */
.footernav-list li::after {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  background-color: #7fb63d;
}

/* 一番最初の項目（ホーム）の「左側」にだけ線を追加する */
.footernav-list li:first-child::before {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  background-color: #7fb63d;
}
@media screen and (max-width: 1000px) {
  .footernav {
    display: none !important; /* 他のスタイルに上書きされないよう念のため !important を付与 */
  }
}

/* ==========================================
   フッター全体・背景設定（モバイルファースト）
   ========================================== */
.footerbottom {
  width: 100%;
  box-sizing: border-box;
  font-family: sans-serif;
  color: #666666;
  text-align: center;
  /* 上帯（リピート）と下部イラスト（中央配置）を2重背景にする */
  background-image: 
    url('/wp-content/uploads/2026/07/footerobi.svg'),
    url('/wp-content/uploads/2026/07/footerimg.svg'),
    linear-gradient(#ffffff, #ffffff);
  background-repeat: repeat-x, no-repeat, no-repeat;
  background-position: top center, bottom center, center;
  background-size: auto 15px, 100% auto, cover; /* 上帯の高さは適宜調整 */
  padding: 40px 20px 20px 20px; /* 下部にイラスト分の余白を確保 */
  position: relative;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ロゴ（スマホ：中央・上部） */
.footerlogo img {
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* 会社情報エリア（スマホ：縦並び中央） */
.footerinfobox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-gaikan-img img {
  width: 120px;
  height: auto;
  display: block;
}
/* テキストまわり */
.footer-text-group {
  width: 100%;
  text-align: center;
}
.syamei {
  font-size: 25px;
  font-weight: bold;
  color: #006b35; /* カンプの緑色 */
}
.syamei .goudou {
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

.footeradd {
	font-size: 13px;
	margin: -2% 0;
}
.contact-line {margin: 2% 0;}
.footertel {
  font-size: 24px;
  font-weight: bold;
  color: #585858;
  text-decoration: none;
  display: block;
	margin-bottom: -2%;
}
.footerfax {
  font-size: 14px;
  display: block;
}
.footermail {
  font-size: 16px;
  color:  #585858;
  text-decoration: none;
  font-weight: bold;
}

.teikyu-wrap {
  margin-top: 15px;
}
.footerteikyu {
  width: 100%;
  height: auto;
}

/* ==========================================
   PCサイズ（768px以上）のレイアウト切り替え
   ========================================== */
@media screen and (min-width: 768px) {
  .footerbottom {
    padding: 60px 40px 20px 40px;
    background-size: auto 25px, 100% auto, cover; /* PC用に上帯を少し太く */
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    text-align: left;
  }

  .footerlogo {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .footerlogo img {
    max-width: 320px;
  }

  /* 外観画像とテキストを横並びに */
	.footerinfobox {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 25px;
	}
	.footer-gaikan-img img {width: 350px;}
	.footer-text-group {text-align: left;}
	.syamei {
		font-size: 30px;
		border-bottom: 1px dotted #006b35; /* カンプの点線を再現 */
		padding-bottom: 5px;
	}
	.footeradd {font-size:18px;margin:0;}

  /* TELとFAXをPCでは1行に並べる */
  .tel-fax {
	  display: flex;
	  align-items: baseline;
	  flex-direction: column;
	}
	.footertel {
	  display: inline;
	  font-size: 22px;
	}
	.footerfax {display: inline;}
	.teikyu-wrap {text-align: left;margin-top:0;}
	.footer-meta {bottom: 20px;}
	.contact-line {margin:0;}
}

.copyright {
	margin-top: 15px;
    text-align: center;
    font-size: 13px;
}
.pp {
	text-align:center;
	font-size:13px;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.top_read {
		width:90%;
		font-size: 21px;
		margin: 0 auto;
	}
	.features-container {
		flex-direction: column;
		width: 90%;
		height: auto;
		align-items: center;
		margin-top: 5%;
	}
	.features-item {width:100%;}
	.features-icon {width:20%;}
	.features-title {font-size: 20px;}
	.features-lead {font-size:15px;}
	.features-divider {
		width: 4%;
		transform: rotate(90deg);
		margin: -35% 0;
	}
	.access {
		width:90%;
		margin:0 auto;
	}
	.access1 {margin-top:0.3em;}
	.access2 {
		font-size:16px;
		line-height:1.3;
	}
	.access2 span {
		display: inline; /* PCでは横並びに戻す */
	}
	.access2 .pc-space {
		display: inline; /* PCでは空白を表示する */
	}
	.snsfollow a {
		width:13%;
		margin-bottom: 10%;
	}
	.blog-containe {
		width:90%;
		        margin: 5% auto 10% auto;
	}
	.latest-blog-list {
		flex-direction: column;
		    gap: 30px;
	}
	.latest-blog-item {
		width:75%;
		margin:0 auto;
	}
}
