/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
/************************************
** 横長テーブル
************************************/
.p-sticky-table{
  white-space: nowrap;
  line-height:1.6;
}
.p-sticky-table table{
  border:none;
  border: 1px solid #dedede;
  border-bottom: none;
  border-collapse: collapse;
  word-break: break-all;
  table-layout: fixed;
  display:block;
  overflow:scroll;
  max-height: 80vh;
}
.p-sticky-table thead th:first-child {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
}
.p-sticky-table thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  text-align:center;
}
.p-sticky-table tbody th:first-child{
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
  border:none;
  white-space: normal;
  min-width: 130px;
}
.p-sticky-table th, .p-sticky-table td {
  min-width: 50px;
  text-align: left;
  font-size: 16px !important;
  position: relative;
  padding: 13px !important;
  color: #333;
  border: none !important;
  z-index: 0;
  vertical-align:middle !important;
  background:#fff;
}
.p-sticky-table th{
  background:#f0f9ff !important;
  letter-spacing: 1px;
  font-weight: 500 !important;
  color: #555 !important;
}
.p-sticky-table tr{
  border-bottom:none !important;
}
.p-sticky-table img{
  margin: 10px auto;
  display: block;
  padding: 0;
  max-width: 80% !important;
}
.p-sticky-table table th::before, .p-sticky-table table td::before {
  content: """";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  z-index: -1;
}
/* スマホ */
@media screen and (max-width: 560px) {
  .p-sticky-table table {
    max-height: 60vh;
    }
  .p-sticky-table thead th:first-child, .p-sticky-table tbody th:first-child {
        min-width: 25vw;
    }
   .p-sticky-table th, .p-sticky-table td {
        font-size: 12px !important;
        padding: 7px !important;
    }
}
/* 中央寄せ */
.pst-center td {
  text-align: center;
}

/*テーブルの横スクロールのためのCSSはここから*/
 table{ 
    width:100%;
}
.scroll{
    overflow: auto;
    white-space:nowrap;
}
.scroll::-webkit-scrollbar{
    height: 15px;
}
.scroll::-webkit-scrollbar-track{
    background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb{
    background: #bbb;
}
 /*テーブルの横スクロールのためのCSSはここまで*/
 /*参照先：「ジュンイチのデジマブログ」さん*/

/*ヘッダーここから*/
.dotted {
   border-bottom: 1px dashed white;
}

.menu{
border: 2px dashed white;
}
/*ヘッダーここまで*/

/*テンプレートボタンここから*/
.btn-square {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}
.btn-square:hover {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}
/*テンプレートボタンここまで*/

/** 記事本文内の行間を調整 */
p {
  margin-top: 0;
  margin-bottom: 0.5em;
}

/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn--orange {
  color: #fff;
  background-color: #eb6100;
  border-bottom: 5px solid #b84c00;
}
a.btn--orange:hover {
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid #b84c00;
}
a.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

/*--------------------
 オリジナルのフレーム
--------------------*/
.frame {
 width: 80%;
 margin: 30px auto 20px;
 padding: 30px 20px 0;
 border: 3px solid #aaa;
 position: relative;
 border-radius: 3px;
 background-color: #fff;
}
.frame-title {
 position: absolute;
 top: -13px;
 left: 20px;
 padding: 0 5px;
 background-color: #fff;
}
.frame-title .fa {
 margin-right: 5px;
}
.caution {
 background-color: #ff4500;
 border: 2px solid #ff4500;
 color: #fff;
 border-radius: 3px;
}
.frame-red {
 border-color: #ff4500;
}

/*-----------------
あわせて読みたいCSS
-----------------*/
.emphasize-link-tab {
  position: relative;
  margin: 15px 0 16px;
  padding: 16px 10px;
  border: 2px solid #ee7917;
  background-color: #fffbf5;
}

.emphasize-link-tab p:last-child {
  margin-bottom: 0;
}

.emphasize-link-tab::before {
  font-family:  'Font Awesome 5 Free' ;
  position: absolute;
  bottom: 100%;
  left: -2px;
  padding: 2px 6px;
  content: ""\f27a あわせて読みたい"";
  background-color: #ee7917;
  color: #fff;
  font-weight: bold;
  border-radius: 6px 6px 0px 0px;
}

.emphasize-link-tab a::after {
  font-family:  'Font Awesome 5 Free' ;
  content: ""\f08e"";
  color: #0044cc; /*リンクの色と同じにする*/
}

.emphasize-link-tab a:hover:after {
  color: #b22222; /*リンクにホバーしたときの色と同じにする*/
}
/*-------
ここまで
-------*/

/*-----------------
レビュー用あわせて読みたいCSS
-----------------*/
.emphasize-link-tab-rv {
  position: relative;
  margin: 15px 0 16px;
  padding: 16px 10px;
  border: 2px solid #176dee;
  background-color: #f5ffff;
}

.emphasize-link-tab-rv p:last-child {
  margin-bottom: 0;
}

.emphasize-link-tab-rv::before {
  font-family:  'Font Awesome 5 Free' ;
  position: absolute;
  bottom: 100%;
  left: -2px;
  padding: 2px 6px;
  content: ""\f27a あわせて読みたい"";
  background-color: #176dee;
  color: #fff;
  font-weight: bold;
  border-radius: 6px 6px 0px 0px;
}

.emphasize-link-tab-rv a::after {
  font-family:  'Font Awesome 5 Free' ;
  content: ""\f08e"";
  color: #0044cc; /*リンクの色と同じにする*/
}

.emphasize-link-tab-rv a:hover:after {
  color: #b22222; /*リンクにホバーしたときの色と同じにする*/
}
/*-------
ここまで
-------*/

/*-------
行間ここから
-------*/
.entry-content p {
    line-height: 1.75;
    margin: 0.7em 0;
}
/*-------
ここまで
-------*/

h1 {
	font-size: 24px;
}

.bold {
  font-weight: 700;
}

.gray {
	background-color: #f5f5f5;
	padding: 5px;
}

.box-sky-blue {
	background-color: #dbffff;
	padding: 5px;
}

/* .content a{
  color: #1a0dab !important;
  text-decoration: underline;
} */