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

/************************************
** 子テーマ用のスタイルを書く
************************************/
#container {
	overflow:hidden;
}
.header {
    height: 80px;
    display: flex;
}
.header-container-in.hlt-top-menu .logo-header {
	width: 200px;
}
.logo-menu-button img {
	max-height: 38px;
}
.footer-bottom {
	margin-top: 0;
}
.footer-bottom-logo img {
	height: 33px;
}
.footer-bottom-logo {
	bottom: auto;
}
.search-menu-button {
	visibility: hidden; 
}
.blogcard-thumbnail img, .card-thumb img {
	object-fit: contain;
}
.blank-box.cta-section {
	border-color: #f9b141;
	background: linen;
}
.content-in {
	max-width: 1256px;
    width: 80%;
}
.wp-block-image img {
	margin: 0 auto;
}
.article h2 {
	margin-bottom: 0.62em;
	border-left: 6px solid #f9b141;
	padding: 20px;
	background-color: #fffafa;
}
.article h3 {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid #ddd;
	position: relative;
}
.article h3::before {
    content: "";
    display: block;
    width: 25%;
    height: 2px;
    background-color: #f9b141;
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 100;
}
.article h3.no-border {
	border: none;
    font-size: 22px;
    padding: 8px 10px 8px 0;
    margin-bottom: 0;
}
.article h3.no-border::before {
	display: none;
}
.article h4 {
	border-top: none;
	border-bottom: none;
	border-left: 2px solid #f9b141;
}
.toggle-button {
	text-align: left;
	font-weight: 600;
}
.toggle-button::before {
    opacity: 1;
}
.ecocta {
	position: relative;
    text-align: center;
    padding: 45px 0;
	margin: 0;
}
.ecocta .ecocta__micro {
	margin-bottom: 0;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
	text-wrap: nowrap;
}
.ecocta a {
	display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 72px;
    line-height: 1.2em;
    background-color: #00B16B;
    text-decoration: none;
    color: #FFF;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden; 
	position:relative;
}
.ecocta a::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 72px;
	background: linear-gradient(
		120deg,
		transparent 0%,
		rgba(255, 255, 255, 0.6) 50%,
		transparent 100%
	);
	transform: skewX(-20deg);
	pointer-events: none; 
		animation: shine 3s infinite;
}

