/*
Theme Name: WING-AFFINGER5 Zero
Template: affinger5
Description: ver20180831以上対応
Version: 0.1
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {


	/*-- ここまで --*/
}

div.overlay_box{
  position: relative;
  width: 100%;
}
div.overlay_box div.overlay_box_caption{
  position: absolute;
  width: 100%;
  left: 0;
  top: calc(50% - 1em);
  height: auto;
  padding: 10px 0px;
  text-align: center;
  color: #ffffff;
  text-shadow: black 1px 1px 2px, black -1px 1px 2px, black 1px -1px 2px, black -1px -1px 2px;
  font-weight: bold;
  font-size: 50px;
  line-height: 50px;
  font-family: "Sawarabi Mincho";
  background: rgba(0, 0, 0, 0.30);
}

/* Simple Custom CSS */

/******** 目的ナビゲーション　ボックス化 ********/

#navi_box {
    margin: 1em auto;
    padding: 0;
}
.why_use {/* 利用目的 */
    display: flex;
    flex-wrap: wrap;
}
.why {
    margin: 2px;
    padding: 0;
}
.why img {/* ナビ用アイコン表示の調整 */
    width: 150px;
    height: 75px;
}


/************* アコーディオンの定義 *************/

/* アコーディオン展開用のボタン */

summary.open_btn {
    display: block;
    width: 50%;
    margin: 1.0em auto;
    padding: 0.5em;
    text-align: center;
    color: #de9e5e;
    font-weight: bold;
    border: 4px solid #de9e5e;
    border-radius: 5px;
    cursor: pointer;
}
/* アコーディオンの中身表示エリア */
details[open] {
    background: #ffffff;
    margin: 0;
    padding: 0;
}

/************* 等分ボックスの定義 *************/

.toubun {
	display: flex;
  justify-content: center;
  margin: 1.0em auto;
  padding: 0;
}
.toubun div {
  width: 100%;
	margin: 1px;
  padding: 0;
  border: none;
}

/************* 自作ボックス各種 *************/


/* 見出し付きボックス全体の定義 */
.kajo, .num {
    position: relative;
	margin: 1.0em 5px 1.0em 0;
	padding: 0;
    background: #ffffff; /* ボックス背景色*/
    border: 2px solid #e34b6a; /* ボックス枠の定義 */
	border-radius: 8px; /* ボックスの角丸 */
}

/* 左肩ラベル付きボックス(特徴まとめ)全体の定義 */
/* いちばん外側のボックス（中に.box_titleと.free-inboxを含む */
.label_box {
    position: relative;
	margin: 1.5em 0.25em;
	padding-bottom: 0;
    background: #fffcdb;
    border: 2px solid #F5CE13;
    border-radius: 8px;
}

/* リスト本体が入るボックス */
#wrapper .free-inbox {/*テーマ内セレクタの設定を上書き*/
	margin: 3.0em 0 0 2px;
	padding: 0;
}

/*** 自作ボックス内の見出しの定義 ***/

/* ボックス内の見出しの定義 */
.kajo .box_title, .num .box_title {
    background: #e34b6a; /* 見出し背景色*/
    color: #ffffff;/*見出しテキストカラー*/
    text-align: center; /* 文字のセンタリング*/
	font-size: 1.0em;
    font-weight: bold;
    padding: 4px;
    letter-spacing: 0.03em;
}

/* 左肩ラベルボックスの見出しの定義 */
.label_box .box_title {
    position: absolute;
    display: inline-block;
    padding: 0 9px;
    vertical-align: middle;
    background: #F5CE13;/* 見出し背景色*/
    color: #ffffff;/* 見出し文字色*/
	font-weight: bold;
}

/*** ボックス内の要素 ***/

/* ボックス内のリストの定義 */
#wrapper .kajo ul,/*テーマ内セレクタの設定を上書き*/
#wrapper .free-inbox ul {
	padding: 0em 0.25em 0.25em 1.0em;
	margin:1.0em 0 5px 0;
}
/*ボックス内の平文の配置*/
.kajo p, .num p, .free-inbox p {
	margin: 1.0em 1.0em 0.5em 1.0em;
}

/*箇条書きリストの配置*/
#wrapper .kajo ul li,/*テーマ内セレクタの設定を上書き*/
#wrapper .free-inbox ul li {
    list-style-type: none;/*ポチ消す*/
    line-height: 1.5em; /*文の行高*/
	margin: 0 0 1.0em 0;
    padding: 0 0.25em 0 1.0em;
}

