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

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

/* ーーーーーーーーーーーーー変数ーーーーーーーーーーーーーーーー */
:root {
	--bg-color: #3c3c3c;
	--red-color: #9D3737;
	--bright-red-color: #DD3333;

/* ーーーーーーーーーーーーー全体ーーーーーーーーーーーーーーー */
.header-container, .main, .sidebar, .footer {
    background-color: var(--bg-color);
}
	
	.mobile-header-inner {
    display: none;
  }
	
	.article-header.entry-header {
		display: none;
	}
	
	.author-info {
		display: none;
	}
	
	#breadcrumb {
		display: none;
	}
	
	a:hover {
		color: var(--red-color);
	}
	
	a {
		transition: color 0.3s ease, background-color 0.3s ease;
	}
	
/* ーーーーーーーーーーーーヘッダーーーーーーーーーーーーーーーーーーー */
.header .logo {
    text-align: left;
}

/* ヘッダー全体を横並びにして中央揃え */
#header-container-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
	
	.header-in.wrap {
		width: auto;
	}

/* ロゴ画像の調整 */
.logo.logo-header img {
  height: 60px;
  width: auto;
  display: block;
}

/* ナビ全体の位置調整 */
#navi {
  flex-grow: 1;
}
	
	#navi .menu-top.menu-header.menu-pc {
		margin-right: 92px;
	}

.menu-header.menu-pc {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-header.menu-pc li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.menu-header.menu-pc li a:hover {
  opacity: 0.7;
}


/* 現在のページのメニュー項目にだけピンクの下線を表示 */
.menu-header .current-menu-item,
.menu-header .current-menu-ancestor,
.menu-header .current-menu-parent,
.menu-mobile .current-menu-item,
.menu-mobile .current-menu-ancestor,
.menu-mobile .current-menu-parent {
  border-bottom: 2px solid var(--red-color);
}
	
/* ▼ 疑似要素でアニメーション下線を用意 */
#header-container .navi li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0; /* 初期状態は幅ゼロ */
  height: 2px;
  background-color: var(--red-color);
  transition: width 0.3s ease;
}
	
/* ▼ ホバー時に下線が左から右へ伸びる */
#header-container .navi li a:hover::after {
  width: 100%;
}
	
/* ヘッダーナビのホバー時背景色が変わらないように */
	#navi-in ul li a .caption-wrap:hover {
		background-color: var(--bg-color) !important;
	}
	
	#navi-in ul li a .caption-wrap{
		transition: none;
	}
	
	
/* ーーーーーーーーーーーーートップーーーーーーーーーーーーーーーーー */
.page-id-14 .blogcard-wrap {
	background-color: var(--bg-color);
}
	
.page-id-14 .logo4 img {
  width: 21%;
	margin: 0 1.5%;
}
	
	.page-id-14 .home-top {
		max-width: 50%;
	}
	
	.job {
		display: none;
	}
	
	.sponsor a:hover {
		background-color: #fff;
	}
	
/* ーーーーーーーーーーーーーー過去の実績ーーーーーーーーーーーーーーーーーーー */
	
	.achievements-title {
		display: none;
	}
	
	table tr:nth-of-type(2n+1) {
		background: var(--bg-color);
	}
	
	.page-id-19 .achievements-top {
		max-width: 50%;
	}
	
/* ーーーーーーーーーーーーーフッターーーーーーーーーーーーーーーーーー */
	
/* 既存のフッターを非表示に */
.footer-bottom-logo {
  display: none;
}

.footer-bottom-content .navi-footer {
  display: none;
}
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
	
.footer-bottom-content {
    float: none;
    text-align: center;
	padding-top: 0;
}
	
	footer.footer {
/*   color: #fff; */
  padding: 0 20px 20px;
/*   font-family: 'Noto Sans JP', sans-serif; */
}

.footer-upper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
	
.footer-upper .footer-left {
  width: 40%;
}
	
.footer-upper .footer-left img {
	margin-left: auto;
}
	
.footer-upper .footer-right {
  width: 60%;
	text-align: left;
}

.footer-left {
  max-width: 480px;
}

.footer-left p {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 14px;
}

.yuitoiro-logo {
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.yuitoiro-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--red-color); /* redの下線 */
}

.yuitoiro-link:hover {
  opacity: 0.8;
}