@keyframes shine {
	0%   { left: -75%; }
	60%  { left: 120%; }
	100% { left: 120%; }
}
@media (hover: hover) and (pointer: fine) {
	.ecocta a:hover {
		transform: translateY(3px);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
	}
}
.wp-block-table.is-style-stripes {
	border-bottom: none;
}
.wp-block-table table th {
	background: #4682b4;
    color: #FFF;
}
.wp-block-table table td {
	background: #fffafa;
}
.review-carousel {
  position: relative;
  margin: 24px 0;
	padding: 0 50px;
}
.review-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	padding: 8px;
	padding-inline: 15px;
	scroll-padding-inline: 15px;
	scrollbar-width: none;
	-ms-overflow-style: none;  
}
.review-track::-webkit-scrollbar {
 	display: none;
}
.review-slide {
  flex: 0 0 90%;
  max-width: 90%;
  scroll-snap-align: start;
  background: #F5F6F7;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.review-slide p {
  margin: 0 0 8px;
  line-height: 1.6;
}
.review-source {
  font-size: 0.85em;
  color: #666;
}
.review-prev, .review-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 40px;
  block-size: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
}
.review-slide__img {
	width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.review-slide__img img {
	width: 28px;
    height: 28px;
}

.review-slide__top {
	display: flex;
    justify-content: left;
    align-items: center;
    gap: 8px;
	margin-bottom: 12px;
}
.review-slide .review-source {
    margin: 0;
    line-height: 1;
    font-size: 18px;
}
.review-prev { 
	left: 4px; 
	font-size: 24px;
}
.review-next { 
	right: 4px;
	font-size: 24px;
}
.cta-section {
	max-width: 800px;
    margin: 0 auto 60px;
}
.cta-section .cta-section__microcopy {
	font-size: 16px;
    margin-bottom: 5px;
}
.cta-section .cta-banner__box {
	text-align: center;
}
.cta-section .cta-banner__box a {
	display: inline-block;
}
.article .cta-section__txt {
	margin-bottom: 0;
}
.cta-section .ecocta a {
	min-width: 280px;
    width: 95%;
    max-width: 320px;
	font-size: 18px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}
.cta-section .wp-block-table {
	margin-top: 16px; 
}
.cta-section .wp-block-table table td {
	background: #fff;
}
.area-links {
	padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.area-links .area-links__item {
	width: 160px;
	margin: 0;
}
.area-links .area-links__link {
	text-decoration: none;
    color: #FFF;
    display: block;
    background: #f9b141;
    text-align: center;
    font-size: 16px;
	font-weight:bold;
    padding: 5px 10px;
	border-radius: 5px;
	transition: opacity ease .3s;
}
.wp-block-image .wp-element-caption {
	max-width: 960px;
    margin: 0 auto;
}
.ranking-table.wp-block-table table {
	width: 100%;
	min-width: 1620px;
}
.ranking-table.wp-block-table .ranking-table__ttl {
	width: 120px;
	background-color: #faf0e6;
}
.ranking-table.wp-block-table .ranking-table__content {
	width: 300px;
	position: relative;
}
.ranking-table.wp-block-table .ranking-table__img {
	margin: 0 0 5px;
}
.ranking-table.wp-block-table .ranking-table__img.cover {
	margin: 0 0 15px;
}
.ranking-table.wp-block-table .ranking-table__img.cover img {
	max-width: 300px;
	width: 100%;
	object-fit: cover;
}
.ranking-table.wp-block-table table td,.ranking-table.wp-block-table table th {
    background: #FFF;
    color: #333;
    height: 90px;
    border: solid 1.5px #333;
    text-align: center;
}
.ranking-table.wp-block-table .ranking-table__row--service {
	height: 250px;
}
.ranking-table.wp-block-table .ranking-table__cell--strong {
	font-weight: bold;
	border-left: solid 10px #FD1515;
	border-right: solid 10px #FD1515;
}
.ranking-table.wp-block-table .ranking-table__row--first .ranking-table__cell--strong {
	border-top: solid 10px #FD1515;
}
.ranking-table.wp-block-table .ranking-table__row--last .ranking-table__cell--strong {
	border-bottom: solid 10px #FD1515;
}
.ranking-table.wp-block-table .ranking-table__content.rank {
	background-color: #faf0e6;
}
.ranking-table.wp-block-table .ranking-table__content.rank img {
	width: 100px;
}
.wp-block-table.ranking-table {
	margin-bottom: 0;
	font-size: 16px;
}
.ranking-table.wp-block-table .ecocta {
	padding: 30px 0;
}
.ranking-table.wp-block-table .ecocta__btn {
	width: 100%;
    max-width: 260px;
    height: 65px;
    font-size: 16px;
}
.article .ranking-table__note,.hiyou-table__note {
	font-size: 12px;
    line-height: 1.2em;
	margin-bottom: 60px;
}
.body .wp-block-table:has(.hiyou-table) {

	margin-bottom: 5px;
}
.wp-block-table td, .wp-block-table th {
	padding: 1em;
}
figure.wp-block-table .hiyou-table {
	width: 100%;
}
@media (hover: hover) and (pointer: fine) {
	.area-links .area-links__link:hover {
		opacity: 0.9;
	}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media (min-width: 960px) {
  .review-slide {
    flex-basis: 45%;
    max-width: 45%;
  }
}
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.mobile-header-menu-buttons {
		height: 65px;
	}
	.header-container-in.hlt-top-menu {
		height: 0;
	}
	body:where(.mblt-header-mobile-buttons,.mblt-header-and-footer-mobile-buttons) {
		margin-top: 65px;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
	.content-in {
    	width: 90%;
	}
	.article .area-links {
		padding: 0;
	}
	.ranking-table.wp-block-table table {
		min-width: 1370px;
	}
	.ranking-table.wp-block-table .ranking-table__content {
		width: 250px;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.header {
    	height: 60px;
	}
	.header-container-in.hlt-top-menu .logo-header {
		width: 160px;
	}
	.content-in {
    	width: auto;
	}
	.ecocta .ecocta__micro { 
		font-size: 14px;	
	}
	.review-slide .review-source {
		font-size: 15px;
	}
	.review-slide p {
		font-size: 14px;	
	}
	.review-prev,.review-next {
		font-size:18px;
		inline-size: 30px;
    	block-size: 30px;
	}
	.review-carousel {
		padding: 0 35px;
	}
	.cta-section .cta-section__microcopy {
		font-size: 14px;
	}
}
/* アコーディオン */
.pref-acc {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 8px 16px;
  background: #fff;
  margin: 12px 0 16px;
}
.pref-acc__summary {
  cursor: pointer;
  font-weight: 700;
  padding: 8px 2px;
  list-style: none;
}
.pref-acc__summary::-webkit-details-marker { display: none; }
.pref-acc[open] { box-shadow: 0 2px 10px rgba(0,0,0,.04); }

/* リスト */
.area-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: repeat(4, 1fr);
}
.area-list + .area-list { margin-top: 12px; } /* UL同士の間隔 */
.area-list__item a { text-decoration: none; }
.article .area-label, .article .gojuon-label {
	margin: 20px 0 0;
}
.article .area-block .area-label {
	margin: 0;
}
.article .area-block .area-label.gojuon {
	text-indent: 1rem;
}
.area-block {
  display: grid;
  grid-template-columns: 25% 1fr;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}
.area-block:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
	.area-list {
		grid-template-columns: repeat(3, 1fr);
	}
	.article .area-list {
		padding: 0;
	}
}
@media (max-width: 640px) {
	.area-list { 
		grid-template-columns: repeat(2, 1fr);
	}
	.area-block {
		grid-template-columns: 35% 1fr;
	}
}