/*チェックマークの配置とデザイン*/
#wrapper .kajo ul li:before,
#wrapper .free-inbox ul li:before {
    font-family: FontAwesome;
    content: "\f00c";
    position: absolute;
    left : 0.5em; /*リスト本文とチェックマークの余白*/
    color: #e67748; /*チェックマークの色*/
}
/*番号付きリストのナンバリングのデザイン*/
#wrapper .num ol {/*テーマ内セレクタの設定を上書き*/
    counter-reset: number; /*数字をリセット*/
    list-style-type: none; /*数字を一旦消す*/
	padding: 0em 0.25em 0.25em 1.0em;
	margin-bottom: 5px;
}
#wrapper .num ol li {
    position: relative;
    line-height: 1.5em;
	margin: 1.0em 0.25em 1.0em 0.75em;
    padding: 0 0.25em 0 0.5em;
}
#wrapper .num ol li:last-child {/*テーマ内セレクタの設定を上書き*/
    padding-bottom: 5px;
}

#wrapper .num ol li:before {
    /* 以下数字をつける */
    position: absolute;
    counter-increment: number;
    content: counter(number);
    /*以下数字のデザイン変える*/
    display: inline-block;
    background: #e34b6a;
    color: #ffffff;
    font-family: 'Avenir', 'Arial Black', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50%;
    left: -1.25em;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    /*以下 上下中央寄せのため*/
    top: 0%;
    -moz-transform: translateY(-0%);
    -webkit-transform: translateY(-0%);
    -o-transform: translateY(-0%);
    -ms-transform: translateY(-0%);
    transform: translateY(-0%);
}


/* 文中コラムボックスの定義 */
/* ボックス全体の定義 */
.column_box {
    position: relative;
    margin: 1.5em 0.5em;
    padding: 1.0em;
    background: #f9f9f9; /* ボックス背景色*/
    border: 2px solid #e9eaeb; /* ボックス枠の定義*/
    border-radius: 10px;
}
/* コラムの見出しボックス */
.column_box .box_title {
    color: #444444; /* 見出し文字カラー */
	background: #f9f9f9; /* 見出し背景色*/
	text-align: center; /* タイトルをセンタリングするとき*/
    font-size: 1.0em;
    font-weight: bold;
    margin-bottom: 1.0em;
    letter-spacing: 0.03em;
}
/* 見出し文字（オーサムフォントを含まない部分） */
.column_box .column_title {
    padding-left: 0.6em; /* タイトルの左にアイコンを挿入するための空白 */
}


/************* 情報テーブル *************/

.table_center,/* 見出し中央寄せテーブル */
.table_left /* 見出し左寄せテーブル */ {
    width: 100%;
    margin: 10px 0;
    padding: 0;
    border-collapse: collapse;/* セルの間に隙間を空けない */
    boder: 1px solid #000000;/* テーブルの枠線 */
}
/* 両テーブル共通の設定 */
.table_center th, .table_left th {
    background: #de9e5e;/* 見出しセルの背景色 */
    color: #ffffff;/* 見出しセルの文字色 */
    white-space: nowrap;/* 見出しセルのテキスト改行禁止 */
    width: 1px;/* 見出しセルの幅をテキストの長さに合わせるための設定 */
    padding: 5px 10px;/* セル内 上下 左右の隙間 */
}
.table_center td, .table_left td {
    text-align: left;
    color: #000000;
    padding: 5px 10px;/* セル内 上下 左右の隙間 */
}
/* 両テーブルの見出し設定 */
.table_center th {/* 見出しテキスト中央寄せ */
    text-align: center;
}
.table_left th {/* 見出しテキスト左寄せ */
    text-align: left;
}
/* キャプションの設定 */
caption.kihon {
    caption-side: top;/* キャプションはテーブルの上に表示 */
    text-align: left;/* キャプションの文字は左寄せ */
    color: #de9e5e;/* キャプションの文字色 */
    font-weight: bold;/* キャプションは太字で */
}

/************* 大量並列量産ボックスのデザイン *************/

