@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
.customBtn1 {
	display: block;
	width: 100%;
	max-width: 600px;
	font-weight: 700;
	text-align: center;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 16px;
	border: 1px solid #2638E6;
	transition: .3s;
	background-color: #2638E6;
	color: #fff !important;
	text-decoration: none !important;
	margin: 16px auto;
}
.btnColor1 {
	border: 1px solid #2638E6;
	background-color: #2638E6;
	&:hover{
		background: #fff;
		color: #2638E6 !important;
	}	
}

.btnColor2 {
	border: 1px solid #ee390c;
	background-color: #ee390c;
	margin: 4px auto 16px auto !important;
	&:hover{
		background: #fff;
		color: #ee390c !important;
	}	
}
.btnInfo{
	padding-bottom: 3px !important;
	margin-bottom: 0 !important;
    color: #ee390c;
	text-align: center;
    font-size: 16px !important;
    font-weight: 600 !important;
}


.sidebar h2 {
    font-size: 20px !important;
    margin: 20px auto 10px;
    padding: 10px 10px 10px 16px;
    background-color: #012543;
    color: #fff;
}

.wiget-popular-articles{
	margin-bottom: 1.8em;
}

/* divの枠線 */
.callout {
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 16px 0;
  background-color: #ffffff;
  border-radius: 4px;
}

.callout a:hover {
  text-decoration: underline;
}

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

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

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


body.single .under-entry-content { display: none !important; }

/* 記事タイトル上の余白を縮小（Cocoon デフォルト 36px → 16px） */
#main {
    padding-top: 16px !important;
}

/* 記事 article の上余白を除去（Cocoon デフォルト 180px） */
#main article {
    padding-top: 0 !important;
}

.top-banner {
  display: none;
}

/* ====================================
** Pacific コーポレートヘッダー統合
** ==================================*/

/* Cocoon 純正ヘッダーを非表示 */
#header-container { display: none !important; }
#header-fixed     { display: none !important; }

/* Cocoon が header 要素に付ける padding を除去（5px余分が生じる原因） */
@media (min-width: 1001px) {
    .header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* コンテンツがヘッダーに隠れる対策（PC: nav-wrapper 66px + navMenu 41px = 107px） */
#container { margin-top: 107px !important; }
.sidebar-scroll { top: 87px !important; }

/* SP: component.css に合わせて 73px */
@media (max-width: 1000px) {
    #container { margin-top: 73px !important; }
    .sidebar-scroll { top: 60px !important; }
}

/* ====================================
** component.css 起因の崩れ修正
** ==================================*/

/* PC ヘッダー nav-other02 のスペース・スラッシュ区切り
   （本来は page.css に定義されているが magazine では読み込まれないため） */
.nav-other02 {
    padding-left: 30px;
}
.nav-other02 li a {
    display: block;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: normal;
    transition: all .3s;
    color: #232031 !important;
}
.nav-other02 li a:hover {
    opacity: .5;
}
.nav-other02 li:not(:last-of-type) {
    padding-right: 5px;
    margin-right: 5px;
    position: relative;
}
.nav-other02 li:not(:last-of-type)::after {
    content: "/";
    display: block;
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: normal;
}

/* navMenuBtn のテキスト色・サイズ — Cocoon の a styles 上書き対策 */
.navMenuBtn,
.navMenuBtn span {
    color: #fff !important;
}
.navMenuBtn03,
.navMenuBtn03 span {
    color: var(--bg02, #232031) !important;
}
.navMenuBtn03:hover,
.navMenuBtn03:hover span {
    color: #fff !important;
}
/* navMenuBtn の高さを保護（Cocoon が padding を潰す対策） */
.header .navMenuBtn {
    padding: 12px 20px !important;
    font-size: 14px !important;
    line-height: 1 !important;
}
/* ロゴの h1 高さを保護（Cocoon が h1 を上書きする対策） */
.headerLogo a h1 {
    height: 37px !important;
    margin: 0 !important;
}
/* nav-wrapper の最低高を保証 */
.header .nav-wrapper {
    min-height: 63px !important;
}

/* EN ボタンのピル形状
   （multiBtnWrap は page.css にあり読み込まれないため直接定義） */
.multiBtnWrap {
    margin-left: 24px;
}
.multiBtnWrap a {
    font-size: 14px;
    line-height: 100%;
    letter-spacing: normal;
    display: block;
    padding: 4px 20px;
    border-radius: 100px;
    color: #74727D;
    background-color: #EFEFF2;
    transition: all .3s;
}
.multiBtnWrap a:hover {
    opacity: .7;
}

/* ヘッダー内 ul のブラウザデフォルト padding/margin をリセット
   （コーポレートテーマのリセットCSSが magazine には読み込まれないため）
   nav-other: ボタンリスト、nav-menuList: 下段メニュー */
.header .nav-other,
.header .nav-menuList {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* SPNav リストの bullet 点除去
   （Cocoon が ul li にデフォルトで list-style を追加するため） */
#spNav li {
    list-style: none !important;
}

/* SPNav CTA ボタン（資料請求・無料相談・メルマガ登録）の幅崩れ修正
   span が 1 つだけのとき span:first-of-type { width: 18px } が適用されて
   テキストが縦に並ぶ問題を修正 */
.spNav-otherListItem a span:only-child {
    width: auto !important;
    height: auto !important;
    position: static !important;
}

/* ====================================
** ドロップダウン関連
** ==================================*/

/* col-w（白文字クラス）— page.css にのみ定義されているため直接定義 */
.col-w {
    color: #fff;
}

/* Cocoon がデフォルトで a に付ける text-decoration を除去 */
.dropdownTop a,
.dropsownSecond a,
.dropdownMenu-listItetm a {
    text-decoration: none !important;
}

/* ====================================
** magazine フッター（.pm-footer）
** ==================================*/
.pm-footer {
    background-color: #012543;
    color: #fff;
    padding: 40px 5% 20px;
}
.pm-footer a {
    color: #fff !important;
    text-decoration: none !important;
}
.pm-footer a:hover {
    opacity: .7;
}
.pm-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
.pm-footer__logo-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.pm-footer__company {
    font-size: 14px;
    margin-bottom: 8px;
}
.pm-footer__address {
    font-size: 12px;
    line-height: 1.7;
}
.pm-footer__nav {
    display: flex;
    gap: 40px;
}
.pm-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pm-footer__list li {
    list-style: none !important;
    margin-bottom: 10px;
}
.pm-footer__list a {
    font-size: 13px;
}
.pm-footer__copy {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
.pm-footer__copy small {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}
@media (max-width: 768px) {
    .pm-footer__inner {
        flex-direction: column;
        gap: 24px;
    }
    .pm-footer__nav {
        gap: 16px;
        width: 100%;
    }
}