/*
Theme Name: Teclab Classroom
Description: ひとり教室のホームページづくりを支える、テクラボ専用Cocoon子テーマ。
Author: Teclab
Version: 1.1.0
Template: cocoon-master
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teclab-classroom
*/
/* Teclab sidebar appearance. Append after the sidebar layout fix in style.css. */
body.teclab-classroom #sidebar {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tcl-ink, #30362f);
  font-size: 14px;
  line-height: 1.8;
}

body.teclab-classroom #sidebar .widget {
  margin: 0 0 24px;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid var(--tcl-line, #d9d7ce);
  border-radius: 3px;
  box-shadow: none;
  overflow-wrap: anywhere;
}

body.teclab-classroom #sidebar .widget-title,
body.teclab-classroom #sidebar .widgettitle {
  margin: 0 0 16px;
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #e8ecdf;
  border-radius: 0;
  box-shadow: none;
  color: var(--tcl-ink, #30362f);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}

/* Popular / recent article cards: one readable, compact layout. */
body.teclab-classroom #sidebar .widget-entry-card-link {
  display: block;
  margin: 0;
  padding: 12px 0;
  color: var(--tcl-ink, #30362f);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--tcl-line, #d9d7ce);
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
}

body.teclab-classroom #sidebar .widget-entry-card-link:first-child {
  padding-top: 0;
}

body.teclab-classroom #sidebar .widget-entry-card-link:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.teclab-classroom #sidebar .widget-entry-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.teclab-classroom #sidebar .widget-entry-card-thumb {
  float: none;
  flex: 0 0 72px;
  width: 72px;
  margin: 3px 0 0;
}

body.teclab-classroom #sidebar .widget-entry-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

body.teclab-classroom #sidebar .widget-entry-card-content {
  position: static;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--tcl-ink, #30362f);
}

body.teclab-classroom #sidebar .widget-entry-card-title {
  display: block;
  max-height: none;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

body.teclab-classroom #sidebar .widget-entry-card-link:hover {
  color: var(--tcl-rust, #a34a32);
  background: transparent;
}

body.teclab-classroom #sidebar .widget-entry-card-link:hover .widget-entry-card-title {
  color: var(--tcl-rust, #a34a32);
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* Categories, archives and navigation lists. */
body.teclab-classroom #sidebar .widget ul,
body.teclab-classroom #sidebar .widget ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.teclab-classroom #sidebar .widget li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--tcl-line, #d9d7ce);
}

body.teclab-classroom #sidebar .widget li:last-child {
  border-bottom: 0;
}

body.teclab-classroom #sidebar .widget li a {
  color: var(--tcl-ink, #30362f);
  line-height: 1.7;
  text-decoration: none;
}

body.teclab-classroom #sidebar .widget li a:hover {
  color: var(--tcl-rust, #a34a32);
  text-decoration: underline;
  text-underline-offset: .2em;
}

body.teclab-classroom #sidebar .widget li ul,
body.teclab-classroom #sidebar .widget li ol {
  margin: 8px 0 0;
  padding-left: 14px;
}

/* Search field: retain Cocoon's search button positioning. */
body.teclab-classroom #sidebar input[type="search"],
body.teclab-classroom #sidebar .search-edit {
  width: 100%;
  min-height: 44px;
  padding: 10px 44px 10px 12px;
  color: var(--tcl-ink, #30362f);
  background: var(--tcl-paper, #f7f4ee);
  border: 1px solid var(--tcl-line, #d9d7ce);
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}

body.teclab-classroom #sidebar .search-submit {
  color: var(--tcl-rust, #a34a32);
  background: transparent;
  border: 0;
}

body.teclab-classroom #sidebar :focus-visible {
  outline: 2px solid var(--tcl-rust, #a34a32);
  outline-offset: 3px;
}

.sns-share.ss-high-and-low-cl a .social-icon, .sns-share.ss-high-and-low-lc a .social-icon, .sns-share.ss-high-and-low-cl a .button-caption, .sns-share.ss-high-and-low-lc a .button-caption {
    color: #fff;
}
.sns-share.ss-col-3 a {
    color: #fff;
}

.teclab-classroom a.cat-link{
    color: #fff;
}

.tcl-articles-more {
	margin-top: 32px;
	text-align: center;
}
@media screen and (min-width: 1024px) {
  body.teclab-classroom.sidebar-right:not(.tcl-front):not(.no-sidebar) #content-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 28px;
  }

  body.teclab-classroom.sidebar-right:not(.tcl-front):not(.no-sidebar) #main {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  body.teclab-classroom.sidebar-right:not(.tcl-front):not(.no-sidebar) #sidebar {
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    margin: 0;
  }
}