@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/*******************************
 * アドセンス
 *******************************/
 
.ads-sidebar {
	width: 354px;
	margin: 0 0 var(--wp--custom--widget--gap);
	text-align: center;
}

.ads-footer {
	text-align: center;
}

.ads_infeed, .ads_double_infeed {
	border-radius: 0px;
	background: transparent;
	box-shadow: none;
}
@media only screen and (max-width: 480px) {
.ads_infeed {
	display: block;
}
.ads_double_infeed {
    display: none;
}
}
@media only screen and (min-width: 481px) {
.ads_infeed {
	display: none;
}
.ads_double_infeed {
    display: block;
}
}

/*******************************
 * 画像をくっきりさせる
 *******************************/
 
#xo-slider img {
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;   
	image-rendering: pixelated;  
}

/*******************************
 * ドロワー制御関連
 * wp_is_mobileだとサーバーキャッシュで正常に動作しない可能性があるためCSSで制御する
 *******************************/
 
/* スマホ用ドロワー表示ボタンを表示しない */
@media only screen and (max-width: 480px) {
label#drawer__open {
    display: none;
}
}
 
/* 768pxまではサイドバーを下に表示しない */
@media only screen and (max-width: 768px) {
#sidebar1 {
	display: none;
}
}

/* 769pxからはドロワーとモバイル固定メニューを表示しない */
@media only screen and (min-width: 769px) {
#drawer, .fixed-menu {
    display: none;
}
}

/*******************************
 * サイトタイトル
 *******************************/

/* タイトル設定 */
#logo, p.header-image__headline {
	font-family: 'Oranienbaum', serif;
	letter-spacing: 5px;
}

/* スマホ用タイトルの文字間隔を詰める */
@media only screen and (max-width: 480px) {
#logo, p.header-image__headline {
	letter-spacing: 2px;
	padding-left: 0px;
	white-space: nowrap;
}
}

/* スマホ用タイトル両端の余白を削除 */
@media only screen and (max-width: 480px) {
#drawer + #inner-header {
    max-width: inherit;
}
}

/*******************************
 * ヘッダーアイキャッチ
 *******************************/

/* アイキャッチ画像の文字 */
div.header-image__text {
	color: #000000;
}

/* スマホ用アイキャッチ画像のタイトルを小さく */
@media only screen and (max-width: 480px) {
h1#logo, p.header-image__headline {
	font-size: 6vmin;
}
}

/*******************************
 * カード表示（ノーマル）
 *******************************/

/* 一覧画面のロドスト画像をレクタングルサイズに変更 */
span.c_linkto_img_wrap {
	padding-bottom: 100%;
}

/* IL表示のため時計アイコン非表示 */
time.pubdate:before {
	display: none;
}

/* ジョブアイコン表示位置 */
div.c_linkto_wrap div.c_icon_wrap {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 0px;
	margin: 0px;
}
div.c_linkto_wrap div.c_icon_wrap:after {
	content: '';
	clear: both;
}

/* ジョブアイコン */
div.c_linkto_wrap div.c_icon_wrap img {
	float: left;
	margin-left: 1px;
	width: 25px;
}

/*******************************
 * ウィジット
 *******************************/
/* ウィジットタイトル */
h4.widgettitle {
	text-align: center;
	padding: 10px;
}

/* テキストプレースホルダー */
input::placeholder {
	font-size: 12px;
}

/* 選択色 */
.ac-widget-term-selected {
	background-color: var(--sgb-pastel-color) !important;
}

/* 選択解除ボタン */
div.widget {
	position: relative;
}
.ac-widget-clear {
	position: absolute;
	top: 16px;
	right: 20px;
	color: white;
	font-size: 24px;
	cursor: pointer;
	display: none;
}
.ac-widget-clear-show {
	display: block;
}
div#drawer .ac-widget-clear {
	top: 15px;
}

/* ウィジットエリア */
.ac-widget-wrap {
	position: relative;
	margin: 8px 10px;
}

/*******************************
 * ボックスウィジット
 *******************************/
 
/* a ではなく div で実装 */
.widget ul li div {
	color: #626262;
	padding: 7px;
	transition: var(--wp--custom--transition--default);
	cursor: pointer;
}
@media only screen and (min-width: 1240px) {
.widget ul li div:hover {
	background: #efefef;
}
}

/* ドロワーの場合は hover を無効 */
#drawer .widget ul li div:hover {
	background: inherit;
}

