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

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


/*---------------------------------
 240105 デザイン刷新 start
---------------------------------*/
/* common */
.u-mb10 {
  margin-bottom: clamp(5px, 0.8vw, 10px);
}

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

.u-mb30 {
  margin-bottom: clamp(15px, 2.4vw, 30px);
}

.u-mb40 {
  margin-bottom: clamp(20px, 3.2vw, 40px);
}

.u-mb50 {
  margin-bottom: clamp(25px, 4vw, 50px);
}

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

.u-mb70 {
  margin-bottom: clamp(35px, 5.6vw, 70px);
}

.u-mb80 {
  margin-bottom: clamp(40px, 6.4vw, 80px);
}

.u-mb90 {
  margin-bottom: clamp(45px, 7.2vw, 90px);
}

.u-mb100 {
  margin-bottom: clamp(50px, 8vw, 100px);
}

.u-mb110 {
  margin-bottom: clamp(55px, 8.8vw, 110px);
}

.u-mb120 {
  margin-bottom: clamp(60px, 9.6vw, 120px);
}

.u-mb130 {
  margin-bottom: clamp(65px, 10.4vw, 130px);
}

.u-mb140 {
  margin-bottom: clamp(70px, 11.2vw, 140px);
}

.u-mb150 {
  margin-bottom: clamp(75px, 12vw, 150px);
}

#main-wrap {
  margin: min(7vw, 100px) auto;
}

#container .l-main-container {
  justify-content: space-between;
}

#container #main,
#container #single-main,
#container #page-main {
  margin-right: 0;
  margin-left: 0;
  width: 65%;
}

.single-post-main {
  padding: 2em 0;
}


.single-post-main {
  padding: 5em 0;
}

#main-wrap #sidebar {
  width: 30%;
}

h1.page_title {
  font-weight: bold;
}

.content #ranking h2.cap,
#page-main #ranking h2 {
  background: none;
  border-top: 3px solid #555;
  border-radius: 0;
  color: #222;
  font-size: clamp(19px, 2.5vw, 30px);
  padding: 0.5em 1em;
  margin-top: 0;
  margin-bottom: clamp(2px, 4vw, 50px);
}

.content#ranking h2.cap span,
#page-main #ranking h2 span {
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: bold;
  letter-spacing: 0;
}

.contenth2.cap span.en,
#page-main #ranking h2 span.en {
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: lighter;
  letter-spacing: 0.2em;
}

.page_title {
	border-bottom: none;
}

@media screen and (max-width: 959px) {

  #container #main,
  #container #single-main,
  #container #page-main {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
  }

  #main-wrap #sidebar {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  #container .l-main-container {
    margin-right: auto;
    margin-left: auto;
    width: 96%;
  }

  #page-top {
    display: none;
  }
}

/* header */
header.header-wrap {
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(20px, 3vw, 40px);
}

header #logo img {
  width: min(70%, 322px);
}

.header-image {
	background: #effffa;
}

.header-image img.pc {
	display: block;
	margin-right: auto;
	margin-left: auto;
	width: min(100%, 1200px);
}

.header-image img.sp {
	display: none;
	margin-right: auto;
	margin-left: auto;
	width: min(100%, 500px);
}

@media only screen and (max-width: 768px) {
	.header-image img.pc {
		display: none;
	}
	.header-image img.sp {
		display: block;
	}
}

/* nav */
#onlynav {
  padding: 25px 0;
}

#nav_fixed .logo img {
  max-width: 250px;
}

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

#header .header-logo #nav ul li a:hover,
#header #onlynav ul li a:hover,
#header #nav_fixed #nav ul li a:hover {
  color: #fff;
  transition: none;
}

/* fv */
#header .header-image {
  padding-top: clamp(30px, 5vw, 70px);
  padding-bottom: clamp(50px, 6vw, 100px);
}

/* side -- category*/
#block-6 {
  padding: 0;
  margin-bottom: clamp(20px, 3vw, 40px);
}

#side_cate h2 {
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 30px;
}

#side_cate h2 span {
  font-size: 12px;
}

#side_cate p {
  font-size: clamp(17px, 2.2vw, 25px);
  font-weight: bold;
  line-height: 1;
}

#side_cate p span {
  font-size: clamp(10px, 1vw, 12px);
}

#side_cate div.img {
  display: block;
  overflow: hidden;
  padding: 30px 20px;
  position: relative;
  transition: none;
  margin-bottom: 20px;
  height: 150px;
  width: 100%;
}

#side_cate div.img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease-out;
  transform-origin: right bottom;
  height: 100%;
  width: 100%;
}

#side_cate div.img:hover::after {
  opacity: 0.9;
  transform: scale(1.1);
}

#side_cate div.img.site::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_site.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.school::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_school.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.ana::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_ana.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.youtube::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_youtube.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.sub::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_sub.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.quo::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_quo.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.begi::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_begi.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.bene::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_bene.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.money::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_money.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.hot::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_hot.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img.news::after {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/cate_news.webp) no-repeat right 10% bottom /cover;
}

#side_cate div.img a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

