@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* テーブルデザイン */
/* .post_content table{
    border-collapse: separate;
    border-spacing: 3px;
    width: 100%;
    font-size: 14px;
}

.post_content table th, .post_content table td{
  text-align: center;
  padding: 10px;
}

.post_content td:last-child, .post_content th:last-child {
    border: none;
}

.post_content table th{
  background-color: #006a6c;
  color: white;
}

.post_content td.column-1 {
    color: #fff;
    background: #5d9b9b;
    text-align: left;
}

.post_content table td {
    background: #f2f2f2;
}

.post_content tbody td, .post_content tfoot th {
    border: none;
    vertical-align: middle;
}

.post_content tr:last-child>td {
    border-bottom: none;
}

.tablepress thead th {
    border-bottom: none;
}

a.table {
    color: #fff;
    text-decoration: underline;
} */

/* テーブルスクロール */
    div.scroll {
    overflow: scroll;
    white-space: nowrap;
}

/* テーブルの一列目を固定 */
/*   td.column-1, th.column-1 {
  position: sticky;
  left: 0;
  z-index: 1;
  &:before{
    content: "";
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
  }
} */

/* アフィボタン ここから */
.afib a {
    display: block;
    border-radius: 40px;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 16px 24px;
    position: relative;
    background: linear-gradient(90deg, rgba(255,112,30,1) 0%, rgba(255,191,48,1) 50%, rgba(255,77,48,1) 100%);
    background-size: 200% 100%;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}
.afib a:before {
    content: "";
    display: block;
    position: absolute;
    right: 14px;
    top: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    margin: auto;
    border-radius: 50%;
}
.afib a:after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: rotate(45deg);
    display: inline-block;
    position: absolute;
    right: 27px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
@media (max-width: 428px){
.afib a {
    font-size: 1em;
    padding: 16px 40px 16px 40px;
}
.afib a:before {
    right: 12px;
    width: 24px;
    height: 24px;
}
.afib a:after {
    width: 6px;
    height: 6px;
    border-top: 2px solid;
    border-right: 2px solid;
    right: 22px;
}
.sp-radius {
    border-radius: 40px;
}
}
@media (min-width: 769px){
.afib a:hover {
    background-position: 100% 0;
}
}
/* アフィボタン ここまで */

