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

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
  /* --site-background-color: #f9f7ef; */
   /* --site-sidebar-background-color: transparent; */
  /*--site-surface-color: #ffffff; 
  --site-surface-alt-color: #f9f7ef;
  --site-border-color: #ddd6c4;
   --site-h-color: #4d767b;; 
  --site-accent-color: #8c7350;*/
--keycolor__red:#ff0000;
--keycolor__blue:#0070c0;
--keycolor__green:#00b050;
--border-color__gray:#e3e3e3;
}

.red,
.editor-styles-wrapper .red {
  color: var(--keycolor__red);
}

.bold-red,
.editor-styles-wrapper .bold-red {
  color: var(--keycolor__red);
}

.blue,
.editor-styles-wrapper .blue {
  color: var(--keycolor__blue);
}

.bold-blue,
.editor-styles-wrapper .bold-blue {
  color: var(--keycolor__blue);
}

.green,
.editor-styles-wrapper .green {
  color: var(--keycolor__green);
}

.bold-green,
.editor-styles-wrapper .bold-green {
  color: var(--keycolor__green);
}

/************************************
** Cocoonボタン色
************************************/
.btn-red,
.ranking-item-link a,
.btn-wrap.btn-wrap-red > a,
.inline-button-red {
  background-color: var(--keycolor__red);
  border-color: var(--keycolor__red);
}

.btn-blue,
.ranking-item-detail a,
.btn-wrap.btn-wrap-blue > a,
.inline-button-blue {
  background-color: var(--keycolor__blue);
  border-color: var(--keycolor__blue);
}

.btn-green,
.btn-wrap.btn-wrap-green > a,
.inline-button-green {
  background-color: var(--keycolor__green);
  border-color: var(--keycolor__green);
}


.page .date-tags {
  display: none;
}

#sidebar .widget-entry-card-update-date,
#sidebar-scroll .widget-entry-card-update-date,
#sidebar-menu-content .widget-entry-card-update-date {
  display: none;
}

.list .a-wrap:hover{
  box-shadow:none;
}

.tagline {
  display: none;
}

#content-in.content-in.wrap {
  padding-bottom: 4rem;
}

#header-container-in {
  box-sizing: border-box;
  padding-inline: 30px;
}

#header-in.wrap {
  width: 100%;
  padding: 5px 0;
  position: relative;
}

.header-in {
  justify-content: flex-start;
}

.logo-image {
  width: 480px;
  padding: 0;
}

.site-name-text-link {
  padding: 0;
}

.header-container-in.hlt-top-menu .navi-in > ul {
  justify-content: flex-end;
}

.navi-in > ul li {
  width: auto !important;
  flex-shrink: 0;
}

.navi-in a{
  padding-left:2em;padding-right:2em;
}

.navi .item-label,
.navi .item-description {
  overflow: visible;
  text-overflow: clip;
}

.header-container-in.hlt-top-menu .navi-in > ul li {
  padding-left: 5px;
  padding-right: 0px;
}

.header-container-in.hlt-top-menu .navi-in a{
font-size:0.9em;
padding-left:1em;padding-right:1em;
}


.header-container-in.hlt-top-menu .logo-header img {
  max-height: 40px;
}

#header-container.fixed-header #header-container-in.wrap {
  width: 100%;
  margin: 0;
}

#header-container.fixed-header #header-in.wrap {
  padding: 0;
}

#header-container.fixed-header .logo.logo-header.logo-image {
  text-align: left;
}

.header-content-area {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 2;
}

.header-content-area .widget {
  margin: 0;
}

.header-content-area .widget-title {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.header-content-area .widget > *:last-child,
.header-content-area .widget_block > *:last-child,
.header-content-area p:last-child {
  margin: 0;
}

.header-content-area a {
  text-decoration: none;
}

.header-content-area .textwidget,
.header-content-area .widget_block {
  margin: 0;
}

.header-extra-menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-extra-menu-list li {
  margin: 0;
  padding: 0;
}

.widget-header-content .header-extra-menu-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 2em;
  line-height: 1;
  white-space: nowrap;
  font-size:0.8em;
  border:solid 1px var(--keycolor__red);
  color:var(--keycolor__red);
}

.widget-header-content .header-extra-menu-list li.extramenu_contact a{
  border:solid 1px var(--keycolor__red);
  color:var(--keycolor__red);
}

.widget-header-content .header-extra-menu-list li.extramenu_contact a:hover {
  background-color:var(--keycolor__red);
  color: #fff;
  opacity: 1;
}

#header-container.fixed-header .header-content-area {
  display: none;
}

.navi-footer-in a{
  font-size:13px;
}

/* 見出し*/

