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

/* カスタマイズする場合にはこれより下に追記してください  */
body {
	font-display: swap;
}

a {
    text-decoration-color: #6f97bc;
}


table {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* 投稿ページ青いボタン */
a.button1 {
	background: #56ab2f;
    background: -webkit-linear-gradient(to bottom, #a8e063, #56ab2f);
    background: linear-gradient(to bottom, #a8e063, #56ab2f);
    border: 2px solid #8dc24d;
    border-radius: 10px;
	display: inline-block;
	text-align: center;
	margin-top: 10px;
	padding: 30px 25px;
    text-decoration: none !important;
	border-radius: 4px;
	color: #fff !important;
	font-weight:bold ;
	font-size:22px ; 
	line-height: 1.65;
}

a.button1:hover {
	opacity: .85;
}

.button1:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

/* 青いボタン中央寄せ */
.button_wrapper{
   text-align:center;
}

/*----- 追加箇所 -----*/
/*----- btn -----*/
.review_scroll_btn {
    text-align: center;
}

.review_scroll_btn a {
    background: #F39800;
    margin: 35px auto 0;
    border-radius: 35px;
    display: block;
    padding: 20px 15px 17px;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    max-width: 380px;
    transition: all .5s;
    position: relative;
}

.review_scroll_btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 50px;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    margin-top: -5px;
}

.review_scroll_btn a:hover {
	color: #fff;
    opacity: .7;
}

@media screen and (max-width: 768px) {
    .review_scroll_btn a {
        border-radius: 15px;
		margin: 25px auto 0;
        padding: 15px 10px 13px;
        font-size: 18px;
        max-width: 280px;
    }
    
    .review_scroll_btn a::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 10px;
        height: 10px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        margin-top: -4px;
    }
}

/*----- green_btn -----*/
.button.orange a {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
    animation-name: anim_sc;
    background: #56ab2f;
    background: -webkit-linear-gradient(to bottom, #a8e063, #56ab2f);
    background: linear-gradient(to bottom, #a8e063, #56ab2f);
    border: 2px solid #8dc24d;
    border-radius: 10px;
    color: #fff;
	cursor: pointer;
    display: block;
    font-size: 28px;
    font-weight: 700;
	letter-spacing: 0;
	line-height: 1.5;
    margin: 0 auto;
    padding: 32px 15px 27px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 0px #2e6316;
    transform: scale(.95, .95);
    width: 100%;
    max-width: 500px;
}

.button.orange a i {
	display: none;
}

@keyframes anim_sc {
    100% {
        transform: scale(1,1);
    }
}

.button.orange a:hover {
	color: #fff;
	opacity: .85;
}

@media screen and (max-width: 768px) {
    .button.orange a {
        font-size: 18px;
        padding: 20px 10px 17px;
        max-width: 320px;
    }
}
@media screen and (max-width: 414px) {
    .button.orange a {
        font-size: 16px;
        padding: 20px 10px 17px;
        max-width: 240px;
    }
}

/*----- nav_bg
.menu-footer_navi-container {
	background: #000;
}

.menu-footer_navi-container ul li a {
	color: #fff;
}

#onlynav ul li a {
    color: #fff !important;
} -----*/

h2.m-color {
	background-color: #dd3333;
}

/*----- headerのdiscriptionのspの調整(211223) -----*/
@media screen and (max-width: 768px) {
    .header_small_menu #description {
		font-size: 10px;
		padding:10px;
    }
}

.ranking_bnr img {
	margin: 20px 0 0 0;
	padding: 0;
}


/****************************************

          Category

*****************************************/

.category-header-wrap{
  color: #333;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.category-header {
    margin: auto;
    width: 570px;
}

.category-title{
  display:inline-block;
  vertical-align: middle;
  text-align: center;
}

.category-title-name{
  font-size: 35px;
}

.category-title-horline{
  margin: 0 0 10px 0;
  width:50px;
  height:5px;
  display:inline-block;
  vertical-align: middle;
  border-radius: 10px;
}

.category-title-line{
  margin:0 20px;
  width:5px;
  height:60px;
  background:#fff;
  display:inline-block;
  vertical-align: middle;
  border-radius: 10px;
}
.category-title-desc {
    width: 300px;
    overflow: auto;
  display:inline-block;
  vertical-align: middle;
  font-size: 15px;
}

.catpage_content_wrap {
    margin-bottom: 10px;
    position: relative;
	background: #000 !important;
	background: url(https://osusumekomon.tokyo/wp/wp-content/uploads/2023/10/title_bg.jpg) no-repeat center center !important;
	background-size: cover;
    overflow: hidden;
}

.catpage_content_wrap .cover{
  background-size: 100% auto;
  background-position: center center;
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  z-index: -1;
  filter: blur(2px) brightness(.8);
}

.catpage_description{
  font-size: 1.1em;
  margin-top: 10px;
}

.catpage_content_wrap .share{
  padding:0; 
}

.catpage_content_wrap  .innner {
    padding: 1em 0;
    width: 90%;
    margin: 0 auto;
}

.catpage_content_wrap .catpage_inner_content {
    width: 60%;
    float: left;
    padding: 1em;
    font-weight: bold;
    text-shadow: 1px 1px 0 #999;
}

.catpage_content_wrap .content {
    padding: 1em 40px;
    line-height: 1.5;
}

h1.catpage_title {
    margin: 0;
}

.catpage_tag {
    width: 40%;
    float: left;
    padding: 1em;
	/*--- ↓↓↓ ---*/
	display: none;
	/*--- ↑↑↑ ---*/
}

.catpage_tag a {
    background: #eee;
    color: #000;
    white-space: nowrap;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 3px 1px;
    display: inline-block;
    border-radius: 2px;
}

a.tag-cloud-link:before {
    content: "\f02b";
    margin-right: 5px;
    color: #7e9da7;
    font-family: fontAwesome;
}

.cat-post-main .content{
  margin: 0;
}

.cat-post-main{
  padding:1em 2em;
  margin-bottom: 10px; 
}

@media screen and (max-width:768px){
  .catpage_content_wrap .cover{
    background-size: auto 100%;
  }
  .catpage_content_wrap .catpage_inner_content {
    width: 100%;
  }

  .catpage_tag {
    display: none;
  }

  .catpage_content_wrap{
    margin-top: -5px;
  }

  .cat-post-main{
    padding: 1em;
  }
}

.side_btn_site {
	background: #000;
	border-radius: 60px;
	display: block;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 10px 20px;
	width: 100%;
}

.side_btn_site:hover {
	opacity: 0.5;
}

/* .cat-post-main {
	padding: 0 !important;
} */

.cat-post-main .content p {
	padding: 0 !important;
	margin-bottom: 20px;
}

/* コメントフォームテキスト
} */
p.comment-form-cookies-consent {
    display: none;
}




/*  --------- 220624 サイトデザイン改修 start ---------- */
#header .header_small_menu {
    background: #f2f8ff;
    color: #333;
	padding: 1rem 0.5rem;
}

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

#fv {
	background: url(https://osusumekomon.tokyo/wp/wp-content/uploads/2024/06/fv_bg.webp) no-repeat center right/ cover;
}

#header .header-image img.pc,
#fv img.pc {
	display: block;
	padding-top: 3rem;
	margin-right: auto;
	margin-bottom: -0.1rem;
	margin-left: auto;
	width: min(75%, 1297px);
}

#fv img.sp {
	display: none;
	width: min(100%, 768px);
}

