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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*1カラム調整*/
@media screen and (min-width:1024px){
.article{
width:780px;margin:0 auto;}
}
@media screen and (min-width:768px){
.pager-post-navi a.prev-post{
width:80%;
margin-left:auto;margin-right:auto;}
}
@media screen and (min-width:768px){
.pager-post-navi a.next-post{
width:80%;
margin-left:auto;margin-right:auto;}
}
.article h2 {
    font-size: 24px;
    padding: 18px;
    background-color: #002610;
    border-radius: 2px;
	color: #FFF;
}
.article h3 {
  color: #042;
  background-image: linear-gradient(-45deg, #fff 25%, #f5f5f5 25%, #f5f5f5 50%, #fff 50%, #fff 75%, #f5f5f5 75%, #f5f5f5);
  background-size: 4px 4px;
  border-left: 7px solid #002610;
}
.article h4 {
	color: #042;
    position: relative;
    padding: 0.4em;
	border-left: 8px solid #042;
	border-top: none !important;
    border-bottom: none !important;
	margin-bottom: 0.62em !important;
    line-height: 1.5 !important;
}
.marker-under {
    font-weight: bold;
}
.orange-under {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #ffdacb 60%);
}
.sup2 {
    font-size: 12px;
}
.sup {
    font-size: 12px;
    margin-top: -20px;
}
.promofor {
    color: #838383;
    font-size: 14px;
    text-align: right;
	margin-bottom: 13px;
}

figcaption {
    text-align: center;
    margin-top: -20px;
}
/************************************
****　リストタグ
************************************/

.entry-content ul {
  padding: 0em 1em 0em 1.8em;
  position: relative;
}

.entry-content ul li {
  list-style-type: none!important;
}

.entry-content ul li:before {
  font-family: "FontAwesome";
  content: "\f0da";
  position: absolute;
  left : 1em; /*左端からのアイコンまで*/
  color: gray; /*アイコン色*/
}
/************************************
****　著者情報
************************************/
.author-widget-name {
    margin-bottom: 8px;
    text-align: center;
    color: #5a9593;
    font-weight: bold;
}
.author-description {
    font-size: 15px;
}
.author-description p{
    line-height: 1.7;
}
/************************************
****　目次
************************************/

.article .toc-list > li li {
  list-style: none;
}
.toc-list > li li {
  list-style: none;
}

.toc-list > li li ::before {
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  left: -15px;
  border-radius: 100%;
  background: #cdcdcd;
  position: relative;
  margin-bottom: 2px;
 }
.nwa .toc {
    font-size: 15px;
}
.toc-list > li a {
font-weight: bold;
}
.toc-list > li li a {
font-weight: normal;
}
.author-widget-name{
  margin-bottom: 8px;
}
.widget-single-content-bottom-title{
  text-align: center;
  font-weight: 700;
  color: #67a9a9;
}
.center {
  text-align: center;
}
.price {
  color: #f75669;
  font-size: 18px;
  font-weight: 700;
}
/************************************
****　テーブル
************************************/
.entry-content table {
	font-size: 15px;
}

table th, table td {
    border: 1px solid #ced1d6 !important;
	padding: 6px;
    line-height: 1.6em;
}

table th {
    background-color: #f5f5eb !important;
	font-weight: 500;
}
/*スクロールテーブル*/
/*---------- スクロール可能なテーブル関連のCSS ----------*/
.table_box {
    display: block;
    overflow: auto;
}

.table_box th,
.table_box td {
    white-space: nowrap;
}

/* スクロールバー全体を対象にする */
.table_box::-webkit-scrollbar {
    width: 10px; /* スクロールバーの幅 */
    height: 10px; /* スクロールバーの高さ */
}

/* スクロールバーの背景部分をカスタマイズ */
.table_box::-webkit-scrollbar-track {
    background: #f1f1f1; /* スクロールバーの背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分をカスタマイズ */
.table_box::-webkit-scrollbar-thumb {
    background: #888; /* スクロールバーの操作部分の背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分にホバーした時のスタイル */
.table_box::-webkit-scrollbar-thumb:hover {
    background: #555; /* ホバー時のスクロールバーの操作部分の背景色 */
}
.fixed01,
.fixed02{
  position: sticky;
  top: 0;
  left: 0;
  color: #333;
  background: #333;
  &:before{
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
  }
}
.fixed01{
  z-index: 2;
}
.fixed02{
  z-index: 1;
}
.sclok {
    font-size: 13px;
    line-height: 1.3em;
     margin-bottom: 13px;
}

/*ランキングボタン*/
.ranking-button {
  margin-bottom: 60px;
}
.ranking-button a {
  width: 48%;
  text-align: center;
  display: block;
  padding: 15px 20px;
  border: 1px solid #a0a0a0;
  border-bottom: 4px solid #a0a0a0;
  border-radius: 5px;
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 700;
  position: relative;
}
.ranking-button a:first-child {
  float: right;
  border: #058d62 solid 1px;
  background: -webkit-linear-gradient(top, #02bb81 0%, #05b17b 100%);
  background: linear-gradient(to bottom, #02bb81 0%, #05b17b 100%);
  border-bottom: 4px solid #058d62;
  color: #fff;
}
.ranking-button a::after {
  font-family: "fontawesome";
  content: '\f054';
  position: absolute;
  color: #a0a0a0;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.ranking-button a:first-child::after {
  color: #fff;
}
.ranking-button a:hover {
  opacity: 0.8;
}

/*公式リンクボタン*/
a.cv-button {
  text-decoration: none;
  display: block;
  width: 80%;
  max-width: 400px;
  font-size: 16px;
  text-align: center;
  padding: 12px 10px;
  background: -webkit-linear-gradient(top, #02bb81 0%, #05b17b 100%);
  background: linear-gradient(to bottom, #02bb81 0%, #05b17b 100%);
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-weight: 700;
  box-shadow: 0 3px 0 #058d62;
  margin: 0 auto 2.5em;
}
a.cv-button:hover {
  opacity: 0.7;
  color: #fff !important;
}
/* タイトル付枠*/
.kakomi-box {
 position: relative;
 margin: 2em auto;
 padding: 0 1.2em;
 background-color: #fff; /* 背景色 */
 border: 1px solid #555555; /* 枠線の太さ・色 */
 width: 90%;
}
.title-box {
 position: absolute;
 padding: 0 .5em;
 left: 20px;
 top: -15px;
 background-color: #fff; /* タイトル背景色 */
 font-weight: bold;
}
.gray_box {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

  /* 以下任意のスタイル */
  padding: 1.3em 1.2em 0;
  border: 1px solid #f0f0f0;
  margin-bottom: 2em;
}
.bule_box {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #e2f6fd calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #e2f6fd calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  background-color: #ffffff;
  border: 1px solid #acd9f3;
  margin-bottom: 2em;

  /* 以下任意のスタイル */
  padding: 1.3em 1.2em 0;
}
.pink_box {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #fff3fa calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #fff3fa calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  background-color: #fff;
  border: 1px solid #ff6fb2;
  margin-bottom: 2em;

  /* 以下任意のスタイル */
  padding: 1.3em 1.2em 0;
}
.badge {
    padding: 1px 5px 2px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
.article h2 {
    font-size: 20px;
    padding: 15px;
}
.article h3 {
    font-size: 18px;
}
.author-widget-name {
    font-size: 16px;
}
.author-description {
    font-size: 14px;
}
.author-description p{
    line-height: 1.5;
}
.scrollable-table th, .scrollable-table td {
    min-width: 10em;
}
.kakomi-box {
    margin: 2em auto;
    padding: 0 0.2em;
    width: 95%;
}
.bule_box,.gray_box,.pink_box {
  padding: 1.3em 0.2em 0;
}
.entry-content table td {
    background: #FFF;
	border-collapse: collapse; /* 1pxにする */
}
.column_header-right {
  display: none !important;
}
.column_header_logo {
  max-width: 180px !important;
}
}

/************************************
** ▼COLUMN用設定
************************************/

/* header */

@media screen and (max-width: 1023px) {
  body:where(.mblt-header-mobile-buttons, .mblt-header-and-footer-mobile-buttons) {
    margin-top: 0;
  }
}
.column_header {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}
.column_header-left,.column_header-right {
  display: flex;
  align-items: center;
}
.column_header_logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  max-width: 345px;
  width: 60%;
}
.column_header_logo img {
  width: 100%;
  height: auto;
}
.column_header_detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: bold;
  word-break: keep-all;
  font-size: min(2.3vw,.7rem);
}
.column_header_detail span:nth-of-type(1) {
  padding: 0 5px;
  border: 1px solid #000;
  margin-bottom: 0.4em;
}
.column_header_detail span:nth-of-type(2) {
}
.din-bold {
}
.column_header_menu {

}
.column_header_menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-left: 0;
}
.column_header_menu ul li {
  line-height: min(3.4vw,3rem);
  padding-left: max(0.5vw, 10px);
}
.column_header_menu ul li a {
  font-size: min(2.6vw,.9rem);
  text-decoration: none;
  color: #000;
}

/* footer（元サイトからコピーして調整） */
/* !!------------------------------------ */
/* !! footer */
.footer {
    color: #fff;
    text-align: center;
    background: #002610;
    padding: 60px 0;
    min-height: 100%;
    font-size: 10px;
}
.footer a {
    text-decoration: none;
}
.footer .txt {
    font-size: 1rem;
    letter-spacing: .12em;
    display: flex;
    justify-content: center;
}
.footer .txt span:nth-child(2) {
    margin: 0 0.5em;
}
.footer .txt a::after{
    content: "";
    width: 13px;
    height: 13px;
    display: inline-block;
    margin-left: 10px;
    background: url("https://agamedical.co.jp/wp-content/themes/agaclinic/common/img/icon_link.svg") no-repeat center bottom;
    background-size: 100%;
}
.footer .logo {
    width: 254px;
    height: auto;
    margin: 25px auto 30px auto;
    display: block;
}
.footer .copy {
    font-size: 1.2em;
    letter-spacing: .22em;
}
.footer_link{
    margin:30px auto 10px;
}
    @media screen and (max-width: 767px) {
        .footer {
            display: flex;
            flex-direction: column;
            padding: 0 0 30px;
        }
        .footer .txt {
            font-size: .8rem;
            flex-direction: column;
            order: 2;
            margin-bottom: 30px;
        }
        .footer .txt span {line-height: 1.4;}
        .footer .txt span:nth-child(2) {margin: 0; }
        .footer .logo {
            width: 45.6vw;
            order: 1;
            margin: 0 auto 15px auto;
        }
        .footer .txt span.sp_non{display:none;}
        .footer .copy {
            font-size: 2.3vw;
            order: 3;
            padding: 0 20px;
        }
		.column_header_detail {
  font-size: 11px;
}
    }
/* !!------------------------------------ */