/* ドロワーの場合はウィジット最後に下線表示 */
div#drawer ul.widget-menu {
	border-bottom: solid 2px #efefef;
}

/* ◯×を中央揃え */
.ac-widget-term .fa-circle, .ac-widget-term .fa-times {
	vertical-align: middle;
}
/* ×を少し大きく */
.ac-widget-term .fa-times {
	font-size: 17px;
}

/*******************************
 * アコーディオンウィジット
 *******************************/

/* 子要素を１行で表示 */
.ac-widget-accordion li.ac-widget-accordion-box {
	width: 100%;
	display: none;
	border: 0px;
}
.ac-widget-accordion li.ac-widget-accordion-term {
	width: 100%;
}

/* 子要素のレフトボーダーを非表示 */
.ac-widget-accordion li.ac-widget-accordion-term:nth-child(even) {
	border-left: 0px;
}

/* ボーダーをボトムではなくトップに表示 */
.ac-widget-accordion ul li {
	border-top: solid 2px #efefef;
	border-bottom: 0px;
}
/* 最初の２つはトップも非表示 */
.ac-widget-accordion > ul > li:nth-child(-n+2) {
	border-top: 0px;
	border-bottom: 0px;
}

/*******************************
 * テキストウィジット
 *******************************/

/* ドロワーの場合は検索ボタンを非表示 */
#drawer .ac-widget-text .ac-widget-search {
	display: none;
}

/*******************************
 * 範囲ウィジット
 *******************************/

/* テキストボックス */
.ac-widget-range .ac-widget-term {
	display: inline-block;
	vertical-align: middle;
	width: 35%;
	padding: 0.55em;
	text-align: center;
}

/* 〜 */
.ac-widget-range .ac-widget-range-to {
	display: inline-block;
	width: 12%;
	text-align: center;
}

/* 検索ボタン */
.ac-widget-range .ac-widget-search {
	display: inline-block;
	width: 15%;
	border-radius: var(--wp--custom--rounded--small);
}

/* テキストボックスにフォーカスが当たった場合にボタンを大きく変更 */
input.searchform__input:focus ~ .searchform__submit i {
	font-size: 24px;
}

/* ドロワーの場合は検索ボタンを非表示 */
#drawer .ac-widget-wrap {
	text-align: center;
}
#drawer .ac-widget-range .ac-widget-term {
	width: 40%;
}
#drawer .ac-widget-range .ac-widget-search {
	display: none;
}

/*******************************
 * 送信ウィジット
 *******************************/

/* 送信ボタンエリア */
.ac-widget-submit {
	margin-top: 1.33em;
}

/* 送信ボタン */
.ac-widget-button {
	font-size: 1.2em;
	width: 150px;
	text-align: center;
	background-color: var(--sgb-main-color);
	padding: 10px;
	border: none;
}
.ac-widget-button:first-of-type {
	margin-right: 5px;
}
.ac-widget-button:last-of-type {
	margin-left: 5px;
}
.ac-widget-button:hover {
	text-decoration: none;
}

/*******************************
 * 投稿ページ
 *******************************/
 
/* パンくずリストのホームをHomeに変更 */
#breadcrumb li:first-child a span {
	display: none;
}
#breadcrumb li:first-child a:after {
	content: 'Home';
}

/* SHAREボタン表示位置調整 */
.fab-btn {
	margin-top: calc(-25px - 120px);
	margin-bottom: calc(0px + 120px);
}
/* スマホのSHAREボタン表示位置調整 */
@media only screen and (max-width: 480px) {
.fab-btn {
	margin: 15px;
	animation: none;
	width: auto;
}
}

/* SHAREボタン画像 */
.fab__contents_img {
    height: 346px;
}

/* スマホのSHAREボタン画像 */
@media only screen and (max-width: 480px) {
.fab__contents_img {
    height: 300px;
}
}

.single h2, .page h2 {
	color: white;
	background-color: var(--sgb-main-color);
	text-align: center;
	padding: 10px;
}

/*******************************
 * データ表示
 *******************************/
table.ac-table-data {
	width: 100%;
	border: none;
	border-collapse: separate;
	border-spacing: 0px 15px;
}
table.ac-table-data th {
	width: 200px;
	border: none;
	color: white;
	background-color: var(--sgb-main-color);
	white-space: nowrap;
	padding-left: 15px;
	padding-right: 15px;
	--border-top-left-radius: var(--wp--custom--rounded--medium);
	--border-top-right-radius: var(--wp--custom--rounded--medium);
}
table.ac-table-data td {
	padding-left: 15px;
	border-bottom: 2px solid var(--sgb-main-color);
}
@media only screen and (max-width: 480px) {
table.ac-table-data th {
	width: 1%;
}
}

