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

:root {
  --cb-orange: #fa812f;
  --cb-orange-dark: #df6411;
  --cb-ink: #171717;
  --cb-muted: #6b625b;
}

.clinic-booster-theme {
  margin: 0;
  color: var(--cb-ink);
  background: #fff;
}

.cb-site-header {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  padding: 0 20px 0 24px;
  gap: 28px;
  border: 1px solid rgba(23, 23, 23, .07);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(65, 43, 27, .13);
  backdrop-filter: blur(12px);
}

.clinic-booster-landing .cb-site-header {
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
}

.cb-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--cb-ink);
  text-decoration: none;
}

.cb-logo-symbol {
  position: relative;
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px 15px 15px 4px;
  background: linear-gradient(145deg, #faaf08, #fa812f 58%, #fa4032);
  box-shadow: 0 8px 20px rgba(250, 129, 47, .22);
}

.cb-logo-symbol::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 24px;
  height: 24px;
  border: 6px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.cb-logo-symbol i {
  position: absolute;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
}

.cb-logo-symbol b {
  position: relative;
  z-index: 1;
  color: #fff;
  font: 900 25px/1 sans-serif;
}

.cb-logo-type {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.cb-logo-type strong {
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 950;
  letter-spacing: .055em;
}

.cb-logo-type small {
  color: var(--cb-muted);
  font-size: clamp(8px, .8vw, 11px);
  font-weight: 800;
}

.cb-header-cta,
.cb-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(100deg, #fa812f, #fa4032) 0 0 / 0 100% no-repeat,
    #171717;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-size .4s cubic-bezier(.22, 1, .36, 1);
}

.cb-header-cta::after,
.cb-mobile-cta::after {
  content: "\f1d8";
  margin-left: 12px;
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  transition: transform .25s ease;
}

.cb-header-cta:hover,
.cb-mobile-cta:hover {
  color: #fff;
  background-size: 100% 100%;
  transform: translateY(-2px);
}

.cb-header-cta:hover::after,
.cb-mobile-cta:hover::after {
  transform: translate(3px, -3px) rotate(-8deg);
}

.cb-site-footer,
#footer.footer {
  color: #fff;
  background: #171717;
}

#footer .footer-in {
  width: 100%;
  max-width: none;
  padding: 0;
}

#footer .footer-widgets,
#footer .footer-widgets-mobile {
  display: none;
}

.cb-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 170px;
  gap: 40px;
  padding: 42px max(48px, calc((100% - 1200px) / 2));
  color: #fff;
}

.cb-site-footer .cb-logo-type strong,
.cb-site-footer .cb-logo-type small,
#footer .cb-logo-type strong,
#footer .cb-logo-type small {
  color: #fff;
}

.cb-site-footer .cb-logo-symbol,
#footer .cb-logo-symbol {
  box-shadow: none;
}

.cb-copyright {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.cb-mobile-cta {
  display: none;
}

.clinic-booster-standard .cb-site-header {
  width: min(1320px, calc(100% - 64px));
  margin-top: 16px;
  padding: 0 20px 0 24px;
  border: 1px solid rgba(23, 23, 23, .07);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(65, 43, 27, .13);
}

.clinic-booster-standard {
  background: #fffaf3;
}

.clinic-booster-standard #content {
  margin-top: 42px;
}

.clinic-booster-standard #main {
  color: var(--cb-ink);
  border: 1px solid rgba(95, 62, 35, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(91, 56, 24, .09);
}

.clinic-booster-standard .entry-title {
  position: relative;
  margin-bottom: 38px;
  padding-bottom: 20px;
  color: var(--cb-ink);
  font-size: 28px;
  font-weight: 950;
  line-height: 1.35;
}

.clinic-booster-standard .entry-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #faaf08, #fa812f 58%, #fa4032);
}

.clinic-booster-standard .entry-content {
  color: #2c2927;
  font-size: 17px;
  line-height: 2;
}

.clinic-booster-standard .entry-content h2 {
  margin: 56px 0 28px;
  padding: 14px 0 14px 20px;
  border: 0;
  border-bottom: 2px solid #f2b276;
  border-left: 7px solid var(--cb-orange);
  border-radius: 0;
  color: var(--cb-ink);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
}

.clinic-booster-standard .entry-content h3 {
  margin: 38px 0 22px;
  padding: 10px 0 10px 16px;
  border: 0;
  border-left: 4px solid var(--cb-orange);
  border-radius: 0;
  color: var(--cb-ink);
  background: transparent;
  font-weight: 900;
}

.clinic-booster-standard .entry-content h4 {
  margin: 30px 0 18px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid #efc9a6;
  border-radius: 0;
  color: var(--cb-ink);
  background: transparent;
}

.clinic-booster-standard .entry-content a:not(.btn) {
  color: #c94e1d;
  text-decoration-color: rgba(201, 78, 29, .35);
  text-underline-offset: .18em;
}

.clinic-booster-standard .toc {
  width: min(100%, 620px);
  margin: 34px auto 46px;
  padding: 24px 28px;
  border: 1px solid #f0dcc5;
  border-radius: 18px;
  background: #fff9ef;
  box-shadow: 0 14px 34px rgba(91, 56, 24, .07);
}

.clinic-booster-standard .toc-title {
  color: var(--cb-ink);
  font-weight: 900;
}

.clinic-booster-standard .entry-content table {
  overflow: hidden;
  border: 1px solid #ead8c7;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
}

.clinic-booster-standard .entry-content th {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: #e96d22;
}

.clinic-booster-standard .entry-content td {
  border-color: #f0e1d4;
  background: #fffdf9;
}