.st-logo {
  width: 50px;
	width: 50px;
  height: auto;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-menu li a {
/*   color: #fff; */
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.footer-menu li a:hover {
  opacity: 0.7;
}

/* Instagramアイコン（Font Awesome対応） */
.footer-nav a i.fab.fa-instagram {
  color: #fff;
  font-size: 24px; /* または fa-2x を使う場合は省略OK */
  transition: opacity 0.3s ease;
}

.footer-nav a i.fab.fa-instagram:hover {
  opacity: 0.7;
}

.logo-link img {
  display: block;
}

copyright {
  text-align: center;
  font-size: 12px;
/*   color: #ccc; */
  margin-top: 20px;
}

/* ーーーーーーーーーーーお問い合わせーーーーーーーーーー */
.table th,
.table td {
	border: none;
	background-color: var(--bg-color);
}

/* スマホでもth内のテキストを折り返さないようにする */
.table th {
  white-space: nowrap;
  vertical-align: top;
  padding-right: 1em;
}

/*835px以上*/
@media screen and (min-width: 835px){
	.table p {
		font-size: 16px;
	}	
}

.submit .wpcf7-submit {
	background-color: var(--red-color);
	color: #fff;
	transition: background-color 0.3s ease, font-weight 0.3s ease;
}
	

.submit .wpcf7-submit:hover {
    background-color: var(--bright-red-color);
	font-weight: bold;
}

/* 「必須」の文字装飾 */
.required {
  color: white;
  background-color: var(--red-color);
  font-weight: bold;
  padding: 2px 6px; 
	 border-radius: 4px;
  font-size: 12px; 
  display: inline-block;
  line-height: 1; 
}

.required {
  background-color: var(--red-color);
	background-color: var(--red-color);
}

.page-id-84 .main {
	padding-top: 0;
}

/* reCAPTCHA説明文 */
.contact-text {
	font-size: 14px;
}

.contact-text a {
	color: var(--main-text-color);
}

.contact-text a:hover {
    font-weight: bold;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	
/* ーーーーーーーーーーーーヘッダーーーーーーーーーーーーーーーーーーー */
	
#navi {
	margin-right: 92px;
}
	
.menu-header.menu-pc {
	display: none;
	}
	
	#navi .navi-in > .menu-mobile li {
        width: 25%;
    }
	
	.slicknav_menu {
		display: none;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
/* 	----------------ハンバーガーメニュー------------------------ */
	.slicknav_menu,
	.slicknav_btn {
		display: block;
    background: var(--bg-color);
}

	.slicknav_menutxt {
		display: none;
	}
	
.mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: top;
    padding: 10px 15px;
  }

  .mobile-logo {
    height: 60px;
    width: auto;
  }
	
/* 	ヘッダーを非表示 */
	.header-container {
		display: none;
	}
	
/* ーーーーーーーフッターーーーーーーーーーーーー */
	
.footer-menu {
  gap: 20px;
}
	
.footer-upper .footer-left {
  width: 25%;
  width: 25%;
}
	
.footer-upper .footer-right {
  width: 75%;
}	
	
	.footer-widgets-mobile {
		display: none;
	}
	
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
/* ーーーーーーーーーーーーヘッダーーーーーーーーーーーーーーーーーーー */
	
	#navi .navi-in > .menu-mobile li {
        width: 25%;
    }
	
/* ーーーーーーーーーーーーーホームーーーーーーーーーーーーー */
	
	.page-id-14 .logo-top {
		margin-bottom: 0;
	}
	
	.page-id-14 .logo4 img {
  width: 45%;
	width: 45%;
	margin: 8px 1.5%;
}

.page-id-14 .home-top {
		max-width: 100%;
	}
	
/* ーーーーーーーーーーーー過去の実績ーーーーーーーーーーーーーーー */
	
	.page-id-19 .achievements-top {
		max-width: 100%;
	}
	
/* ーーーーーーーフッターーーーーーーーーーーーー */
	
footer.footer {
  padding: 0 10px;
}
	
.footer-menu {
  gap: 0;
  margin: 0 16px;
}

	
.footer-upper .footer-left {
  width: 20%;
  width: 20%;
  padding: 10px 0;
}
	
.footer-upper .footer-right {
  width: 80%;
  padding: 10px 12px;
}
	
.footer-menu li {
  width: 50%;
}
	
}
