@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*
Theme Name: sada-tool Child
Version: 1.0
Template: sada-tool
*/

:root {
  --primary: #002d67;
  --secondary: #48b67e;
  --danger: #cc0000;
  --blue: #0050a9;
  --light-blue: #17c0d4;
  --pale-blue: #eff3f7;
  --yellow: #ffdb82;
  --gray: #dedede;
  --light-gray: #f7f7f7;
  --light: #f4f4f4;
  --white: #fff;
  --dark: #252525;

  --breakpoint-sm: false;
  --breakpoint-md: false;
  --breakpoint-lg: false;
  --breakpoint-xl: false;
  --breakpoint-xxl: false;

  @media (max-width: 480px) {
    --breakpoint-sm: true;
  }

  @media (max-width: 834px) {
    --breakpoint-md: true;
  }

  @media (max-width: 1023px) {
    --breakpoint-lg: true;
  }

  @media (max-width: 1200px) {
    --breakpoint-xl: true;
  }

  @media (max-width: 1400px) {
    --breakpoint-xxl: true;
  }
}

/*  ========================================================================== */
/* 全体 */
/*  ========================================================================== */

html {
  font-size: 110%;
}

@media (max-width: 1400px) {
  html {
    font-size: 100%;
  }
}

@media (max-width: 1023px) {
  html {
    font-size: 95%;
  }
}

body, button, input, select, optgroup, textarea {
  color: var(--primary);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

body {
  background: var(--pale-blue);
  letter-spacing: 1px;
}

/* リンク */
a, a:hover, a:visited {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

/* 文字 */
h1 {
  font-size: 1.45em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.15rem;
}

article h2 {
  margin-top: 0;
}

h3 {
  font-size: 1rem;
}

.txt-bold {
  font-weight: bold;
}

.marker-yellow {
  box-shadow: 0px -10px 0px var(--yellow) inset;
  font-style: normal;
}

/* リスト */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*  ========================================================================== */
/* 管理画面 */
/*  ========================================================================== */
/* ACFのラジオボタンを横並びにする */
ul.acf-radio-list, ul.acf-checkbox-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

ul.acf-radio-list li, ul.acf-checkbox-list li {
  margin-right: 1rem;
}

/*  ========================================================================== */
/* メイン */
/*  ========================================================================== */
main, aside, footer {
  margin-left: 250px;
  padding: 0.75rem 1rem;
}

.post, .page {
  margin: 0 0 1rem;
}

article {
  position: relative;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
}

/*  ========================================================================== */
/* ヘッダー */
/*  ========================================================================== */

.header-wrap {
  background: var(--pale-blue);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  padding: 1rem;
  z-index: 5;
}

.header-wrap .site-title {
  margin: 1rem 0;
}

.header-wrap .site-title a {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.header-menu ul {
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 2px;
  padding: 0 1rem;
}

.header-menu ul li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c8cfd5;
}

.header-menu ul li a {
  display: block;
  flex: 1;
  font-size: 0.9rem;
  margin: 0;
  padding: 0.8rem 0.5rem;
}

.header-menu ul li.header-fav a {
  color: var(--secondary);
}

.header-menu_icon {
  min-width: 1.3rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
}

.header-menu_icon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px var(--primary);
  border-right: solid 1px var(--primary);
  position: absolute;
  left: calc(50% - 1px);
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.header-fav .header-menu_icon::before {
  border-top: solid 1px var(--secondary);
  border-right: solid 1px var(--secondary);
}

.header-menu_icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: var(--secondary);
  z-index: 0;
  transition: all 0.3s ease-out;
  border-radius: 50%;
}

.header-menu ul li:hover .header-menu_icon::before {
  border-color: var(--white);
  z-index: 5;
}

.header-menu ul li:hover .header-menu_icon::after {
  width: 1.3rem;
  height: 1.3rem;
  z-index: 4;
}

.header-info {
  display: flex;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
}

.header-info_link {
  border: 1px solid var(--primary);
  border-radius: 4px;
  width: calc(50% - 0.25rem);
}

.header-info_link:hover {
  background: var(--gray);
  transition: .4s;
}

.header-info_link a {
  display: flex;
  padding: 8px 6px;
  flex-direction: column;
  align-items: center;
}

.header-info_link a i {
  font-size: 1.25rem;
}

.header__fav {
  background: var(--secondary);
  border: none;
}

.header__fav a {
  color: var(--white);
}

.header__search {
  width: 100%;
}

.header__search form {
  display: flex;
}

.header__search input[type="text"] {
  border: 1px solid var(--primary);
  font-size: 0.85rem;
  width: calc(100% - 41px);
  margin-right: 6px;
}

.header__search button {
  background: var(--primary);
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 0.8rem;
  height: 35px;
  width: 35px;
  padding: 0;
  transition: .3s;
}

.header__search button:hover {
  background-color: var(--light-blue);
}

.hamburger {
  display: none;
}

/* ハンバーガーメニュー */
@container style(--breakpoint-lg: true) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
  }

  .header-wrap {
    display: none;
    left: auto;
    right: 0;
    width: 280px;
    padding: 35px 30px 15px;
  }

  main, aside, footer {
    margin-left: 0;
  }

  .header-wrap .site-title {
    margin: 1rem 0 0.5rem;
    padding: 0;
  }

  .header-info {
    margin: 20px 0 0;
    gap: 12px;
  }

  .header-info_link {
    width: calc(50% - 6px);
  }

  .header-info_link a i {
    margin-right: 0;
    font-size: 20px;
  }

  .header-menu ul {
    padding: 0;
  }

  .header-menu ul li a {
    font-size: 1rem;
  }

  .header__search {
    width: 100%;
  }

  .hamburger {
    display: block;
    position: absolute;
    background: var(--primary);
    border-radius: 0 0 0 22px;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 52px;
    height: 47px;
    z-index: 10;
  }

  .hamburger span {
    position: absolute;
    background-color: var(--white);
    border-radius: 2px;
    transition: all .3s;
    right: 13px;
    width: 24px;
    height: 4px;
    z-index: 15;
  }

  .hamburger span:nth-of-type(1) {
    top: 14px;
  }

  .hamburger span:nth-of-type(2) {
    top: 26px;
  }

  .hamburger.open span {
    width: 26px;
  }

  .hamburger.open span:nth-of-type(1) {
    top: 14px;
    transform: translateY(6px) rotate(-45deg);
  }

  .hamburger.open span:nth-of-type(2) {
    top: 26px;
    transform: translateY(-6px) rotate(45deg);
  }
}