#header #logo {
	padding-top: 1.5rem;
}

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

#header #onlynav {
    background: #fff;
	padding: 1em 0 2em;
}

#header #onlynav ul li a {
    color: #333;
	position: relative;
}

#header #onlynav ul li a::after {
	background: #0d64c9;
	content: '';
	height: 2px;
	position: absolute;
	bottom: -4px;
	left: 0;
	transition: all 0.15s;
	width: 0%;
}

#header #onlynav ul>li:hover>a {
	background: #fff;
	color: #0d64c9;
}

#header #onlynav ul>li:hover>a::after {
	width: 100%;
}

#header #onlynav ul ul.sub-menu {
    background: #fff;
	margin-top: 1rem;
}

#header #onlynav ul ul.sub-menu  a::after {
	content: none;
}

.header_message {
	background: #fff;
	padding: 1em 0.5em;
}

.header_message_text {
	color: #333;
}

.header_message_badge {
	background: #f42859;
	color: #fff;
}

#page-main .content h2,
#single-main .content h2{
	background: none;
	border-bottom: 3px solid #eee;
    border-radius: 0;
	color: #333;
}

#page-main .content h2::before,
#single-main .content h2::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 150px;
	height: inherit;
	border-bottom: 3px solid #0d64c9;
}

#page-main .content h3,
#single-main .content h3 {
	background: none;
	border-bottom: none;
	border-left: 5px solid #0d64c9;
    border-radius: 0;
	box-shadow: none;
	color: #333;
	padding: 0 0 0 1em;
	margin: 0 0 2em 0;
}

#page-main .content h3::before,
#page-main .content h3::after,
#single-main .content h3::before,
#single-main .content h3::after{
	box-shadow: none;
	content: none;
	margin: 0;
}