#side_cate div.img a:hover,
#side_cate div.img a:hover p {
  color: #333;
}

/* main --ranking*/
/* title */
#ranking h3 {
  padding-left: calc(47px + 1em);
  position: relative;
  margin-bottom: clamp(20px, 3vw, 40px);
}

#ranking h3.one {
  border-bottom: 3px dotted #eac049;
}

#ranking h3.two {
  border-bottom: 3px dotted #b0b0b0;
}

#ranking h3.three {
  border-bottom: 3px dotted #b17f5b;
}

#ranking h3.other {
  border-bottom: 3px dotted #8f8d4f;
}

#ranking h3::before {
  content: "";
  position: absolute;
  top: 47%;
  left: 0;
  transform: translateY(-50%);
  height: 32px;
  width: 47px;
}

#ranking h3::before {
  content: "";
  position: absolute;
  top: 47%;
  left: 0;
  transform: translateY(-50%);
  height: 32px;
  width: 47px;
}

#ranking h3.one::before {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/one.webp) no-repeat center /cover;
}

#ranking h3.two::before {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/two.webp) no-repeat center /cover;
}

#ranking h3.three::before {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/three.webp) no-repeat center /cover;
}

#ranking h3.other::before {
  background: url(https://gori-gori.com/wp-content/uploads/2024/03/other.webp) no-repeat center /cover;
}

/* split_box */
#ranking .split_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: clamp(20px, 4vw, 50px);
}

#ranking .split_box .img {
  object-fit: contain;
  max-width: 380px;
  width: 35%;
}

#ranking .split_box .img img {
  object-fit: contain;
  margin: 0;
}

#ranking .split_box .text {
  width: 61%;
}

#ranking .split_box .text strong {
  color: #ef2121;
}

@media only screen and (max-width: 768px) {
  #ranking .split_box {
    justify-content: center;
  }

  #ranking .split_box .img {
    margin-bottom: 20px;
    width: 100%;
  }

  #ranking .split_box .text {
    width: 100%;
  }
}

/* table */
#ranking .table_wrap {
  overflow-x: scroll;
}

#ranking .table_wrap table {
  border: none;
  width: 100%;
  min-width: 768px;
  border-collapse: collapse;
}

#ranking .table_wrap table tbody th,
#ranking .table_wrap table tbody td {
  border: 2px solid #eee;
  padding: 20px 8px;
  width: auto;
}

#ranking .table_wrap table tbody th {
  background: #1f1f1f;
  border: none;
  color: #fff;
}

#ranking .table_wrap table tbody td {
  border: none;
}

#ranking .table_wrap table tbody td strong {
  color: #ef2121;
  font-size: 120%;
}

#ranking .table_wrap table tbody tr:nth-child(odd) {
  background-color: #ebf7f3;
}

/* btn area */
#ranking .btn_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

#ranking .btn_wrap a {
  border-radius: 5px;
  color: #fff;
  display: block;
  font-weight: bold;
  padding: 20px 15px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: none;
  max-width: 450px;
  width: 45%;
}

#ranking .btn_wrap a:hover {
  color: #fff;
}

#ranking .btn_wrap a::after {
  content: "\f138";
  padding-left: 10px;
  font-family: fontAwesome;
}

#ranking .btn_wrap a.btn_green {
  background: #20907c;
  background: linear-gradient(120deg, #20907c, #208190);
  border-bottom: 5px solid #004e59;
}

#ranking .btn_wrap a.btn_orange {
  background: #f0570c;
  background: linear-gradient(120deg, #f0570c, #ec3b18);
  border-bottom: 5px solid #a24010;
}

#ranking .btn_wrap a.btn_green:hover {
  background: #2cb29a;
}

#ranking .btn_wrap a.btn_orange:hover {
  background: #ff661b;
}

.wrap-grid-post-box {
  margin-bottom: clamp(30px, 5vw, 60px);
}

.kiji .btn_more {
  text-align: center;
	margin-top: 60px;
}

.kiji .btn_more a {
  border: 1px solid #1f1f1f;
  padding: 15px 60px;
  max-width: 300px;
}

.kiji .btn_more a:hover {
  border: 1px solid #333;
  color: #333;
}

.kiji h2 {
  padding-left: 0;
}

.kiji h2 span.en {
  font-size: 65%;
}

.kiji .pagination {
	display: none;
}

@media only screen and (max-width: 768px) {
  #ranking .btn_wrap a {
    gap: 0;
  }

  #ranking .btn_wrap a {
    width: 85%;
  }

  #ranking .btn_wrap a:first-child {
    margin-bottom: 20px;
  }

  #ranking .btn_wrap {
    gap: 0;
  }
}

/* customize--会社概要 */
h2.site-name1 {
  text-align: start;
}

table.default {
  max-width: 800px;
  width: 100%;
}

table.site-name {
  max-width: 620px;
  width: 100%;
}

table.default tbody th,
table.site-name tbody th {
  background-color: #1f1f1f;
  color: #fff;
  padding: 15px 12px;
  width: 30%;
}

table.default tbody td,
table.site-name tbody td {
  padding: 15px 12px;
  width: 70%;
}