/*  ========================================================================== */
/* フッター */
/*  ========================================================================== */
.site-info {
  text-align: center;
}

.site-info a {
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/*  ========================================================================== */
/* トップ */
/*  ========================================================================== */
.post-10 h1 {
  display: none;
}

.tool-top_img {
  border-radius: 0.5rem 0.5rem 0 0;
  margin: -1rem -1.25rem 0;
  overflow: hidden;
}

.tool-top_img img {
  width: 100%;
}

.tool-list-top {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.tool-list-top li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.tool-list-top li::before {
  content: "\F287";
  font-family: bootstrap-icons;
  font-size: 0.5rem;
  vertical-align: middle;
  color: var(--gray);
  margin: 0.25rem 0.5rem 0 0;
}

.tool-list-top li p {
  margin: 0;
}

/* 最新情報 */
.top-news {
  position: relative;
  min-height: 25rem;
  padding-right: 37%;
}

.top-news_img {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  border-radius: 0 0.5rem 0.5rem 0;
  overflow: hidden;
}

.top-news_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news_list li {
  display: flex;
  align-items: center;
  border-bottom: 1px dotted var(--gray);
  font-size: 0.95rem;
  width: 100%;
  padding: 0.5rem 0;
}

.top-news_list li span {
  color: var(--secondary);
  font-weight: bold;
  width: 8rem;
}

.top-news_list li p {
  flex: 1;
  margin: 0;
}

.top-news_list li.top-news__ttl {
  font-size: 0.85rem;
  font-weight: bold;
}

@container style(--breakpoint-lg: true) {
  .tool-top_img img {
    width: 120%;
    max-width: none;
    object-fit: cover;
  }

  .top-news {
    min-height: auto;
    padding-right: inherit;
  }

  .top-news_img {
    display: none;
  }

  .top-news_list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .top-news_list li span {
    width: 6.5rem;
  }
}

/*  ========================================================================== */
/* アーカイブページ（全ての投稿） */
/*  ========================================================================== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.pagination span {
  display: block;
  background: var(--white);
  border-radius: 0.5rem;
  color: var(--gray);
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
}

.pagination a {
  display: block;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
}

/* メーカーリスト */
#menu-maker-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

#menu-maker-list li a {
  background: var(--secondary);
  border-radius: 0.5rem;
  color: var(--white);
  display: block;
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  margin: 0 0.5rem 0.5rem 0;
  transition: .3s;
}

#menu-maker-list li a:hover {
  opacity: .6;
}