/* ×を少し右に */
table.ac-table-data .fa-times {
	margin-left: 3px;
}

/*******************************
 * アイテム
 *******************************/
.item-wrap {
	width: 100%;
	box-shadow: var(--wp--custom--shadow--solid);
	margin-bottom: 1.5em;
	border-radius: var(--wp--custom--rounded--medium);
	height: 148px;
	position: relative;
}
.item-wrap .item-image {
	vertical-align: middle;
	margin: 10px;
	position: absolute;
}
.item-wrap .item-image-socket, .item-wrap .item-image-cover {
	top: -6px;
	left: -12px;
}
.item-wrap .item-info {
	padding-top: 15px;
	padding-left: 158px;
	padding-right: 10px;
}
.item-wrap .item-info .item-region {
	color: #b5b5b5;
    display: block;
    font-size: 13.5px;
	font-weight: 700;
    margin: 0px;
    line-height: 30px;
}
.item-wrap .item-info .item-name {
	color: #555;
	font-weight: 700;
    display: block;
    margin: 0px;
    margin-bottom: 10px;
    line-height: 30px;
}
.item-link {
	position: absolute;
	bottom: 10px;
	width: 120px;
	height: 30px;
	border-radius: 5px;
	text-align: center;
}
.item-link img {
	height: 20px;
}
.item-link-1 {
	right: 255px;
	background-color: #404040;
}
.item-link-2 {
	right: 130px;
	background-color: #FE7D7C;
}
.item-link-3 {
	right: 5px;
	background-color: white;
}
@media only screen and (min-width: 1240px) {
.item-link:hover {
 	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
  	transform: translateY(-4px);
}
}

@media only screen and (max-width: 480px) {
.item-wrap {
	height: 164px;
}
.item-wrap .item-image {
	width: 64px;
}
.item-wrap .item-image-socket, .item-wrap .item-image-cover {
	width: 76px;
	top: -3px;
	left: -6px;
}
.item-wrap .item-info {
	padding-top: 10px;
	padding-left: 84px;
}
.item-wrap .item-info .item-region {
    line-height: 20px;
}
.item-wrap .item-info .item-name {
    line-height: 20px;
}
.item-link-1 {
	width: calc(100vw - 50px);
	bottom: 45px;
	left: 10px;
}
.item-link-2 {
	width: calc(50vw - 30px);
	bottom: 10px;
	left: 10px;
}
.item-link-3 {
	width: calc(50vw - 30px);
	bottom: 10px;
	right: 10px;
}
}

/*******************************
 * 関連装備
 *******************************/
.related-posts .rlmg {
	padding-bottom: 100%;
}
@media only screen and (max-width: 1239px) {
.related-posts li a:hover img {
	box-shadow: 0 2px 4px rgba(0,0,0,.3);
	transform: inherit;
}
}

/*******************************
 * 画像スライダー
 *******************************/

/* 影を非表示 */
.swiper-cube-shadow {
	display: none;
}

/* サムネイルを囲むpタグを非表示 */
.post-thumbnail {
	display: none;
}

/* サムネイルのカーソル変更とサイズ調整 */
.ac-swiper-slide-thumbnail {
	cursor: pointer;
	width: 25%;
	max-width: 120px;
}

/*******************************
 * 404
 *******************************/
.nofound-title:before {
	display: none;
}
.nofound-title {
	padding-bottom: 0px;
}
.nofound-contents {
	padding-top: 1em;
}
.nofound-contents .ct {
	margin-top: 2em;
}

/*******************************
 * 固定ページ
 *******************************/
.page .ac-widget-button {
	margin: 0px;
}

/*******************************
 * 非表示関連
 *******************************/

/* 検索結果タイトル */
h1.search-title {
	display: none;
}

/* アーカイブタイトル */
#archive_header {
	display: none;
}

/* シェア文字列 */
.share_txt {
	display: none;
}

/* フッターメタ情報 */
.footer-meta {
	display: none;
}

/* 前後の記事 */
.prnx_box {
	display: none;
}

/* ライキングウィジットのfontawesome */
.sidebar .my_popular_posts .widgettitle:before {
	display: none;
}

/* 固定ページのSHAREボタン */
.page .footer-contents {
	display: none;
}