#page-main .content h4,
#single-main .content h4 {
	background: none;
	border-bottom: 1px solid #ccc;
    border-radius: 0;
	box-shadow: none;
	color: #333;
	padding: 0 0 0 0.5em;
	margin: 0 0 2em 0;
}

#page-main .content h4::before,
#page-main .content h4::after,
#single-main .content h4::before,
#single-main .content h4::after{
	content: none;
}

.top_banner:hover {
	opacity: 0.8;
}

#content_area #toc_container {
	background: #0d64c9;
	border: none;
	padding: 0.2em;
}

#content_area #toc_container .toc_title {
	background: #0d64c9;
}

#content_area #toc_container .toc_title span.toc_toggle a {
	color: #0d64c9;
}

h2.m-color {
    background-color: #0d64c9;
	color: #fff;
}

#content_area .sc_frame_title {
	padding: 0.6em 1em;
}

.catpage_content_wrap .cover {
    background-color: #0d64c9;
}

.catpage_content_wrap h1 {
	color: #fff;
	text-shadow: none;
}

#toc_container .toc_list {
	background: #fff;
	padding: 1.5em;
    margin: 0;
}

#main-wrap #toc_container {
	border: 5px solid #0d64c9;
}

#main-wrap #toc_container .toc_title {
	background: #0d64c9;
}

/* sidebar */
#sidebar .sidebar_content .widgettitle {
	background: none;
	border-bottom: 3px solid #0d64c9;
    border-radius: 0;
	color: #333;
	margin: 0 0 1rem 0;
}


#sidebar .sidebar_content img:hover {
	opacity: 0.8;
}

/* SP */
@media screen and (max-width:959px) { 
	#header .header-image img,
	#fv img {
		width: min(85%, 1297px);
	}
	#header #logo {
		padding-bottom: 1.5em;
	}
}

@media screen and (max-width:768px) { 
	#fv {
		background: none;
	}
	#header .header-image img.pc,
	#fv img.pc {
		display: none;
	}
	#fv img.sp {
		display: block;
	}
	#header #logo {
		padding-top: 0;
		padding-bottom: 0;
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
	#container .header_message_text {
		font-size: 11px;
	}
	#page-main .content h2::before {
		width: 50px;
	}
	#sidebar .sidebar_content img {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	.header_small_menu {
		display: none;
	}
}

.bottom_ad .widgettitle {

	color: #eee;

}
/*  --------- 220624 サイトデザイン改修 end ---------- */


/*---- 追尾ボタン透過 ----*/

#bfb_content_pc {
    background-color: rgba(255,255,255,0.5);
}

#bfb_content_sp {
    background-color: rgba(255,255,255,0.5);
}


#breadcrumb {
    font-size: 13px;
    padding: 10px 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


#breadcrumb li {
    display: inline-block;
}

#breadcrumb li:not(:first-child):before {
    content: '\f0da';
    color: #aaa;
    margin: 0 0.6rem;
    position: relative;
    top: 1px;
    font-family: 'FontAwesome';
}

/*  --------- 230901 UI改善 start ---------- */
.nav_in_btn ul {
	margin-top: 1rem;
}

.nav_in_btn ul li {
	padding: 0 0.5rem;
}

#footer {
	padding: clamp(1rem,2vw,2rem);
}

#footer .footer_content .footer_navi {
	margin-bottom: clamp(2rem,4vw,4rem);
}

#footer .footer_content #copyright {
	float: none;
}

.footer_navi ul li {
	padding: 0 clamp(0.5rem,1vw,1rem);
	line-height: 2;
}

.footer_navi ul li:first-child {
	padding-left: 0;
}

.footer_navi ul li:last-child {
	padding-right: 0;
}

.button a.big, .content .button a.big {
	padding:0.8em 2em;
}

.rank_btn_wrap {
	    padding: 0 0.3rem;
}

.rank_btn_wrap .rank_buy_link {
		margin-bottom: 100px;
}
#main .rank_h .rank_title_wrap h3.rank_title,
#page-main .rank_h .rank_title_wrap h3.rank_title {
	border-left: 0;
	padding: 0;
	margin: 0;
}

.rank_btn_wrap .rank_buy_link,
.rank_btn_wrap .rank_more_link {
	margin: 15px;
}

.rank_desc_wrap .rank_desc .rank_minih {
	font-size: clamp(15px, 1.9vw, 19px);
}

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

.w_b_bal_wrap .w_b_talk_L {
	margin: 0 auto 0 20px;
}

.w_b_bal_wrap .w_b_talk_R {
	margin: 0 20px 0 auto;
}

.w_b_box .w_b_wrap .w_b_ava_box div.w_b_name {
	margin-top: 7px;
}

