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

/* カスタマイズする場合にはこれより下に追記してください */

/* サイト詳細情報テーブル */
table {
margin-top: 20px;
width: 100%;
border-top: 1px solid #E5E5E5;
border-left: 1px solid #E5E5E5;
font-size: 1.0rem;
}

//* サイト詳細情報テーブル下のボタン */
.btn__link {
  display: block;
  position: relative;
  width: 80%;
  padding: 25px 0;
  margin: 30px auto;
  background: linear-gradient(#11ab65, #0a7745); /* 緑に変更 */
  box-shadow: 0 3px 0 0 rgba(10, 50, 30, 0.25);
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.2s ease;
}

/* 口コミ表示デザイン */
.glsr-review {
border: 1px solid #eee;
padding: 10px;
margin-bottom: 1em;
}

/* ボタンCSS */
.button2 {
color: #fff; /* 文字を白にして視認性アップ */
font-size: 20px;
font-weight: bold;
background: #11ab65; /* 緑に変更 */
padding: 18px 30px;
border: 3px solid #0a7745;
box-shadow: 0 5px 0 #0a7745;
border-radius: 6px;
display: inline-block;
transition: .3s;
}
/* マウスホバー時に文字色が変わらないように固定 */
.button_wrapper a.button2:hover {
color: #fff;
}

/* --------- 230922 UI改善 start ---------- */
#header .header_small_menu {
background-color: #004363;
}

#header .header_small_menu .header_small_content #description {
float: none;
text-align: center;
}

#header .firstview_custom {
background: #4086c1;
}

#header .firstview_custom img.pc {
display: block;
padding-top: clamp(2rem, 4vw, 4rem);
padding-right: clamp(1rem, 5vw, 5rem);
padding-bottom: clamp(2rem, 3vw, 3rem);
margin-right: auto;
margin-left: auto;
width: min(95%,1160px);
}

#header .firstview_custom img.sp {
display: none;
padding-top: clamp(2rem, 4vw, 4rem);
padding-bottom: clamp(2rem, 3vw, 3rem);
margin-right: auto;
margin-left: auto;
width: min(95%,542px);
}

#header .header-wrap {
box-shadow: none;
}

.header_message {
padding-top: clamp(0.5rem, 1vw, 1rem);
padding-bottom: clamp(0.5rem, 1vw, 1rem);
}

#logo a:hover {
transform: translateY(0);
}

#header #onlynav ul li a {
color: #333333;
padding: 1.1em 1.3em;
}

#header #onlynav ul li a:hover {
color: #fff;
transform: translateY(0);
background-color: #004363;
}

#header #onlynav ul>li:hover>a:hover, #onlynav ul>li:hover>a, #onlynav ul>li:hover li:hover>a, #onlynav ul li:hover ul li ul li:hover>a {
color: #fff;
background-color: #004363;
}

.header-logo #nav ul li:hover,
#onlynav ul li:hover,
#nav_fixed #nav ul li:hover {
color: #fff;
background-color: #004363;
}

#header #onlynav ul>li:hover>a:hover,
#header #onlynav ul>li:hover>a,
#header #onlynav ul>li:hover li:hover>a,
#header #onlynav ul li:hover ul li ul li:hover>a {
background-color: #004363;
color: #fff;
}

#bfb_content_pc.bfb_view_pc .inner_bfb a.bfb_btn {
background: #d00a0a;
font-size: 1.2em;
}

#bfb_content_sp.bfb_view_sp .inner_bfb a.bfb_btn {
background: #d00a0a;
}

#bfb_content_pc.bfb_view_pc .inner_bfb a.bfb_btn svg.bfb_icon {
margin-left: 15px;
}

#page-main .pagination .navigation {
padding: 1.5rem 1rem;
}

#page-main .navigation .nav-links {
width: 100%;
}

#page-main .navigation .nav-links .next {
margin-left: 1rem;
}

#page-main .navigation .nav-links .prev {
margin-right: 1rem;
}

#page-main .rank_minih {
margin-bottom: 1rem;
}