@media only screen and (max-width: 768px) {

	table.default tbody th,
	table.site-name tbody th {
	  font-size: 13px;
	  line-height: 1.5;
	  padding: 15px 8px;
	  width: 35%;
	}
	
	table.default tbody td, 
	table.site-name tbody td {
		font-size: 15px;
		padding: 15px 8px;
		width: 65%;
	}
}

/* content */
/* plug-in--balloon */
.voice .icon img,
.voice .icon amp-img {
  margin: 0 0 10px 0;
  height: 110px;
  width: 110px;
}

@media only screen and (max-width: 768px) {

  .voice .icon img,
  .voice .icon amp-img {
    margin: 0 0 10px 0;
    height: 70px;
    width: 70px;
  }
}

/* plug-in--addQuicktag */
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;
  }
}

/* plug-in--toc */

#container #toc_container {
  padding: clamp(20px, 3vw, 40px);
  margin: 4em auto 6em;
  max-width: 650px;
  width: 80% !important;
}

#container #toc_container .toc_title {
  background-color: #fff;
}

#container #toc_container .toc_title span a {
  font-size: 80%;
}

#container #toc_container ul ul {
  margin-left: 0.5em;
}

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

#container #toc_container .toc_list > li {
  line-height: 2em;
}

@media only screen and (max-width: 768px) {
	#container #toc_container .toc_list>li a {
	  font-size: 14px;
	}
}


/* ショートコード用--btn */
.short_code_btn {
  text-align: center;
}

.short_code_btn p strong {
  background: linear-gradient(transparent 60%, #fff951 60%);
  color: #e91111;
  font-size: 140%;
}

.short_code_btn .btn a {
  background: rgb(131, 58, 180);
  background: linear-gradient(55deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
  border-radius: 2px;
  color: #fff;
  display: block;
  filter: drop-shadow(2px 2px 4px #777);
  font-size: 120%;
  font-weight: bold;
  padding: 30px 50px;
  text-decoration: none;
  margin-right: auto;
  margin-left: auto;
  width: min(90%, 500px);
}

.short_code_btn .btn a:hover {
  opacity: 0.85;
}

.scale_ani {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@media only screen and (max-width: 768px) {
  .short_code_btn .btn a {
    font-size: 110%;
    padding: 20px 15px;
  }

  .short_code_btn p strong {
    font-size: 120%;
  }
}

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

footer .cta_wrap a {
  background: rgb(34, 193, 195);
  background: linear-gradient(45deg, rgb(21 169 171) 0%, rgba(34, 201, 163, 1) 71%, rgba(45, 253, 125, 1) 100%);
  border-bottom: solid 3px rgb(22, 158, 160);
  border-radius: 40px;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 1.25em;
  font-weight: bold;
  line-height: 180%;
  padding: 15px 20px;
  text-shadow: 0 1px 0 rgb(4 38 39);
  text-decoration: none;
  text-align: center;
  transition: none;
  margin: 0 auto;
  max-width: 350px;
}

footer .cta_wrap a:hover {
  color: #fff;
  text-decoration: none;
}

footer .follow_button li {
  list-style-type: 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;
  }
}

/* footer */
#footer {
  padding-bottom: 60px;
}

#footer .footer_content {
  padding: 60px 0;
}

#footer .footer_navi {
  margin-bottom: 30px;
}

#footer_sticky_menu .footermenu_col {
  display: none;
}

#footer #copyright {
  float: none;
}

#footer .footer_navi ul li {
  padding: 0 15px;
}

@media only screen and (max-width: 768px) {
  #footer .footer_navi ul li {
    display: block;
    padding-bottom: 10px;
  }
}

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

/*---------------------------------
240105 デザイン刷新 end
---------------------------------*/


.comment-form-email,.comment-form-url {
    display: none;
}

.comment-form-cookies-consent {
    display: none;
}

.news .pagination {
	margin-bottom: 60px;
}

/*---- 240610 見出し改修 start ----*/
html {
	scroll-behavior: smooth;
}

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


/*---- 黄色マーカー ----*/
.marker-yellow {
background: linear-gradient(transparent 60%, #FFFF55 50%);
}

/*---- 241118 トップページ ページネーション非表示 start ----*/
.hot .pagination,
.sidejob .pagination,
.investor .pagination,
.quotes .pagination,
.news .pagination {
	display: none;
}

/*---- 241118 トップページ ページネーション非表示 end ----*/


/* シミュレーター全体のデザイン */
.ideco-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 入力フォームのデザイン */
.ideco-container label {
    font-weight: bold;
    color: #444;
    display: block;
    margin-top: 10px;
    font-size: 16px;
}

.ideco-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background: #f9f9f9;
}

/* ボタンのデザイン */
.ideco-container button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.ideco-container button:hover {
    background: #0056b3;
}

/* 結果表示のデザイン */
.ideco-result {
    margin: 20px auto;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* 結果表示のテーブルデザイン */
.ideco-result table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    text-align: left;
}

.ideco-result th, .ideco-result td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.ideco-result th {
    background: #ffcc00;
    color: #fff;
}
