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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出しリセット */
/* 見出し2 */ 
.article h2{ 
background:none;
padding: 0; 
}
/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}
.article
h2 {
  font-size: 20px !important;/*文字のサイズ*/
  border-top: 2px solid #55A8DC;/*上線*/
  border-bottom: 2px solid #55A8DC;/*下線*/
  color: #323232;
  padding: .5em 0;
  margin-bottom: 15px;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
.internal-blogcard-snippet{
    display: none;
}
.blogcard-title{
	font-size: 12px;
	color: #0000FF
}
.internal-blogcard-footer{
	display: none
}

.blogcard{
	position: relative
}

.internal-blogcard:after{
	position: absolute;
	bottom: 0px;
	right: 20px;
	font-family: 'Font Awesome 5 free';
	content: '記事を読む \f101';
	font-size: 90%;
	font-weight: bold;
	background-color: #3E9CF1;
	color: #FFF; 
	padding: 0.2em 2em;
	border-radius: 2px
}
.blogcard{
	position: relative;
	padding-bottom:50px;
}
.list .entry-card-title {
   font-weight: bold;
}
/*ヘッダーの文字と背景の色を変える*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background-color: #676a6b;
	color: #676a6b;
}

.logo-menu-button.menu-button{
	background-color: #FFFFFF;
}
ample.phpPHP

1
2
3
4
5
6<?php 91 $post_time = get_the_time('U'); 92 $days = 2; //New!を表示させる日数 93 $last = time() - ($days * 24 * 60 * 60); 94 if ($post_time > $last) { 95 echo '<span class="new-txt">NEW!</span>'; 96 } 97 ?>
7
8

/*新着記事のnewを装飾*/
.new{
    white-space: nowrap;
    display: inline-block;
    padding: 5px 0;
    margin:5px;
    width: 50px;
    text-align: center;
    font-size: 80%;
    line-height: 1.2;
    font-weight: bold;
    background: #dc143c;
    color: #fff;
    z-index: 2;
}
/*480以下でロゴの大きさ変更*/
@media screen and (max-width: 480px){
.logo-menu-button img {
	width: 180px;
    　　max-height: none;
	margin: 2px auto 0;
}
}
/*ヘッダーモバイルボタン高さ変更*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	height: 50px;
	padding-top: 8px;
}





/* 求人ボックス用 */
/* 全体のラッパー */
.job-list-wrapper {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    padding: 10px;
}

/* 見出し（特異性を高めて白背景を強制） */
.content .job-list-wrapper h2.job-list-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
	margin-right: 0px;
    background: #0067c0 !important; /* オレンジを上書き */
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
		white-space: normal;
}

/* SPONSORED BY のスタイル */
.content .job-list-wrapper .job-sponsored {
    font-size: 10px;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
	margin-left: 0px;
}

/* リンクのスタイル */
.content .job-list-wrapper .job-sponsored a {
    color: #fff;
    text-decoration: none;
}

/* ホバー時のリンク */
.content .job-list-wrapper .job-sponsored a:hover {
    text-decoration: underline;
    color: #fff;
}

/* 求人リストのグリッド */
.job-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

/* 2列の間に縦線を追加 */
.job-list-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #e0e0e0;
}

/* 求人アイテム */
.job-item {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.2;
    margin-bottom: 0;
}

/* 最初の列の右側にボーダーを追加（縦線と重複しないように調整） */
.job-list-grid > .job-item:nth-child(odd) {
    border-right: 1px solid #e0e0e0;
}

/* 最後のアイテムのボーダーを調整 */
.job-list-grid > .job-item:last-child,
.job-list-grid > .job-item:nth-last-child(2) {
    border-bottom: 1px solid #e0e0e0;
}

/* 求人タイトル */
.job-title-link {
    font-size: 14px;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}

/* ホバー時のタイトル */
.job-title-link:hover {
    text-decoration: underline;
    color: #003366;
}

/* 会社名、岡山県、給与、雇用形態 */
.job-company, .job-area, .job-salary, .job-employment {
    font-size: 12px;
    color: #555;
    display: inline;
    margin-right: 5px;
}

/* ハイフンの追加 */
.job-company::after, .job-area::after, .job-salary::after {
    content: " - ";
}

/* 雇用形態の後にはハイフンを付けない */
.job-employment::after {
    content: none;
}

/* モバイル画面用の調整 */
@media (max-width: 1024px) {
    /* 見出し（白背景のまま） */
    .content .job-list-wrapper h2.job-list-title {
        font-size: 16px;
        padding: 0;
        background: #0067c0 !important;
        color: #fff;
        border-bottom: 1px solid #e0e0e0;
		white-space: normal;
    }

    /* SPONSORED BY */
    .content .job-list-wrapper .job-sponsored {
        font-size: 10px;
        color: #fff;
    }

    /* リンクのスタイル */
    .content .job-list-wrapper .job-sponsored a {
        color: #fff;
    }

    /* ホバー時のリンク */
    .content .job-list-wrapper .job-sponsored a:hover {
        color: #555;
    }

    /* 求人リストを1列に */
    .content .job-list-wrapper .job-list-grid {
        grid-template-columns: 1fr !important;
    }

    /* 縦線を非表示 */
    .content .job-list-wrapper .job-list-grid::before {
        display: none !important;
    }

    /* 奇数番目のアイテムの右ボーダーを非表示 */
    .content .job-list-wrapper .job-list-grid > .job-item:nth-child(odd) {
        border-right: none !important;
    }

    /* 求人アイテム */
    .content .job-list-wrapper .job-item {
        padding: 8px !important;
        border-bottom: 1px solid #e0e0e0 !important;
        line-height: 1.1 !important;
    }

    /* 最後のアイテムのボーダーを調整 */
    .content .job-list-wrapper .job-list-grid > .job-item:last-child {
        border-bottom: none !important;
    }

    /* 求人タイトル */
    .content .job-list-wrapper .job-title-link {
        font-size: 13px !important;
        font-weight: bold !important;
        margin-bottom: 1px !important;
    }

    /* 会社名、岡山県、給与、雇用形態 */
    .content .job-list-wrapper .job-company,
    .content .job-list-wrapper .job-area,
    .content .job-list-wrapper .job-salary,
    .content .job-list-wrapper .job-employment {
        font-size: 11px !important;
        color: #555 !important;
        margin-right: 4px !important;
    }
}