/* 大量並列ボックス外側の定義 */
.boxes_wrapper {
    margin: 5px 10px;
    border: 2px solid #e34b6a;/* ボックス外側の枠線 */
}
/* 大量並列ボックス内の見出しの定義 */
#wrapper #content h3.boxes_h3 { /*（テーマのh3設定に優先設定）*/
    margin: 0;
    padding: 0.6em 0.5em;
    color: #ffffff;
    font-weight: bold;
    background: linear-gradient(to bottom, #ffc0cb, #e34b6a );/* グラデーションの上→下の定義 */
    background: -webkit-linear-gradient(top, #ffc0cb, #e34b6a );/* グラデーションの上→下の定義 */
    background: -moz-linear-gradient(top, #ffc0cb, #e34b6a );/* グラデーションの上→下の定義 */
}
#wrapper #content h3.boxes_h3:after {
    display: none;
}
/* 大量並列ボックス外側の定義 */
.boxes_contents_box {
    margin: 10px;/* コンテンツと外側ボックスの隙間 */
}
/* 大量並列ボックス内のアイキャッチ画像 */
.boxes_main_img {
    width: 100%;
    margin: 10px 0;
    text-align: center;/* 画像のセンタリング */
}
/* 大量並列コンテンツ本文用のボックス */
.boxes_main_textarea {
    width: 100%;
    margin: 10px 0;
    padding: 0;
}
/* 大量並列コンテンツその他情報用のボックス */
.boxes_extra_info {
    width: 100%;
    margin: 5px 0;
    padding: 0;
}

/*** 該当・非該当ボタンのデザイン ***/

/* ボックス内のボタン整列 */
.btn_box {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

#wrapper #content ul.cate_4btn,
#wrapper #content ul.cate_2btn {/* テーマの設定を上書き */
    display: table;
	position: relative;
    width: 100%;
	list-style-type: none;
    margin: 0;
    padding: 0;
}

/* ボタンの背景色 */
li.pickup_btn {background: #de9e5e;}/* 該当ボタンの背景色 */
li.no-pickup_btn {background: #e3e3e3;}/* 非該当ボタンの背景色 */

/* ボタンの基本形状 */
#wrapper #content .boxes_wrapper .cate_4btn li.pickup_btn,
#wrapper #content .boxes_wrapper .cate_4btn li.no-pickup_btn,
#wrapper #content .boxes_wrapper .cate_2btn li.pickup_btn,
#wrapper #content .boxes_wrapper .cate_2btn li.no-pickup_btn {/* テーマの設定を上書き */
    display: table-cell;
    padding: 4px;
	border: 2px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
	font-size: 80%;
	line-height: 2.0em;
    font-weight: bold;
	text-align: center;
}
#wrapper #content .cate_4btn li:last-child ,
#wrapper #content .cate_2btn li:last-child {/* テーマの設定を上書き */
    padding-bottom: 4px;
}

/* ボタンの幅設定 */
.cate_4btn li.pickup_btn,
.cate_4btn li.no-pickup_btn {
    width : 25%; /* 未対応ブラウザ用フォールバック */
    width : -webkit-calc(100% / 4);
    width : calc(100% / 4);
}
.cate_2btn li.pickup_btn,
.cate_2btn li.no-pickup_btn {
    width : 50%; /* 未対応ブラウザ用フォールバック */
    width : -webkit-calc(100% / 2);
    width : calc(100% / 2);
}

/*********** ランキング表示の定義 ***********/

/**** ミニテーブル　ランキング見出し用 ****/

/** ミニテーブル　全順位に共通の定義 **/
.ranking3rd th, .dendou th {
    width: 80%;
    margin: 1.5em auto;
    border-collapse: collapse;
}
.ranking3rd th, .dendou th {
    white-space: nowrap;
    width: 1px;
    font-size: 0.80em;
    font-weight: bold;
}
.ranking3rd td, .dendou td {
    background: #FFFFFF;
    text-align: left;
}
/** ミニテーブル　順位別の色定義 **/
.dendou th {/*殿堂*/
    background: #f39800;
}
.ranking3rd tr:nth-child(1) th {/*1位　金*/
    background: #F5F193;
}
.ranking3rd tr:nth-child(2) th {/*2位　銀*/
    background: #E9EAEB;
}
.ranking3rd tr:nth-child(3) th {/*3位　銅*/
    background: #F2E6D6;
}
.ranking3rd tr:nth-child(n + 4) th {/*4位以降すべて　鉄*/
    background: #FFFFFF;
}
/******************* CV用ランキングコンテンツ *******************/

/* ランキングコンテンツ外枠の設定 */
.rankst-wrap {
    max-width: 100%;
    margin: 1.0em 0;
}
/***  ランキング型のボックスと見出し  ***/

/* 殿堂入り（金銀銅より上） */
.rankid0 {
    margin: 2.0em auto;/*padding: 5px;*//*border: 5px solid #004baa;*/

}
#wrapper #content .rankst-wrap .rankid0 h2, #wrapper #content .rankst-wrap .rankid0 h3 {
    border: 3px solid #f39800;
    color: #444444;
    font-size: 1.2em;
    text-align: left;
    padding: 5px 10px 5px 60px;
    background-repeat: no-repeat;
    background-position: left center;
    background-color : transparent;
    background-image: url(https://hotyoga-portal.com/wp-content/themes/affinger5/images/oukan4.png);
}
/* ランキングBOX　全順位に共通の定義 */
.rankid {
    margin: 2.0em auto;
}
/* 全順位の共通定義 */
#wrapper #content .rankst-wrap .rankid h2, #wrapper #content .rankst-wrap .rankid h3 {
    color: #444444;
    font-size: 1.2em;
    text-align: left;
    padding: 5px 10px 5px 60px;
    background-repeat: no-repeat;
    background-position: left center;
    background-color : transparent;
}
/* 順位ごとのカラーと王冠の設定 */

