@charset "utf-8";
/*
Theme Name: Racfm
Author: Mycare
Version: 1.0
*/


:root {
  --main-color: #333333;
  --char-color: #ffffff;
  --base-back-color: #f5f5f5;
  --base-line-color: #e5e5e5;
  --base-char-color: #111111;
  --accent-color: #a586bc;
  --ms-back-color: #f4efef;
  --ms-line-color: #ece0df;
  --ms-char-color: #111111;
  --flow-back-color: #a586bc;
  --flow-char-color: #ffffff;
  --body-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic Medium", YuGothicMedium, Verdana, Meiryo, "M+ 1p", sans-serif;
  --racfm-pink: #ece0df;
  --racfm-purple: #a586bc;
  --racfm-beige: #f5f2e9;
  --racfm-light-purple: #dbcfe7;
}
body {
  color: var(--main-color);
  font-family: var(--body-font-family);
}
/* =============
   ヘッダー（共通）
============= */
#header_wrap {
  z-index: 1001;
  padding: 1rem 0;
}
#header_wrap #header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-height: 60px !important;
  max-height: 60px !important;
  max-width: 1500px !important;
  width: 95% !important;
  margin: 0 auto !important;
}

#header_wrap #header #logo_area {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#header_wrap #header #logo_area h1 {
  margin: 0;
}

#header_wrap #header #logo_area h1 img {
  width: 150px !important;
  height: auto !important;
  display: block !important;
}

#header_wrap #header #headerInternal {
  flex: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#header_nav_area {
  margin: 0 auto;
}

#header_nav_area ul li {
  margin: 0 15px;
}

#header_nav_area ul li a {
  color: #333333;
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
}

#header_login_area {
  display: flex !important;
  align-items: center !important;
}

#header_login_area .user_login ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  gap: 1rem !important;
}

#header_login_area .user_login ul li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

#header_login_area .user_login ul li img {
  display: block !important;
  width: 28px !important;
  height: auto !important;
}

#header_login_area .user_login .user_cart_btn {
  position: relative;
  font-size: 78%;
  margin-left: 2px;
  width: 62px;
  flex-shrink: 0;
  text-align: center;
}

#header_login_area .user_login .user_cart_btn img {
  display: inline-block !important;
}

#header_login_area .user_login .user_cart_btn .quantity {
  position: absolute;
  top: -8px;
  left: 10px;
  background: var(--racfm-purple);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center !important;
  line-height: 20px;
  z-index: 9;
  font-size: 11px;
}

#header_nav_area ul li.nav-has-dropdown > span {
  color: #333333;
  white-space: nowrap;
  font-size: 14px;
  cursor: default;
}
@media screen and (max-width: 1000px) {
  #header_nav_area ul li {
    margin: 0 10px;
  }
}
.search_box_area {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 997;
  background: var(--racfm-pink);
}

.search_box_area .block_body {
  width: 60% !important;
  margin: 0.5rem auto 25px !important;
}

.search_box_area .block_body form {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

.search_box_area input[type="text"] {
  flex: 1 !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid #ccc !important;
  font-size: 14px !important;
}

.search_box_area input[type="submit"] {
  flex-shrink: 0 !important;
  padding: 0.5rem 1rem !important;
  background: #333 !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  width: auto !important;
}
.search_box_area .block_body form dl.formlist {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.search_box_area .block_body form dl.formlist dd {
  margin: 0 !important;
  padding: 0 !important;
}

.search_box_area .block_body form dl.formlist dd input[type="text"] {
  width: 100% !important;
  height: 50px !important;
  padding: 0.5rem 1rem !important;
  border: none !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

.search_box_area .block_body form p.btn {
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.search_box_area .block_body form p.btn input[type="submit"] {
  padding: 0 !important;
  background-color: var(--main-color) !important;
  background-image: url(https://racfm.jp/user_data/packages/raku2pc/img/common/submit-img.png) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 28% !important;
  width: 80px !important;
  height: 50px !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 2px !important;
}

/* =============
   フッター
============= */
#footer_sns #footer_sns_title {
  font-size: 21px !important;
  color: #333333 !important;
  font-weight: bold ;
  margin: 0 0 20px !important;
}

#footer_company #footer_company_inner .company_link_group ul li a {
  text-decoration: none !important;
  color: #333333 !important;
  font-size: 12.6px !important;
}
.base_design #copyright {
  padding: 30px 0 !important;
  text-align: center !important;
  margin: 0 !important;
}
@media screen and (max-width: 768px) {
  #footer_company#footer_company #footer_company_inner .company_link_group ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 1rem 0 !important;
  }
  #footer_company#footer_company #footer_company_inner .company_link_group ul li {
    margin: 0;
    padding: 0.5rem 0;
	border: none;
  }
}
/* =============
   アーカイブ共通
============= */
.archive-title {
  font-size: 1.8rem !important;
  display: table;
  margin: 0 auto 3rem;
  position: relative;
  padding-bottom: 12px;
  border-bottom: none !important;
}
.archive-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background-color: #333;
}
.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.single .archive-wrap {
  max-width: 850px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1080px) and (min-width: 769px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card__thumb img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block;
}