#sidebar .pagination .navigation {
padding: 1rem 0.5rem;
}

#sidebar .pagination .navigation .nav-links {
width: 100%;
}

#sidebar .pagination .navigation .nav-links a.page-numbers {
color: #fff;
padding: 12px 18px;
margin: 6px 3px;
}

#main-wrap .pagination .current {
background: #395f71;
}

#main-wrap .pagination a.page-numbers {
background: #75787b;
}

#main-wrap .pagination .navigation .nav-links a:hover {
color: #fff;
opacity: 0.8;
transform: translateY(0);
}

#sidebar .diver_widget_profile .button a {
padding: 1em 0.3em;
width: 90%;
}

body #bigfooter {
background: #004363;
}

html body {
background-color: #eaf4f5;
}

.diver_af_ranking_wrap {
margin: 15px 0 100px;
}

.rank_desc_wrap {
padding: 10px 0 30px;
}

.rank_desc_wrap .rank_desc {
width: 61%;
}
.single_thumbnail img {
width: 100%;
}

#main-wrap {
margin: 40px auto;
}

#main-wrap .catpage_content_wrap .cover {
background: url(http://toushikomon-hikaku.com/wp-content/uploads/2023/09/common_bg.jpg) no-repeat center /cover;
}

.single-post-main {
padding: 40px;
}

.content .voice {
margin-bottom: 2rem;
}

.catpage_content_wrap .cover {
filter: blur(0px) brightness(0.95);
}

.catpage_content_wrap .catpage_inner_content {
text-shadow: 1px 1px 0 #3f486a;
}

.button.solid a:hover {
color: #fff;
}

#page-main .content .button {
margin-bottom: 6em;
}

.mb-10,
.bigfooter_colomn .textwidget .title {
margin-bottom: 1rem;
}

.content .mb20 {
margin-bottom: clamp(1rem, 2vw, 2rem);
}

.content .mb30 {
margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.content .mb60 {
margin-bottom: clamp(4rem, 6vw, 6rem);
}

.content .mb80 {
margin-bottom: clamp(4rem, 8vw, 8rem);
}

.content #toc_container {
margin: 2em 0 5em;
}

.sc_frame_wrap {
margin-bottom: 3em;
}

.widget_post_more {
padding: 1rem;
}

.widget_post_list.grid .post_list_thumb {
padding-top: 55%;
}

.diver_af_ranking_wrap {
padding: 0;
}

#page-main .rank_minih {
background: #f9b144;
font-weight: 500;
}

#page-main .rank_minih::before {
border-top: 8px solid #f9b144;
}

#page-main h4.rank_minih {
border-bottom: none;
border-radius: 3px;
padding: 10px;
}

#page-main h4.rank_minih::after {
content: none;
}
.button a, .content .button a {
letter-spacing: 1px;
}

.content #toc_container ul.toc_list>li a {
font-size: 18px;
line-height: 1.7;
text-indent: 0;
}

.content #toc_container ul.toc_list>li ul li a {
font-size: 16px;
}

#main .pagination {
background: #fff;
box-shadow: 0 0 5px rgba(150,150,150,.2);
padding: 2rem;
width: 70%;
margin-right: auto;
margin-left: auto;
}

#main-wrap .catpage_content_wrap {
margin-bottom: clamp(10px, 3vw, 30px);
}

#main-wrap .wrap-post-title {
margin-bottom: clamp(10px, 2vw, 20px);
}

.wrap-post-box article {
margin-bottom: clamp(10px, 2vw, 20px);
}

.post-box-thumbnail__wrap:before {
padding-top: 55%;
}

.single-post-main h2 {
color: #ffffff;
background-color: #607d8b;
text-align: left;
border-radius: 5px;
width: 100%;
}

#sidebar ul.toc_widget_list li {
text-indent: -1.5em;
padding-left: 2em;
}

#sidebar ul.toc_widget_list li ul {
margin-left: 0;
}