/* 金 */
#wrapper #content .rankst-wrap #gold h2, #wrapper #content .rankst-wrap #gold h3 {
    border: 3px solid #F5F193;
    background-image: url(https://hotyoga-portal.com/wp-content/themes/affinger5/images/oukan1.png);
}
/* 銀 */
#wrapper #content .rankst-wrap #silver h2, #wrapper #content .rankst-wrap #silver h3 {
    border: 3px solid #E9EAEB;
    background-image: url(https://hotyoga-portal.com/wp-content/themes/affinger5/images/oukan2.png);
}
/* 銅 */
#wrapper #content .rankst-wrap #bronze h2, #wrapper #content .rankst-wrap #bronze h3 {
    border: 3px solid #F2E6D6;
    background-image: url(https://hotyoga-portal.com/wp-content/themes/affinger5/images/oukan3.png);
}
/* 鉄(4位・5位) */
#wrapper #content .rankst-wrap #iron1 h2, #wrapper #content .rankst-wrap #iron1 h3,/* 4位 */
#wrapper #content .rankst-wrap #iron2 h2, #wrapper #content .rankst-wrap #iron2 h3 {/* 5位 */
    border: 3px solid #8FB3A4;
    background-image: url(https://hotyoga-portal.com/wp-content/themes/affinger5-child/images/oukan5.png);
}


/* 全国 */
.outer {
    clear: both;
    overflow: hidden;
    padding: 1rem 0;
}
.leftside {
    float: none;
    width: 100%;
    padding: 14px 0 0;
}
.rightside {
    float: none;
    width: 100%;
    padding: 14px 0 0;
}
.table {
    display: table;
    width: 100%;
    border-top: 1px solid #ffc0cb;
    font-size: 100%;
    color: #4b3a24;
    line-height: 1.3;
}
.row {
    display: table-row;
    border-bottom: 1px solid #ffc0cb;
}
.row>div:nth-child(odd) {
    width: 40%;
}
.row>div:first-child {
    border-left: 1px solid #ffc0cb;
}
.row .item {
    display: table-cell;
    font-weight: 700;
    margin: 5px;
    padding: 14px 6px;
    background-color: #ffd3d9;
    text-align: center;
}
.row>div {
    display: table-cell;
    margin: 5px;
    padding: 14px;
    background-color: #fff;
    border-bottom: 1px solid #ffc0cb;
    border-right: 1px solid #ffc0cb;
    text-align: center;
    vertical-align: middle;
}

@media only screen and (min-width: 480px) {
.leftside {
    float: left;
    width: 48%;
    padding: 16px 0;
}
.rightside {
    float: right;
    width: 50%;
    padding: 16px 0;
    margin: 0;
    overflow: hidden;
}
}


/* 地域別ページ一覧を日本地図で表示（新） */
table#clickable_japan {
	border-collapse: separate;
	border-style: solid;
	border-width: 0;
	background-color: #fff;
}
#clickable_japan td {
	margin: 0;
	padding: 0;
	color: #000000;
	border-style: solid;
	border-width: 1px;
	border-color: #fff;
	background-color: #fff;
	width: 45px;
	height: 24px;
	line-height: 16px;
	vertical-align: middle;
}
td#hokkaido {
	width: 91px;
	height: 49px;
}
td.colspan_2	{ width: 91px !important; }
#clickable_japan a {
	text-decoration: none;
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	margin: 1px;
	padding: 1px 0;
	font-size: 14px;
}
#clickable_japan a {
  color: #000;
  text-shadow: #fff 2px 0px,
  #fff -2px 0px,
  #fff 0px -2px,
  #fff 0px 2px,
  #fff 2px 2px,
  #fff -2px 2px,
  #fff 2px -2px,
  #fff -2px -2px,
  #fff 1px 2px,
  #fff -1px 2px,
  #fff 1px -2px,
  #fff -1px -2px,
  #fff 2px 1px,
  #fff -2px 1px,
  #fff 2px -1px,
  #fff -2px -1px;
  text-decoration:none;
}

a.hokkaido	{ background-color: #a0a0ff; }
a.touhoku	{ background-color: #a0d0ff; }
a.kantou	{ background-color: #9ef7d5; }
a.chubu		{ background-color: #c0ff80; }
a.kinki		{ background-color: #f3f972; }
a.chugoku	{ background-color: #ffc080; }
a.shikoku	{ background-color: #ffc0c0; }
a.kyushu	{ background-color: #ffc0ff; }