.post-card__body {
  padding: 0.75rem 0;
}

.post-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--racfm-purple);
  background-color: #ebe8ef;
  padding: 0.2rem 0.6rem;
  margin: 0;
}

.post-card__title {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.post-card__date {
  font-size: 0.8rem;
  color: #999;
}

/* =============
   ページネーション
============= */
.pagination {
  text-align: center;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination .current {
  background-color: var(--racfm-purple);
  color: #fff;
  border-color: var(--racfm-purple);
}
/* =============
   個別記事
============= */
.single-post__thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.single-post__header {
  margin-bottom: 2rem;
}

.single-post__date {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
}

.single-post__title {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  border-bottom: none;
}

.single-post__content {
  line-height: 1.8;
}

.single-post__content img {
  width: 100% !important;
  height: auto !important;
}

.single-post__content figure {
  width: 100% !important;
  margin: 0 0 1rem !important;
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
/* =============
   関連記事
============= */
.related-posts {
  max-width: 1200px;
  margin: 4rem auto 0;
  text-align: center;
  position: relative;
}

.related-posts__title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.related-posts__carousel {
  margin: 0 -0.75rem;
}

.related-posts__item {
  padding: 0 0.75rem;
  text-align: left;
}

.related-posts__item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-posts__thumb img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block;
  margin-bottom: 0.5rem;
}

.related-posts__post-title {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.3rem 0;
}

.related-posts__date {
  font-size: 0.75rem;
  color: #999;
}

.related-posts .slick-prev,
.related-posts .slick-next {
  display: block !important;
  width: 30px;
  height: 30px;
  z-index: 10;
}

.related-posts .slick-prev {
  left: -40px;
}

.related-posts .slick-next {
  right: -40px;
}

.related-posts .slick-prev:before,
.related-posts .slick-next:before {
  color: var(--racfm-purple);
  font-size: 30px;
}
/* =============
   スマホ用ドロワーメニュー
============= */
.drawer_button {
  display: none;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  flex-shrink: 0;
  padding: 0;
}

.drawer_bar {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--main-color);
  transition: 0.3s;
}

.drawer_button.active .drawer_bar1 {
  transform: translateY(8px) rotate(45deg);
}
.drawer_button.active .drawer_bar2 {
  opacity: 0;
}
.drawer_button.active .drawer_bar3 {
  transform: translateY(-8px) rotate(-45deg);
}

.drawer_bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

nav {
  position: fixed;
  top: 0;
  right: -312px;
  width: 312px;
  height: 100%;
  background-color: var(--racfm-pink);
  z-index: 999;
  transition: right 0.3s;
  overflow-y: auto;
}

nav.open {
  right: 0;
}

nav .drawer_nav {
  list-style: none;
  margin: 0;
  padding: 50px 0 0;
}

nav .drawer_nav li.ttl {
  border-bottom: 1px solid #eee;
}

nav .drawer_nav li.ttl a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
}

/* =============
   コンテンツ（共通）
============= */


/* =============
   981px以上：PC表示（ヘッダー固定）
============= */
@media screen and (min-width: 981px) {
  #header_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  main {
    padding: 9rem 1rem 4rem;
  }
}

/* =============
   980px以下：スマホ表示（ヘッダー固定無し）
============= */
@media screen and (max-width: 980px) {
  #header_wrap {
    position: relative;
    top: 0;
    padding: 0;
  }
  main {
    padding: 4rem 1rem;
  }
  #header_wrap #header {
    min-height: auto !important;
    max-height: none !important;
    padding: 8px 10px;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #header_wrap #header #logo_area h1 img {
    width: 80px !important;
  }
  #header_login_area .user_login ul li img {
    width: 28px !important;
  }
  #header_login_area .user_login .user_cart_btn .quantity {
    position: absolute;
    top: -4px;
    left: -8px;
    background: var(--racfm-purple);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center !important;
    line-height: 20px;
    z-index: 9;
    font-size: 11px;
  }
  .drawer_button {
    display: block;
  }
  #header_nav_area {
    display: none;
  }
}