.clinic-booster-standard .entry-content blockquote {
  padding: 24px 28px;
  border: 0;
  border-radius: 14px;
  color: #4d3b2e;
  background: #fff7e9;
}

.clinic-booster-standard .entry-content .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 560px);
  margin-right: auto;
  margin-left: auto;
  min-height: 66px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  color: #fff !important;
  background: #171717 !important;
  box-shadow: 0 15px 34px rgba(23, 23, 23, .2);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.clinic-booster-standard .entry-content .btn::after {
  content: "\f1d8";
  margin-left: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transform: rotate(-8deg);
}

.clinic-booster-standard .entry-content .btn:hover {
  background: linear-gradient(110deg, #c93424, #ed6b18) !important;
  transform: translateY(-2px);
}

/* Static pages do not need post dates, author details, or social follow boxes. */
.cb-page-no-sidebar .date-tags,
.cb-page-no-sidebar .post-date,
.cb-page-no-sidebar .post-update,
.cb-page-no-sidebar .entry-post-date,
.cb-page-no-sidebar .entry-update,
.cb-page-no-sidebar .post-meta,
.cb-page-no-sidebar .author-box,
.cb-page-no-sidebar .sns-share,
.cb-page-no-sidebar .sns-follow,
.cb-page-no-sidebar .footer-meta,
.cb-page-no-sidebar .edit-link {
  display: none !important;
}

/* Regular pages use one column; individual posts alone use the sidebar. */
.cb-page-no-sidebar #sidebar {
  display: none !important;
}

.cb-page-no-sidebar #content-in {
  display: block;
}

.cb-page-no-sidebar #main {
  float: none;
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
}

.cb-post-sidebar #content-in {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 52px);
}

.cb-post-sidebar #main {
  flex: 1 1 auto;
  min-width: 0;
}

.cb-post-sidebar #sidebar {
  display: block !important;
  flex: 0 0 320px;
  width: 320px;
}

.cb-post-sidebar #sidebar .widget-title,
.cb-post-sidebar #sidebar h2,
.cb-post-sidebar #sidebar h3 {
  margin-bottom: 18px;
  padding: 14px 16px 12px;
  border: 0 !important;
  border-bottom: 3px solid var(--cb-orange) !important;
  border-radius: 0 !important;
  color: var(--cb-ink) !important;
  background-color: #fff0d2 !important;
  background-image: none !important;
  font-weight: 900;
}

.cb-post-sidebar #sidebar a {
  color: #5f3d25;
  text-decoration: none;
}

.cb-post-sidebar #sidebar a:hover {
  color: #d94d20;
}

/* Match archive calendar icons to the site's orange accent. */
.cb-post-sidebar #sidebar .widget_archive li::before,
.cb-post-sidebar #sidebar .widget_archive li a::before,
.cb-post-sidebar #sidebar .wp-block-archives-list li::before,
.cb-post-sidebar #sidebar .wp-block-archives-list li a::before,
.cb-post-sidebar #sidebar .fa-calendar,
.cb-post-sidebar #sidebar .fa-calendar-alt {
  color: var(--cb-orange) !important;
}

/* Archive page heading calendar icon. */
.clinic-booster-standard .archive-title .fa-calendar,
.clinic-booster-standard .archive-title .fa-calendar-alt,
#archive-title .fa-calendar,
#archive-title .fa-calendar-alt {
  color: var(--cb-orange) !important;
}

.cb-sidebar-default .widget {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(65, 43, 27, .08);
}

.cb-sidebar-default .widget-title {
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 3px solid var(--cb-orange);
  font-size: 18px;
}

.cb-sidebar-default ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cb-sidebar-default li + li {
  margin-top: 10px;
}

.admin-bar.clinic-booster-landing .cb-site-header {
  top: 36px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1023px){
  .cb-site-header {
    width: calc(100% - 32px);
  }
}

@media screen and (max-width: 834px){
  .clinic-booster-standard .entry-title {
    font-size: 24px;
  }

  .clinic-booster-theme {
    padding-bottom: 68px;
  }

  .cb-site-header,
  .clinic-booster-standard .cb-site-header {
    min-height: 76px;
    padding: 0 14px;
  }

  .clinic-booster-landing .cb-site-header {
    top: 4px;
  }

  .clinic-booster-standard .cb-site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .clinic-booster-standard #content {
    margin-top: 24px;
  }

  .clinic-booster-standard #main {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .clinic-booster-standard .entry-content {
    font-size: 16px;
  }

  .clinic-booster-standard .entry-content h2 {
    margin-top: 44px;
    padding: 12px 0 12px 15px;
  }

  .clinic-booster-standard .toc {
    padding: 20px;
  }

  .admin-bar.clinic-booster-landing .cb-site-header {
    top: 50px;
  }

  .cb-logo {
    gap: 9px;
  }

  .cb-logo-symbol {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 4px;
  }

  .cb-logo-type strong {
    font-size: 14px;
  }

  .cb-logo-type small {
    font-size: 8px;
  }

  .cb-header-cta {
    display: none;
  }

  .cb-mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 1200;
    display: flex;
    min-height: 50px;
    padding: 9px 20px;
  }

  .cb-footer-content {
    flex-direction: column;
    min-height: 210px;
    padding: 44px 24px;
    text-align: center;
  }

  .cb-post-sidebar #content-in {
    display: block;
  }

  .cb-post-sidebar #main,
  .cb-post-sidebar #sidebar {
    width: 100%;
  }

  .cb-post-sidebar #sidebar {
    margin-top: 40px;
  }

  .cb-copyright {
    text-align: center;
  }
}

@media screen and (max-width: 480px){
  .cb-site-header {
    width: calc(100% - 24px);
  }

  .cb-logo-type small {
    max-width: 190px;
    white-space: nowrap;
  }
}
