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

/************************************
** Hishop editorial style
************************************/
:root {
  --mm-canvas: #faf7f3;
  --mm-surface: #fffdfb;
  --mm-linen: #f3ece7;
  --mm-line: #e4d9d2;
  --mm-ink: #292524;
  --mm-body: #5f5652;
  --mm-rose: #c9828a;
  --mm-rose-dark: #a75f69;
  --mm-rose-pale: #f3e4e3;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mm-canvas);
  color: var(--mm-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: .02em;
}

a {
  color: var(--mm-rose-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

a:hover {
  color: #7f444d;
}

/* Header */
.header {
  background: var(--mm-surface);
}

.header-in {
  padding-top: 28px;
  padding-bottom: 22px;
}

.logo-header img {
  width: auto;
  max-width: min(720px, 78vw);
  max-height: 170px;
  object-fit: contain;
}

.tagline {
  color: #766c67;
  font-size: 13px;
  letter-spacing: .12em;
}

.navi {
  background: rgba(255, 253, 251, .96);
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
  box-shadow: none;
}

.navi-in > ul > li > a {
  color: var(--mm-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  padding-left: 22px;
  padding-right: 22px;
}

.navi-in > ul > li > a:hover,
.navi-in > ul > li.current-menu-item > a {
  color: var(--mm-rose-dark);
  background: var(--mm-rose-pale);
}

/* Layout */
.content {
  margin-top: 48px;
  margin-bottom: 72px;
}

.main {
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: none;
  padding: 44px 48px;
}

.sidebar {
  background: transparent;
}

.sidebar .widget {
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 24px;
  padding: 24px;
}

.sidebar h2,
.sidebar h3,
.widget-sidebar-title {
  background: transparent !important;
  border: 0;
  border-left: 3px solid var(--mm-rose);
  color: var(--mm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.45;
  margin: 0 0 18px;
  padding: 2px 0 2px 14px;
}

.search-box {
  border: 1px solid var(--mm-line);
  border-radius: 4px;
  box-shadow: none;
}

.search-edit {
  color: var(--mm-ink);
}

/* Typography */
.entry-title,
.article h1,
.article h2,
.article h3,
.page-title,
.archive-title {
  color: var(--mm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.entry-title,
.article h1 {
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.45;
}

.article h2 {
  background: var(--mm-linen);
  border: 0;
  border-left: 4px solid var(--mm-rose);
  border-radius: 0 4px 4px 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .045em;
  margin-top: 64px;
  padding: 18px 22px;
}

.article h3 {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mm-line);
  font-size: 21px;
  font-weight: 600;
  margin-top: 42px;
  padding: 0 0 10px;
}

.article p,
.entry-content p {
  line-height: 2;
  margin-bottom: 1.55em;
}

.article blockquote {
  background: var(--mm-linen);
  border: 0;
  border-left: 3px solid var(--mm-rose);
  color: var(--mm-body);
  padding: 22px 28px;
}

/* Cards */
.entry-card-wrap,
.related-entry-card-wrap,
.widget-entry-card {
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  background: var(--mm-surface);
  border-color: #d2b8b5;
  transform: translateY(-2px);
}

.entry-card-thumb img,
.related-entry-card-thumb img {
  transition: transform .35s ease;
}

.entry-card-wrap:hover img,
.related-entry-card-wrap:hover img {
  transform: scale(1.02);
}

.entry-card-title,
.related-entry-card-title {
  color: var(--mm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.55;
}

.entry-card-snippet,
.entry-card-meta {
  color: #756a65;
}

.cat-label {
  background: var(--mm-rose-dark);
  border: 0;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: .05em;
  padding: 4px 8px;
}

/* Controls */
.btn,
button,
input[type="submit"],
.comment-btn {
  border-radius: 4px;
}

.btn,
input[type="submit"],
.comment-btn {
  background: var(--mm-rose-dark);
  border: 1px solid var(--mm-rose-dark);
  color: #fff;
  box-shadow: none;
}

.btn:hover,
input[type="submit"]:hover,
.comment-btn:hover {
  background: #884a54;
  border-color: #884a54;
  color: #fff;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 4px;
  color: var(--mm-ink);
}

/* Images */
.article img,
.entry-content img {
  border-radius: 6px;
}

.wp-caption {
  color: #81756f;
  font-size: 13px;
}

/* Footer */
.footer {
  background: #eee1de;
  color: var(--mm-body);
  border-top: 1px solid #dfceca;
}

.footer a {
  color: var(--mm-ink);
}

.footer a:hover {
  color: var(--mm-rose-dark);
}

.footer-bottom {
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-bottom-logo .site-logo-image {
  max-height: 64px;
  width: auto;
}

/************************************
** Responsive
************************************/
@media screen and (max-width: 1023px) {
  .content {
    margin-top: 32px;
  }

  .main {
    padding: 34px 30px;
  }
}

@media screen and (max-width: 834px) {
  .header-in {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .logo-header img {
    max-width: 82vw;
    max-height: 110px;
  }

  .content {
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .main {
    border-radius: 6px;
    padding: 28px 22px;
  }

  .sidebar .widget {
    padding: 20px;
  }

  .article h2 {
    font-size: 22px;
    margin-top: 48px;
    padding: 15px 17px;
  }
}

@media screen and (max-width: 480px) {
  body {
    letter-spacing: .01em;
  }

  .logo-header img {
    max-width: 88vw;
    max-height: 88px;
  }

  .main {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 24px 18px;
  }

  .article h2 {
    font-size: 20px;
  }

  .article h3 {
    font-size: 18px;
  }
}


/************************************
** Article CTA buttons
************************************/
.wp-block-buttons,
.btn-wrap {
  justify-content: center;
  text-align: center;
}

.wp-block-button__link,
.article .btn-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 14px 34px;
  background: var(--mm-rose-dark);
  border: 1px solid var(--mm-rose-dark);
  border-radius: 999px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(112, 65, 72, .12);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wp-block-button__link:hover,
.article .btn-wrap .btn:hover {
  background: #884a54;
  border-color: #884a54;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(112, 65, 72, .18);
}

@media screen and (max-width: 480px) {
  .wp-block-button,
  .wp-block-button__link,
  .article .btn-wrap .btn {
    width: 100%;
  }

  .wp-block-button__link,
  .article .btn-wrap .btn {
    min-width: 0;
    padding: 13px 20px;
  }
}