.article h2{
margin: 4em 0 2em 0;
padding: 10px 0;
position: relative;
background-color:transparent;
border-bottom:5px solid var(--border-color__gray);
}

.article .toc + h2{
  margin-top:2em;
}

.article h2:before{
display: block;
content: "";
width: 100%;
 background: linear-gradient(
    to right,
    #ff1f1f 0 33.33%,
    #17a34a 33.33% 66.66%,
    #1f78d1 66.66% 100%
  );
bottom: -5px;
left: 0;
z-index: 3;
height: 5px;
position:absolute;
width:16%;
}

.body .widget{
  margin-bottom: 2.5em;
}

.toc {
    width: 80%;
    padding-left:2em;
}

.article h3{
  border-left-color:var(--keycolor__red);
  border-left-color:black;
  border-left-color:transparent;

  border-right:none;
  border-top:none;
  border-bottom:none;
  border-left-width:4px;
  background-color:#f5f5f5;
  font-size:20px;
}

h4.h4_red::first-letter{
  color:var(--keycolor__red);
}

h4.h4_green::first-letter{
  color:var(--keycolor__green);
}

h4.h4_blue::first-letter{
  color:var(--keycolor__blue);
}

.sidebar h2, .sidebar h3{
    background-color: transparent;
    border-bottom: 2px solid var(--border-color__gray);
    padding: 0;
    position:relative;
}
.sidebar h2::before, .sidebar h3::after {
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    border-bottom: 2px solid var(--keycolor__green);
    opacity:0.5;
    content: " ";
}

.widget_nav_menu ul li a{
  padding:5px;
}

/* Footer CTA */
.footer-cta {
  background-color: var(--keycolor__blue);
  color: #fff;
  padding: 3rem 2.5rem 4rem;
}

.footer-cta__inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.footer-cta__eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
}

.footer-cta__eyebrow::after {
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  margin: 2px auto 0;
  background: linear-gradient(
    to right,
    #ff1f1f 0 33.33%,
    #17a34a 33.33% 66.66%,
    #ffffff 66.66% 100%
  );
}

.footer-cta__title {
  margin: 0.7em 0 0;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1.2;
}

h2.footer-cta__title {
  font-size: 1.8rem;
}

.footer-cta__description {
  margin: 1.5rem auto 0;
  max-width: 720px;
  font-size: inherit;
  line-height: 1.8;
}

.footer-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 3rem;
}

.footer-cta__action {
  align-items: center;
  background-color: #fff;
  border-radius: 16px;
  color: var(--keycolor__blue);
  display: flex;
  gap: 14px;
  justify-content: center;
  min-height: 70px;
  padding: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta__action:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  color: var(--keycolor__blue);
  opacity: 1;
  transform: translateY(-2px);
}

.footer-cta__action-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-cta__action-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
}

.footer-cta__action--phone {
  flex-direction: row;
  flex-wrap: nowrap;
  font-family: "Montserrat", sans-serif;
  gap: 0.35em;
}

.footer-cta__action--phone .footer-cta__action-label,
.footer-cta__action--phone .footer-cta__action-value {
  white-space: nowrap;
}

.footer-cta__action--phone .footer-cta__action-label {
  flex-shrink: 0;
  font-size: 1.6rem;
}

.footer-cta__action--phone .footer-cta__action-value {
  font-size: 1.9rem;
}

.footer-cta__action--button {
  font-size: 1.5rem;
}

.footer-cta__action--button .footer-cta__action-value {
  font-size: 1.3rem;
}

.footer-cta__action--button .fa {
  font-size: 0.95em;
}

.footer-cta__notes {
  margin-top: 2.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-cta__notes p {
  margin: 0;
  line-height: 150%;
}

.footer-cta-widget-area .widget {
  margin-bottom: 0;
}

.footer-cta-widget-area .widget:last-child {
  margin-bottom: 0;
}

.footer-cta + .footer,
#footer-cta-widget-area + .footer {
  margin-top: 0;
}


.btn-l, .ranking-item-link-buttons a,
.btn-wrap.btn-wrap-l > a {
  font-size: 17px !important;
}





/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .header-content-area {
    display: none;
  }

  .logo-menu-button img{
    max-height:36px;
  }
  .footer-cta__actions {
    grid-template-columns: 1fr;
  }
  .footer-cta__action {
    min-height: 96px;
    padding: 20px 24px;
  }
  .footer-cta__action--button {
    font-size: 1.75rem;
  }

  .footer-cta__title,
  h2.footer-cta__title {
    font-size: 1.65rem;
  }

	.toc {
	    width: 100%;
	}

}

@media screen and (max-width: 599px){
  .footer-cta__title,
  h2.footer-cta__title {
    font-size: 1.45rem;
  }
}