/*  ========================================================================== */
/* 投稿ページ（ツール） */
/*  ========================================================================== */
/* パンくずリスト */
#breadcrumb {
  width: 100%;
  font-size: 0.75rem;
  color: #777;
  margin-top: 10px;
  white-space: nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
}

#breadcrumb ul {
  display: flex;
  align-items: center;
  margin: 0 0 1rem;
}

#breadcrumb ul li a::after {
  display: inline-block;
  content: '';
  width: 6px;
  height: 6px;
  border-top: solid 1.5px #aaa;
  border-right: solid 1.5px #aaa;
  margin-right: 10px;
  margin-left: 10px;
  transform: rotate(45deg);
}

/* タイトル */
.tool_ttl {
  display: flex;
  align-items: center;
}

.tool_ttl img {
  height: 1.1rem;
  margin-right: 0.5rem;
}

/* 要約 */
.entry-ttl_detail {
  margin: 0;
}

.entry-tool-extract {
  background: var(--light-gray);
  border: 1px solid var(--gray);
  border-radius: 0.5rem;
  font-size: 1.1rem;
  margin: 0;
  padding: 1rem;
}

.entry-tool-extract p {
  margin: 0;
}

/* 詳細（使い方等） */
.entry-tool-detail {
  margin: 0;
  padding: 0;
}

.entry-tool-detail h3 {
  font-size: 1.25rem;
  margin: 0;
}

.archive .entry-tool-detail {
  display: none;
}

/* カスタムフィールド：リンクボタン */
.entry-tool-link {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 0;
}

.entry-tool-link a {
  display: block;
  background: var(--secondary);
  border-radius: 0.3rem;
  color: var(--white);
  width: fit-content;
  padding: 1rem 1.3rem;
}

.entry-tool-link a.link_blank::after {
  content: "\F1C5";
  font-family: bootstrap-icons;
  font-size: 95%;
  vertical-align: text-bottom;
}

.entry-ttl_detail .entry-tool-link a.link_blank::after {
  padding-left: 4px;
}

/* 関連ツール */
.site-tool-main_connection h3 {
  margin: 0 0 1rem;
}

.site-tool__connection_list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-tool__connection_list li {
  width: calc(33.33% - 0.6666rem);
}

.site-tool__connection_list li a {
  display: flex;
  align-items: center;
  background: var(--light-gray);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
}

.site-tool__connection_list li a:hover {
  background: var(--gray);
  transition: .4s;
}

.site-tool__connection_list img {
  width: 0.95rem;
  margin-right: 6px;
}

/* 閲覧履歴 */
.site-tool__history_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-tool__history_list li {
  display: flex;
  border-bottom: 1px dotted var(--blue);
  width: calc(50% - 0.5rem);
  padding: 0.5rem 0.7rem;
  flex-wrap: wrap;
}

.site-tool__history_list li a:hover {
  color: var(--secondary);
  transition: .2s;
}

.history_ttl {
  flex: 1;
  font-size: 0.9rem;
  font-weight: bold;
}

.history_cat {
  width: 12rem;
  font-size: 0.8rem;
  padding-left: 1rem;
  border-left: 1px dashed var(--gray);
}

@container style(--breakpoint-lg: true) {
  .site-tool__history_list {
    gap: 0.25rem;
  }

  .site-tool__history_list li {
    display: flex;
    width: 100%;
  }

  .site-tool__history_list li:last-child {
    border-bottom: none;
  }

  .history_ttl {
    font-size: 1rem;
  }

  .history_cat {
    width: 100%;
    padding-left: 0;
    border-left: none;
  }
}

/*  ========================================================================== */
/* 一覧ページ（ツール） */
/*  ========================================================================== */