#sidebar ul.toc_widget_list li ul li {
text-indent: 0;
padding-left: 0;
}

#sidebar .sidebar_content ul.toc_widget_list li a span {
text-indent: 0;
margin-right: 0;
}

.diver_af_ranking .rank_minih {
margin-bottom: 15px;
}

h3.rank_title, .content h3.rank_title {
font-size: 1.6em;
font-weight: bold;
vertical-align: middle;
padding: 0;
margin: 0;
line-height: 1.2;
box-shadow: none;
border-radius: 0;
border: 0;
background: 0 0;
color: inherit;
}

.button_wrapper {
text-align: center;
}

.button_wrapper a.button2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.6;
}

.button_wrapper a.button2:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

main#page-main {
line-height: 1.8;
}

/* SP */
@media screen and (max-width:1024px) {
#page-main .navigation .nav-links .next {
margin-left: 0.5rem;
}

#page-main .navigation .nav-links .prev {
margin-right: 0.5rem;
}
}

@media screen and (max-width:959px) {
.pagination .navigation {
width: 90%;
}
.pagination .current {
width: 15%;
}
.widget {
margin-bottom: 50px;
}
#sidebar .pagination .navigation .nav-links a.page-numbers {
color: #fff;
padding: 8px 0;
margin: 6px 3px;
}
#main-wrap .pagination .navigation .nav-links a.next,
#main-wrap .pagination .navigation .nav-links a.prev {
display: block;
font-size: 0.9em;
margin: 1rem auto;
width: 30%;
}
#sidebar .widget_post_list .meta .post_list_title {
font-size: 14px;
font-weight: bold;
}
}

@media screen and (max-width: 768px) {
.navigation span.current,
.navigation a {
font-size: 0.75em;
}
.rank_desc_wrap .rank_desc {
width:100%;
}
.content img.alignleft {
float: none;
margin-right: auto;
}
.rank_img img {
margin: 0 auto 20px;
}
.button a.big {
font-size: 1em;
}
.single-post-main {
padding: 20px 15px;
}
.content .sc_heading, .sc_heading {
font-size: 1.2em;
padding: 0 0 0.5em;
}
.sc_content_icon, .sc_content_icon i {
padding: 0;
}
h2 {
font-size: 1.2em;
}
.content h3 {
font-size: 1.1em;
line-height: 1.6;
padding: 0.6em;
}
.content #toc_container ul.toc_list>li a {
font-size: 15px;
}

.content #toc_container ul.toc_list>li ul li a {
font-size: 14px;
}
.content #toc_container {
border: 2px solid #6190bf;
}
ul.toc_list {
padding: 0 0.7em;
}
#toc_container .toc_list>li {
text-indent: -2em;
padding-left: 1.5rem;
margin-bottom: 15px;
}
#toc_container .toc_list>li ul {
padding: 0;
}
#main .pagination {
width: 100%;
}
.single_title, #comment-area .comment_title {
font-size: 1.2em;
font-weight: bold;
}
.widget .single_title {
margin: 0;
}
#header .firstview_custom {
background: #4086c1;
}
#header .firstview_custom img.pc {
display: none;
}
#header .firstview_custom img.sp {
display: block;
}
}

@media screen and (max-width:599px) {
.content .rank_img img.alignleft, .content .rank_img img.alignright {
margin: 0 auto 20px;
}
#sidebar .sc_article.grid>a, .sc_article.grid>a {
margin: 0 0 30px 0;
width: 100%;
}
.diver_af_ranking_wrap {
margin: 15px 0 70px;
}
.button.solid.orange a {
width: 90%;
}
#sidebar .widget_post_list.grid {
width: 100%;
}
#sidebar .widget a.clearfix {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#sidebar .widget a.clearfix .post_list_thumb {
height: 0;
padding-top: 55%;
width: 100%!important;
}
#sidebar .widget a.clearfix .meta {
padding: 0.7em 0.2em 1.2em!important;
margin-left: 0!important;
}
#sidebar .widget a.clearfix .meta .post_list_title {
margin-bottom: 0.5rem;
}
.sc_article.grid .post_list_thumb,
.sc_article.list .post_list_thumb {
height: 0;
padding-top: 55%;
}
}