/* LINEのアフィボタン */
.afib.line a {
    background: linear-gradient(90deg, #02C755 0%, #1bcc66 50%, #4dd788 100%);
}

/* テーブル内ボタン */
.table-button a {
    width: 100%;
    color: #fff;
    display: block;
    padding: 8px 16px;
    letter-spacing: 1px;
    border-radius: 34px;
    background: linear-gradient(90deg, rgba(255, 112, 30, 1) 0%, rgba(255, 191, 48, 1) 50%, rgba(255, 77, 48, 1) 100%);
    background-size: 200% 100%;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    position: relative;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

/* 記事内バナー */
.circle-toys {
    border: solid 3px #eeeeee;
    box-shadow: 0 0 6px 3px #eeeeee;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 2em auto;
    font-size: 1em;
    line-height: 1.8;
}

.circle-toys-inner {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 450px;
    margin: 0px auto;
    padding: 40px 20px;
}

.ad-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.ad-banner {
    text-align: center;
}

.ad-title:before {
    content: "";
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    /* transform: rotate(-30deg); */
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: #333333 transparent transparent transparent;
    margin: 0 10px -8px 0;
}

.ad-title:after {
    content: "";
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: #333333 transparent transparent transparent;
    margin: 0 0 -8px 8px;
}

.circle-toys ul {
    margin: 30px 0px;
}

.circle-toys li:before {
    color: #fd5492;
}

.circle-toys-button {
    display: block;
    text-align: center;
}

.circle-toys-button a {
    width: 100%;
    color: #fff;
    display: block;
    padding: 16px;
    letter-spacing: 2px;
    border-radius: 34px;
    background: linear-gradient(to right, #fd5492 0%, #f47f77 74%);
    background: -webkit-linear-gradient(left, #fd5492 0%, #f47f77 74%);
    background-size: 200% 100%;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    position: relative;
    font-weight: bold;
    box-shadow: 0 3px 5px rgb(0 0 0 / 30%);
    text-decoration: none;
}

.circle-toys-button a:after {
    content: "\e921";
    font-family: icomoon;
    position: absolute;
}

/* 赤字 */
span.red {
    color: #ff0000;
    font-weight: bold;
}

/* 強調マーカー */
strong {
    background-image: linear-gradient(transparent 60%, #ffe9b9 60%);
}


/* ボックスタイトルを太字にする */
.cap_box_ttl {
    font-weight: bold;
}

/* PCでは非表示 */
@media (min-width: 768px) {
.sp-only {
    display: none;
}
}

/* トップページのキャッチコピー */
@media (min-width: 600px) {
.p-mainVisual__slideTitle {
    font-size: 50px;
}
}

/* h2, h3下の余白 */
.post_content h3 , .post_content h2{
    margin-bottom: 1em;
}

/* ボタンの縦幅調整 */
/* [class*=is-style-btn_] a {
    line-height: 2;
} */

/* プロフィール情報 */
.p-authorBox__r ul {
    text-align: left;
    line-height: 0.5em;
}

.p-authorBox__r li:before {
    position: initial;
    display: initial;
    margin-right: 8px;
}

p.p-authorBox__desc.u-thin {
    text-align: left;
}

.p-authorBox__r li {
    line-height: 1;
}

/* ウィジェット欄 */
.textwidget ul {
    text-align: left;
    line-height: 1em;
}

.textwidget li:before {
    position: initial;
    display: initial;
    margin-right: 8px;
}

/* リストのデザイン調整 */
.is-style-check_list li:before {
    color: var(--capbox-color);
}

.cap_box[data-colset="col2"] li:before {
    color: var(--capbox-color);
}

.cap_box[data-colset="col3"] li:before {
    color: var(--capbox-color);
}

.post_content li, .widget_text li {
    line-height: 1.6;
}

/* 引用元デザイン */
p.quote {
    color: #aaaaaa;
    font-size: 0.8em;
    margin-top: -20px;
}

p.quote a {
    color: #aaaaaa;
    text-decoration: none;
}

/* アフィブロックここから */
.afi-block {
    border: 5px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.05);
    padding: 30px 10px 30px;
    text-align: center;
    font-weight: bold;
}

.afi-block > span {
    display: block;
}

.afi-block>span::before {
    content: "";
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    /* transform: rotate(-30deg); */
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: #da0f1b transparent transparent transparent;
    margin: 0 10px -8px 0;
}

.afi-block>span::after {
    content: "";
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: #da0f1b transparent transparent transparent;
    margin: 0 0 -8px 10px;
}

.afi-button-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 ;
    margin-top: 10px ;
    padding: 0 ;
    background-color: #fff ;
    list-style-type: none ;
    font-size: .9em;
}

.afi-button {
    width: calc(50% - 20px);
    height: 50px;
    line-height: 50px !important;
    margin: 10px !important;
    border-radius: 25px;
    color: #fff !important;
    position: relative;
    text-align: center;
}

.afi-button:hover {
    opacity: .75;
    transition: .3s;
    cursor: pointer;
}

.afi-button:first-child {
    margin-top: 20px;
}

.afi-button::after {
    content: ">";
    color: #fff;
    position: absolute;
    top: -1px;
    right: 20px;
    transition: .3s;
}

.afi-button:hover::after {
    right: 15px;
}

.afi-button>a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none !important;
}

@media screen and (max-width:750px) {
	.afi-button {
        width: calc(100% - 20px);
    }
}

.afi-button .widget_text li {
    line-height: 50px;
}
/* アフィブロックここまで */

/* アフィブロックの色変更ここから */
.afi-button.shinkenzemi {
    background: #039BE5;
}

.afi-button.smilezemi {
    background: #D80C24;
}

.afi-button.studysapuri {
    background: #3EC1BD;
}

.afi-button.zkai {
    background: #003B83;
}

.afi-button.toysub {
    background: #ED687B;
}

.afi-button.chachacha {
    background: #9E3C8F;
}

.afi-button.toybox {
    background: #1D2D61;
}

.afi-button.circle {
    background: #00B7EE;
}
/* アフィブロックの色変更ここまで */

/* メリデメボックス */
.merit-box, .demerit-box {
    margin: 2em auto;
    background-color: #fff;
    padding: 2em;
    position: relative;
}

.merit-box .box-title, .demerit-box .box-title {
    background-color: #fff;
    font-size: 1em;
    font-weight: 800;
    padding: 0 5px;
    line-height: 1;
    position: absolute;
    top: -5px;
    left: 20px;
}

.merit-box {
    border: 2px solid var(--color_list_good);
}
.demerit-box {
    border: 2px solid var(--color_list_bad);
}
.merit-box .box-title {
    color: var(--color_list_good);
}
.demerit-box .box-title {
    color: var(--color_list_bad);
}

@media screen and (min-width: 481px) {
.yokonarabi {
    display: flex;
}
.yokonarabi > .merit-box {
    width: 50%;
    margin: 0 10px 0 0;
}
.yokonarabi > .demerit-box {
    width: 50%;
    margin: 0 0 0 10px;
}
}

/* マイクロコピー */
.microcopy {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}

.microcopy:before {
    content: "";
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    /* transform: rotate(-30deg); */
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: red transparent transparent transparent;
    margin: 0 10px -8px 0;
}

.microcopy:after {
    content: "";
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    display: inline-block;
    border-style: solid;
    border-width: 25px 4px 0 4px;
    border-color: red transparent transparent transparent;
    margin: 0 0 -8px 8px;
}

/* PR表記のデザイン調整 */
.c-prNotation[data-style=big] {
    display: inline-block;
    padding: 5px 10px;
    margin: 20px 0 -12px;
    font-size: 0.8rem;
}

/* 色付き文字を太字にする */
span.swl-inline-color {
    font-weight: bold;
}

/* テキストリンクのデザインを変える */
.post_content a:not(.p-toc__link):not(.swell-block-button a):not(table a):not(.afib a):not(.quote a):not(.yyi-rinker-box a):not(.circle-toys a):not(.p-blogCard a):not(a:has(img)) {
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
}

/* 中央寄せ */
.center {
    text-align: center;
}

/* インラインボタンを少し大きく */
.swl-inline-btn a {
    padding: .8em 1.5em;
}

/* サークルトイズのRinkerボタン色変更 */
ul.yyi-rinker-links li.freelink1 a {
    background-color: #4ecaab !important;
}

/* Table Pressのデザイン変更 */
.tablepress {
    font-size: 0.8em;
}

.tablepress th {
    border: 1px solid #dcdcdc;
}

.tablepress>*+tbody>*>*, .tablepress>tbody>*~*>*, .tablepress>tfoot>*>* {
    border: 1px solid #dcdcdc;
}

.tablepress td.column-1 {
    background-color: #9696960d;
}

/* テーブルデザインの修正 */
.post_content table {
    font-size: 0.8em;
}

/* お知らせバーの文言が長い際に左右に余白を追加 */
.c-infoBar__text {
    padding: 8px 8px;
}

/* パンくず上のバナー */
.eduquest-header-banner {
    margin: 10px 0;
}

/* パンくず上のボタン（SPのみ） */

/* デフォルトはPC含め非表示 */
.eduquest-sp-account-links {
  display: none;
}

/* スマホだけ表示（幅はお好みで調整） */
@media screen and (max-width: 768px) {
  .eduquest-sp-account-links {
	display: flex;
	gap: 8px;
    margin: 12px 6px 16px;
}

  .eduquest-sp-account-link {
	flex: 1 1 0;
	display: flex;               /* 追加 */
	align-items: center;         /* 縦中央揃え */
	justify-content: center;     /* 横中央揃え */
	padding: 10px 0;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	line-height: 1.3;            /* 好みで 1 ～ 1.3 くらい */
}

/* 会員登録ボタン（青） */
  .eduquest-sp-account-link.-entry {
	background: #3580bd;
	color: #fff;
}

/* ログインボタン（白抜き） */
  .eduquest-sp-account-link.-login {
	background: #fff;
	color: #3580bd;
	border: 2px solid #3580bd;
}
}