.site-tool_list {
  display: flex;
  background: var(--white);
  border-radius: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  margin: 0 0 1rem;
}

.site-tool_list article {
  display: flex;
  flex-direction: column;
  background: var(--pale-blue);
  border: 1px solid var(--gray);
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 0;
  width: calc(33.3333% - 0.6666rem);
}

.site-tool_list h3 {
  margin: 0;
}

.site-tool_list .entry-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-size: 0.9rem;
  margin: 0;
}

.site-tool_list header {
  width: calc(100% - 3rem);
}

.site-tool_list .entry-content p {
  flex-grow: 1;
  margin: 0.8rem 0;
}

.site-tool_list .entry-tool-link {
  margin: 0;
}

.site-tool_list .entry-tool-link a {
  padding: 0.7rem 1rem;
  font-size: 0.95em;
  transition: .3s;
}

.site-tool_list .entry-tool-link a:hover {
  opacity: .6;
}

.entry-tool-maker {
  display: flex;
  font-size: 0.7rem;
  margin: 0.25rem 0 0;
}

.entry-tool-maker li a {
  display: block;
  border: 1px solid var(--primary);
  border-radius: 0.25rem;
  margin: 0 0.5rem 0 0;
  padding: 0.1rem 0.25rem;
  transition: .3s;
}

.entry-tool-maker li a:hover {
  background: var(--primary);
  color: var(--white);
}

@container style(--breakpoint-xxl: true) {
  .site-tool_list article {
    width: calc(50% - 0.5rem);
  }
}

@container style(--breakpoint-lg: true) {
  .site-tool_list {
    gap: 12px;
    padding: 12px;
  }

  .site-tool_list article {
    width: 100%;
    padding: 8px;
  }

  .tool-fav_btn {
    right: 6px;
  }

  .tool-fav_btn button {
    font-size: 1.2rem;
    padding: 6px;
  }

  .site-tool_list .entry-tool-link a {
    padding: 8px 10px;
  }

  .entry-tool-link a.link_blank::after {
    vertical-align: top;
  }
}

.tool-fav_btn {
  position: absolute;
  top: -3px;
  right: 0.8rem;
}

.tool-fav_btn button {
  background: var(--secondary);
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.65rem;
  transition: .3s;
}

.tool-fav_btn button:hover {
  background: var(--yellow);
}

.simplefavorite-button.active {
  opacity: 1 !important;
  background: var(--yellow);
}

/* 関連リンク */
.maker-menu-link ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.maker-menu-link ul li {
  border: 1px solid var(--gray);
  border-radius: 0.5rem;
  overflow: hidden;
  width: calc(33.33% - 0.6666rem);
}

.maker-menu-link ul li a {
  display: flex;
  color: var(--dark);
  font-size: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.maker-menu-link ul li a p {
  background: var(--light-gray);
  flex: 1;
  height: 2.8rem;
  margin: 0;
  padding: 0.65rem;
}

.maker-menu-link .menu-item-description {
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  color: var(--dark);
  width: 100%;
}

/* 関連リンクアイコン */
.menu-link-icon a::before {
  background: var(--gray);
  font-family: bootstrap-icons;
  font-size: 1.2rem;
  padding: 0.5rem 0.7rem;
}

.menu-link-icon.home a::before {
  content: "\F425";
}

.menu-link-icon.wall a::before {
  content: "\F1CA";
}

.menu-link-icon.easel a::before {
  content: "\F310";
}

.menu-link-icon.aspect a::before {
  content: "\F150";
}

.menu-link-icon.shop a::before {
  content: "\F543";
}

.menu-link-icon.photos a::before {
  content: "\F42B";
}

.menu-link-icon.archive a::before {
  content: "\F10D";
}

.menu-link-icon.instagram a::before {
  content: "\F437";
}

@container style(--breakpoint-xl: true) {
  .maker-menu-link ul li {
    width: calc(50% - 0.6666rem);
  }
}

@container style(--breakpoint-lg: true) {
  .maker-menu-link ul {
    gap: 12px;
  }

  .maker-menu-link ul li {
    width: 100%;
  }
}

/*  ========================================================================== */
/* 検索 */
/*  ========================================================================== */
.site-search-main h2 {
  width: 100%;
  margin: 0;
}