@media screen and (max-width:580px) {
.rank_buy_link, .rank_more_link {
float: none;
width: 85%;
margin-right: auto;
margin-left: auto;
}
.rank_buy_link a, .rank_more_link a {
font-size: 1em;
}
#logo img, .logo img {
height: 34px;
margin: 0.5em 0;
}
#header .header-image img {
padding-right: 0;
}
#header .header_small_menu #description {
font-size: 0.85em;
padding: 0.6em 0.2em;
}
#main-wrap .pagination .navigation .nav-links a.next,
#main-wrap .pagination .navigation .nav-links a.prev {
margin: 0.5rem auto;
}
.voice .text {
width: 75%;
}
}

/* --------- 230922 UI改善 end ---------- */

/*---- 231219 AddQuicktag start ----*/
p.space_s {
margin-bottom: 60px;
}

p.space_m {
margin-bottom: 90px;
}

p.space_l {
margin-bottom: 120px;
}

@media only screen and (max-width: 768px) {
p.space_s {
margin-bottom: 30px;
}
p.space_m {
margin-bottom: 45px;
}

p.space_l {
margin-bottom: 60px;
}
}
/*---- 231219 AddQuicktag end ----*/

/*---- 240109 追従ボタンデザイン start ----*/
footer .cta_wrap {
background-color: rgba(0, 0, 0, 0.45);
font-size: 14px;
padding: 15px 10px;
position: fixed;
bottom: 0;
left: 0;
text-align: center;
margin-bottom: 0;
width: 100vw;
z-index: 99;
}

footer#footer .cta_wrap a {
background: #11ab65; /* 最初から緑 */
border-bottom: solid 3px #0a7745;
border-radius: 40px;
box-sizing: border-box;
color: #fff;
display: block;
font-size: 1.2em;
font-weight: bold;
line-height: 180%;
padding: 10px 20px;
text-shadow: 0 1px 0 #053b21;
text-decoration: none;
text-align: center;
margin: 0 auto;
max-width: 350px;
}

footer .cta_wrap a:hover {
background: #0a9354; /* 触ると少し深みのある緑に */
border-bottom: solid 3px #065e35;
color: #fff;
text-decoration: none;
}

#custom_text_widget-2 {
position: absolute;
padding: 0;
}

#custom_text_widget-2::marker {
content: none;
}

@media only screen and (min-width: 768px) {
footer #block-2 {
margin-bottom: 0;
}
}

@media only screen and (max-width: 768px) {
footer .cta_wrap {
padding: 10px;
}
footer .cta_wrap a {
font-size: 1.1em;
max-width: 280px;
}
}

/*---- 240109 追従ボタンデザイン end ----*/

/*---- 240510 見出し改修 start ----*/
#toc_area {
background: rgba(255, 255, 255, 0.5);
border: 1px solid #eee;
padding: 1em 2em 1em;
min-width: 90%;
margin: auto;
margin-bottom: 5rem;
width: 80%;
}

#toc_area #toggle-toc {
font-size: clamp(13px, 2vw, 18px);
padding-bottom: 1rem;
text-align: center;
}

#toc_area .toc_title {
font-size: 110%;
font-weight: bold;
text-align: center;
padding: 0;
margin-bottom: 0.5em;
}

#toc_area ol {
counter-reset: section;
list-style-type: none;
padding-left: 0;
margin: 0;
}

#toc_area li {
border-top: 1px dotted #ddd;
display: block;
padding-left: 1.2em;
position: relative;
}

#toc_area li::before {
background: none;
color: #111;
counter-increment: section;
content: counters(section, "-")" ";
font-size: 0.9em;
font-weight: normal;
height: auto;
position: absolute;
text-align: start;
top: 0.6em;
left: 0;
width: 2.5em;
}

#toc_area li ol li {
padding-left: clamp(1em, 1.5vw, 1.5em);
}