@media screen and (min-width: 1201px) { 
	.lp-template-default #lp-wrap .content {
		width: 50%;
		padding: 40px 50px;
	}
	.lp-template-default #lp-wrap .content img.three_img {
		margin-bottom: 5rem;
	}
}

.sc_frame_text .diver_af_ranking_wrap {
	margin-bottom: clamp(30px, 7vw, 70px);
}

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

/* SP */
@media screen and (max-width:580px) { 
	.rank_btn_wrap {
		display: block;
		margin-right: auto;
		margin-left: auto;
		width: 85%;
	}
	.rank_btn_wrap .rank_buy_link a,
	.rank_btn_wrap .rank_more_link a {
		font-size: 1em;
		padding: 1.1em 1.2em;
	}
	.rank_btn_wrap .rank_buy_link {
		margin-bottom: 20px;
	}
	.rank_btn_wrap .rank_more_link {
		margin-bottom: 100px;
	}
}

@media screen and (max-width:350px) { 
	.button a.big, .content .button a.big {
		padding:0.8em 1em;
		font-size: 1em;
	}
}
/*  --------- 230901 UI改善 end ---------- */

/*  --------- 231006 UI改善 start ---------- */
nav#onlynav div {
	margin-right: auto;
	margin-left: auto;
	max-width: 1200px;
}

#onlynav ul {
	display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
}

#onlynav ul li ul {
	display: table;
}

#onlynav ul li a {
	padding: 1em 0.5em;
}

.w_b_wrap_talk {
	margin-bottom: 20px;
}

.mb10 {
	margin-bottom: clamp(5px, 1vw, 10px);
}

.mb20 {
	margin-bottom: clamp(10px, 2vw, 20px);
}

#main-wrap p.mb30,
.mb30 {
	margin-bottom: clamp(15px, 3vw, 30px);
}

#main-wrap p.mb40,
#main-wrap span.mb40,
.mb40 {
	margin-bottom: clamp(20px, 4vw, 40px);
}

.mb60 {
	margin-bottom: clamp(30px, 6vw, 60px);
}

#main-wrap p.mb80,
.mb80 {
	margin-bottom: clamp(40px, 8vw, 80px);
}

#page-main .content h3,
#single-main .content h3 {
	margin: 0 0 0.8em 0;
}

#sidebar .sidebar_content .widgettitle {
	font-weight: 600;
}

.content .post-box-thumbnail__wrap img,
.post-box-thumbnail__wrap img {
	background: #fff;
}

#main .content h2 {
	background: none;
    border-bottom: 3px solid #eee;
    border-radius: 0;
    color: #333;
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;
	position: relative;
}

#main .content h2::before {
	content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 150px;
    height: inherit;
    border-bottom: 3px solid #0d64c9;
}

#main .content h3 {
	background: none;
    border-bottom: none;
    border-left: 5px solid #0d64c9;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    padding: 0 0 0 1em;
	margin: 0 0 0.8em 0;
}

#main .content h4 {
    background: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    padding: 0 0 0 0.5em;
    margin: 0 0 2em 0;
}

#header #logo {
    margin-left: auto;
    margin-right: auto;
}

#logo img,
.logo img {
	display: block;
	height: auto;
	margin-right: auto;
    margin-left: auto;
	width: min(80%, 370px);
	aspect-ratio: 370 / 31;
}

.diver_af_ranking_wrap.mb {
	margin-bottom: clamp(3rem, 6vw, 6rem);
}

/* SP */
@media screen and (max-width:599px) { 
	.post-box {
		display: flex;
	}
	.post-box figure.post_thumbnail {
		width: 100%;
	}
	.post-box section.post-meta-all {
		width: 100%;
	}
	#main section.post-meta-all {
		padding: 10px 5px !important;
	}
	.content .post-box-thumbnail__wrap img,
	.post-box-thumbnail__wrap img {
		object-fit: contain;
	}
	#logo img,
	.logo img {
		width: min(60%, 370px);
	}
}

/*  --------- 231006 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#footer .cta_wrap {
	background: rgba(255,255,255,0.4);
	font-size: 14px;
	padding: 15px 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	text-align: center;
	margin-bottom: 0;
	width: 100vw;
	z-index: 9999;
}

footer#footer .cta_wrap a {
	background: #009f57;
	border-bottom: solid 3px #006c05;
	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 #003903;
    text-decoration: none;
    text-align: center;
	transition: none;
    margin: 0 auto;
    max-width: 350px;
}

footer#footer .cta_wrap a:hover {
	background: #10ae67;
	border-bottom: solid 3px #16771b;
	color: #fff;
	opacity: 1;
	text-decoration: none;
}

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

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

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

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

/*---- 240613 見出し改修 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;
	}
}
	
/*---- 240613 見出し改修 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;
	}
}