#toc_area li ol li::before {
left: -1em;
width: 3em;
}

#toc_area .show-area {
display: block;
text-align: center;
}

#toc_area li a {
color: #333;
display: block;
font-size: 0.9em;
padding: 0.5em 0;
text-decoration: none;
}

#toc_area li a:hover {
color: #555;
transform: translateY(0);
box-shadow: none;
}

@media only screen and (max-width: 768px) {
#toc_area {
padding: 1em;
width: 100%;
}
#toc_area ol {
padding-left: 0;
}
}

/*---- 240510 見出し改修 end ----*/

/*---- 240513 UI修正 start ----*/
.voice .sc_balloon div {
margin-bottom: 0;
}

.voice .sc_balloon,
.voice .sc_balloon div span {
font-weight: bold;
}

.voice .icon img {
margin-bottom: 5px;
}

#nav_fixed.fixed #nav a:hover {
color: #fff;
}

.sc_frame_wrap.orange .sc_frame {
padding: 1em 1.5em 3em;
}

.rank_btn_wrap {
flex-wrap: wrap;
justify-content: center;
}

.content p {
line-height: 2;
}

.single-post-main h2.sc_heading {
border-radius: 0;
}

.pr-tag {
padding: 0em 0.4em;
border-radius: 2px;
vertical-align: middle;
border: 1px solid #999;
color: #888;
font-size: 0.7em;
}

@media only screen and (min-width: 769px) {
div#logo img, .logo img {
height: 34px;
margin: 3em 0 4em;
}
}

@media only screen and (max-width: 768px) {
div#logo img, .logo img {
height: 34px;
margin: 2em 0 2em;
}
.rank_btn_wrap .rank_buy_link, .rank_btn_wrap .rank_more_link {
flex: none;
}
footer#footer .cta_wrap a {
max-width: 300px;
}
.sc_content_icon, .sc_content_icon i {
padding: 0 0.1rem 0 0;
}
.button a.big, .content .button a.big {
padding: 0.8em 0;
}
}
/*---- 240513 UI修正 end ----*/

/*---- 240717 スマホ用banner追加 ----*/
.sp-banner {
display: none;
}

.sp-banner_text {
display: none;
}

#sidebar .sp-none {
display: block;
}
@media only screen and (max-width: 580px) {
.sp-banner {
display: block;
}
.sp-banner img {
margin: 0;
}
.sp-banner_text {
background: #FFFFFF;
display: block;
font-size: 14px;
margin-bottom: 10px;
padding: 15px;
}
#page-main .sp-banner_text p {
margin: 0;
}
#sidebar .sp-none {
display: none;
}
}

/* 記事内のDIVER標準オレンジボタンを緑（白文字）へ強制上書き */
.button.solid.orange a,
.button.orange a,
.diver_af_ranking_wrap .button.solid.orange a,
.rank_buy_link a {
    background: #11ab65 !important;
    background-color: #11ab65 !important;
    border-color: #0a7745 !important;
    color: #ffffff !important; /* 文字色を白に強制固定 */
}

/* 記事内オレンジボタンのホバー（白文字維持） */
.button.solid.orange a:hover,
.button.orange a:hover,
.diver_af_ranking_wrap .button.solid.orange a:hover,
.rank_buy_link a:hover {
    background: #0a9354 !important;
    background-color: #0a9354 !important;
    color: #ffffff !important; /* ホバー時も白を維持 */
}

/* 見出し（H2）の色を濃紺に上書き */
.single-post-main h2 {
    background-color: #002B66 !important;
}

/* 記事ページ（個別ページ）の中のH2見出しだけを濃紺＋白文字にする */
.single-post-main h2,
.single-post-main h2.sc_heading {
    background-color: #002B66 !important;
    color: #ffffff !important; /* 文字色を確実に白にする */
}

/* 口コミ送信ボタンの文字を白にする */
input[type="submit"],
button[type="submit"],
.form-submit input,
.comment-form input[type="submit"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

