@charset "utf-8";
/*
Theme Name:LiberCraft_2026
Description: LiberCraftテーマ
Author:Cone Inc.
Author URI:https://coneinc.jp/
Version:0.8.8
Requires at least: 6.8
Requires PHP: 8.1
*/

/* ==========================================================================
   Footer
   ========================================================================== */

/* バナー */
.p-footer-banner {
  position: relative;
  padding-block: 60px;
  background: var(--bg-color);
}

.p-footer-banner-border {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 2px;
  background-color: #fff;
}

.p-footer-banner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.p-footer-banner-list-item {
  display: grid;
  align-content: start;
  row-gap: 20px;
  text-align: center;
}

.p-footer-banner-list-item-title-en {
  color: #DBDBDB;
  font-weight: 100;
  font-size: 45px;
}

.p-footer-banner-list-item-image {
  display: flex;
  justify-content: center;
  font-size: 30px;
  color: var(--main-color);
}

.p-footer-banner-list-item-title {
  font-size: 15px;
}

.p-footer-banner-list-item-desc {
  font-size: 14px;
}

.p-footer-banner-list-item-button {
  width: min(340px, 100%);
  font-size: 13px;
  --button-height: 45px;
  font-weight: bold;
  justify-self: center;
}

@media (max-width: 767px) {
  .p-footer-banner {
    padding-block: 50px;
  }

  .p-footer-banner-border {
    position: initial;
    width: auto;
    height: 2px;
    margin-inline: -30px;
  }

  .p-footer-banner-list {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .p-footer-banner-list-item {
    row-gap: 15px;
  }

  .p-footer-banner-list-item-title-en {
    font-size: 39px;
  }

  .p-footer-banner-list-item-image {
    font-size: 25px;
  }

  .p-footer-banner-list-item-title {
    font-size: 13px;
  }

  .p-footer-banner-list-item-desc {
    font-size: 12px;
  }

  .p-footer-banner-list-item-button {
    width: min(310px, 100%);
    font-size: 12px;
    --button-height: 40px;
  }
}

/* メインエリア */
.p-footer-main {
  display: flex;
  column-gap: 10px;
}

/* ロゴエリア */
.p-footer-info {}

.p-footer-info-logo {
  display: block;
  width: 160px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.p-footer-info-text {
  display: grid;
  align-content: start;
  row-gap: 10px;
  font-size: 13px;
  line-height: 1.8;
  margin-block: var(--half-read);
}

.p-footer-contact {
  display: grid;
  justify-items: end;
  gap: 10px;
  color: var(--main-color);
  margin-top: 15px;
}

.p-footer-contact-button {
  --button-font-size: 12px;
  --button-min-width: auto;
  --button-height: 34px;
  --button-font-color: #fff;
  --button-bg-color: transparent;
  --button-border: 1px solid #fff;
  --button-hover-font-color: var(--main-color);
  --button-hover-bg-color: #fff;
}

.p-footer-copyright {
  font-size: 12px;
}

/* メニューエリア共通 */
.p-footer-nav {
  line-height: 1.8;
}

.p-footer-nav>li>a {
  display: block;
  width: fit-content;
  font-weight: 600;
  font-size: 14px;
}

/* メニューエリア 横並び */
.p-footer-nav1 {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  column-gap: 60px;
}

.p-footer-nav1>li>a {
  pointer-events: none;
  margin-bottom: 20px;
}

.p-footer-nav1 ul {
  display: grid;
  align-content: start;
  row-gap: 5px;
  font-size: 13px;
}

@media (any-hover: hover) {
  .p-footer-nav :where(a):hover {
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  .p-footer-main {
    flex-wrap: wrap;
  }

  .p-footer-info {
    flex: 0 0 100%;
    margin-bottom: 40px;
  }

  .p-footer-nav1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 10px;
  }

  .p-footer-contact {
    margin-top: 40px;
    justify-items: flex-start;
  }

  .p-footer-copyright {
    margin-top: 40px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.p-header-bar {
  position: relative;
  display: flex;
  gap: 10px;
  height: 75px;
  padding-inline: 40px;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

body.is-scroll .p-header-bar {
  background-color: #ffffff;
  box-shadow: var(--shadow);
}

/* ロゴ */
.p-header-logo {
  flex: 0 0 200px;
  display: flex;
  align-self: center;
  transition: filter 0.2s ease;
  z-index: 1;
  margin-right: auto;
}

.p-header-logo-image {
  /* width: auto; */
  height: 100%;
  max-height: inherit;
}

.p-header-nav-sp {
  display: none;
}

@media (any-hover: hover) {
  .p-header-nav-sp:hover {
    opacity: 0.5;
  }
}

@media (max-width: 991px) {
  .p-header-bar {
    height: 52px;
    padding-inline: 15px;
  }

  .p-header-logo {
    flex: 0 0 140px;
  }

  .p-header-nav-sp {
    display: grid;
    place-items: center;
    align-self: center;
    width: 32px;
    height: 32px;
    font-size: 13px;
    color: var(--main-color);
    background-color: #F0F2F6;
    border-radius: calc(infinity * 1px);
  }
}

/* ナビゲーション */
.p-header-nav {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  height: inherit;
  white-space: nowrap;
}

.p-header-nav__list {
  display: flex;
  height: inherit;
}

/* 親メニュー */
.p-header-nav__list>li {
  display: grid;
  position: relative;
}

/* ステイカラー */
.p-header-nav__list>li>a:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  margin: auto;
  width: 18px;
  height: var(--header-nav-stay-color-height, 0px);
  background: var(--main-color);
  transition: height 0.15s ease;
}

.p-header-nav__list>li.current-menu-item {
  --header-nav-stay-color-height: 4px;
}

.p-header-nav__list>li>a {
  display: grid;
  place-items: center;
  padding-inline: 20px;
}

/* サブメニュー */
.p-header-nav__list>li>ul {
  position: absolute;
  inset: 100% auto auto 0;
  padding: calc(20px - 1em) 20px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: #fff;
  box-shadow: var(--shadow);
  margin-top: 15px;
}

/* サブメニューホバー継続用 */
.p-header-nav__list>li>ul:before {
  content: "";
  position: absolute;
  inset: -15px auto auto 0;
  width: 100%;
  height: 15px;
  display: block;
}

.p-header-nav__list ul li+li {
  border-top: 0.25px solid #bbb;
}

.p-header-nav__list ul a {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  padding-block: 1em;
}

.p-header-nav__list ul a:after {
  content: "→";
}

@media (any-hover: hover) {

  /* サブメニューホバー時のステイカラーを維持するためliでhover */
  .p-header-nav__list>li:hover {
    --header-nav-stay-color-height: 4px;
  }

  /* サブメニュー表示アニメーション */
  /* TODO: マスターのis-hover-enable消す */
  .p-header-nav__list>li:hover>ul {
    opacity: 1;
    pointer-events: auto;
  }

  /* サブメニュー */
  .p-header-nav__list ul a:hover {
    color: #bbb;
  }
}

/* お問い合わせボタン */
.p-header-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  align-self: center;
  --button-min-width: 130px;
  --button-height: 45px;
  --button-font-size: 14px;
}

@media (max-width: 991px) {

  .p-header-nav {
    display: none;
  }

  .p-header-cta-button {
    --button-min-width: 90px;
    --button-height: 32px;
    --button-font-size: 10px;
  }

  .p-header-cta-button-dl {
    display: none;
  }
}

/* ==========================================================================
   Archive Header
   ========================================================================== */

.p-archive-header {
  position: relative;
  padding-block: 100px 0px;
  z-index: 1;
}

.p-archive-header-bg {
  pointer-events: none;
  position: absolute;
  inset: -220px 0 0 auto;
  height: 700px;
}

.p-archive-header-inner {
  position: relative;
}

.p-archive-header-subtitle {
  --section-subtitle-content: none;
  margin-top: 40px;
}

.p-archive-header-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-block: 15px var(--half-read);
}

.p-archive-header-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  margin-top: 50px;
}

.p-archive-header-terms a {
  display: grid;
  place-items: center;
  min-width: 140px;
  height: 47px;
  color: #CCCCCC;
  padding-bottom: 1px;
  border: 1px solid;
  border-radius: calc(infinity * 1px);
}

.p-archive-header-terms .current-cat a,
.p-archive-header-terms:not(:has(.current-cat)) .cat-item-all a {
  pointer-events: none;
  color: var(--main-color);
}

@media (any-hover: hover) {
  .p-archive-header-terms a:hover {
    color: var(--main-color);
  }
}

@media (max-width:767px) {
  .p-archive-header {
    padding-block: 60px 0px;
  }

  .p-archive-header-bg {
    height: 240px;
    top: -85px;
  }

  .p-archive-header-subtitle {
    font-size: 14px;
    margin-top: 20px;
  }

  .p-archive-header-desc {
    font-size: 13px;
    margin-block: 10px var(--half-read);
  }

  .p-archive-header-terms {
    --scroll-x-overflow: auto hidden;
    flex-wrap: nowrap;
    width: 100%;
    padding-inline: 30px;
    gap: 10px;
    font-size: 10px;
    margin-top: 40px;
  }

  .p-archive-header-terms li {
    flex: 0 0 max-content;
  }

  .p-archive-header-terms a {
    min-width: 72px;
    height: 28px;
  }
}

/* ==========================================================================
   Drawer menu
   ========================================================================== */

.p-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: calc(infinity);
  display: grid;
  align-content: start;
  width: 360px;
  color: var(--main-color);
  background: #ffffff;
  transition-property: opacity, pointer-events, visibility;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  overflow: auto;
}

.p-drawer-bg {
  position: fixed;
  inset: 0;
  z-index: calc(infinity - 1);
  background: rgba(0, 0, 0, .5);
  transition-property: opacity, pointer-events, visibility;
  transition-duration: 0.3s;
}

body:not(.show-drawer) .p-drawer {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body:not(.show-drawer) .p-drawer-bg {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.p-drawer-close {
  display: grid;
  place-items: center end;
  font-size: 30px;
  height: 60px;
  padding-inline: 15px;
}

.p-drawer-nav {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0px 40px 40px;
}

.p-drawer-nav li {
  border-bottom: 1px solid;
}

.p-drawer-nav a {
  position: relative;
  display: block;
  padding: 15px 1em;
}

/* サブメニュー */
/* TODO: マスターに反映 */
.p-drawer-nav li ul {}

.p-drawer-nav li ul li {
  border: none;
}

.p-drawer-nav li ul li a {
  padding-block: 10px;
  padding-left: 1em;
}

.p-drawer-nav li ul li:first-child a {
  padding-top: 20px;
  border-top: 1px solid;
}

.p-drawer-nav li ul li:last-child a {
  padding-bottom: 20px;
}

.p-drawer-nav-toggle {
  display: none;
}

.p-drawer-nav li:has(ul) .p-drawer-nav-toggle {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0 0 0 auto;
  width: 40px;
  height: 100%;
}

.p-drawer-nav li:has(ul)>a>.p-drawer-nav-toggle:before {
  content: "";
  display: block;
  font-size: 24px;
  width: 1em;
  height: 1em;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M440-440H240q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h200v-200q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v200h200q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H520v200q0 17-11.5 28.5T480-200q-17 0-28.5-11.5T440-240v-200Z"/></svg>') no-repeat center / contain;
  background-color: currentColor;
}

.p-drawer-nav li:has(ul)>a.is-open>.p-drawer-nav-toggle:before {
  transform: rotate(45deg);
}

.p-drawer-nav__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.17, 0.84, 0.44, 1);
}

.is-open+.p-drawer-nav__submenu {
  grid-template-rows: 1fr;
}

.p-drawer-nav__submenu>ul {
  overflow: hidden;
}


.p-drawer-cta-button {
  display: flex;
  justify-content: center;
  margin-inline: 40px;
}

@media (any-hover: hover) {

  .p-drawer-nav a:hover {
    color: rgba(255, 255, 255, .5);
  }
}

@media (max-width: 600px) {
  .p-drawer {
    width: 100%;
  }

  .p-drawer-bg {
    display: none;
  }
}


/* ==========================================================================
  Post Archive
   ========================================================================== */

.p-archive-section-title {
  font-size: 27px;
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .p-archive-section-title {
    font-size: 21px;
    margin-bottom: 40px;
  }
}

/* 投稿アーカイブ */
.p-post-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 50px;
}

.p-post-loop-item {
  display: grid;
  align-content: start;
  row-gap: 20px;
}

.p-post-loop-item-title {
  --line-clamp: 2;
  --line-clamp-h: auto;
  font-size: 23px;
  line-height: 1.5;
}

.p-post-loop-item-terms {}

.p-post-loop-item-date {}

@media (max-width: 767px) {

  .p-post-loop {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .p-post-loop-item {
    row-gap: 15px;
  }

  .p-post-loop-item-title {
    font-size: 18px;
  }
}

/* ==========================================================================
  Post Single
   ========================================================================== */

/* 全体 */
.p-single {}

/* ヘッダー */
.p-single-header {}

.p-single-header-title {
  font-size: 28px;
  line-height: 1.5;
  margin-block: var(--half-read) calc(30px + var(--half-read));
}

.p-single-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.p-single-header-meta-terms {
  flex: 1;
}

.p-single-header-meta-autor {
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.p-single-header-meta-autor-image {
  aspect-ratio: 1;
  border-radius: 50%;
}

.p-single-header-thumbnail {
  margin-bottom: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.p-single-header-thumbnail-image {
  width: 100%;
}

@media (max-width: 767px) {
  .p-single-header-title {
    font-size: 24px;
    margin-bottom: calc(20px + var(--half-read));
  }

  .p-single-header-meta {
    margin-bottom: 30px;
  }

  .p-single-header-meta-autor {
    font-size: 12px;
  }

  .p-single-header-meta-autor-image {
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .p-single-header-thumbnail {
    margin-bottom: 40px;
  }
}

/* 記事下 */
.p-single-btm-title {
  font-size: 27px;
  line-height: 1.6;
  margin-block: calc(60px + var(--half-read)) calc(30px + var(--half-read));
}

.p-single-btm-profile {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 30px;
  background-color: var(--bg-color);
  border-radius: 10px;
}

.p-single-btm-profile-image {
  aspect-ratio: 1;
  border-radius: 50%;
}

.p-single-btm-profile-content {
  display: grid;
  align-content: start;
  row-gap: 15px;
  padding-top: 5px;
}

.p-single-btm-profile-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  margin-block: var(--half-read);
}

.p-single-btm-profile-desc {
  --line-clamp: 2;
  font-size: 14px;
  line-height: 1.6;
  margin-block: var(--half-read);
}

.p-single-btm-post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

@media (max-width: 767px) {

  /* 記事下 */
  .p-single-btm-title {
    font-size: 21px;
    margin-block: calc(40px + var(--half-read)) calc(25px + var(--half-read));
  }

  .p-single-btm-profile {
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding: 15px;
  }

  .p-single-btm-profile-title {
    font-size: 14px;
  }

  .p-single-btm-profile-desc {
    font-size: 12px;
  }

  .p-single-btm-post-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* サイドバー */
.p-single-sidebar-banner {
  display: block;
  border-radius: 5px;
  overflow: hidden;
}


/* ==========================================================================
  User list
   ========================================================================== */

/* 一覧ページ */
.p-archive-user {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.p-archive-user-item {
  display: grid;
  align-content: start;
  row-gap: 20px;
}

.p-archive-user-item-image {
  aspect-ratio: 220 / 280;
  border-radius: 5px;
  overflow: hidden;
}

.p-archive-user-item-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  line-height: 1.4;
  margin-block: var(--half-read);
}

.p-archive-user-item-position {
  font-size: 14px;
  line-height: 1.4;
  margin-block: var(--half-read);
}

@media (max-width: 767px) {
  .p-archive-user {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .p-archive-user-item-title {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .p-archive-user {
    grid-template-columns: 1fr;
  }
}

/* 個別ページ */
.p-single-user {
  inline-size: min(100%, 700px);
  margin: 0px auto 0;
}

.p-single-user-postion {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  margin-block: var(--half-read) calc(50px + var(--half-read));
}

.p-single-user-bottom-title {
  font-size: 27px;
  line-height: 1.8;
  text-align: center;
  margin-block: var(--half-read);
}

@media (max-width: 767px) {
  .p-single-user-postion {
    font-size: 14px;
    margin-bottom: calc(30px + var(--half-read));
  }

  .p-single-user-bottom-title {
    font-size: 21px;
  }
}

/* ==========================================================================
  News
   ========================================================================== */

/* loop */
.p-news-loop {}

.p-news-loop-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 60px;
  padding-block: 30px;
  border-bottom: 1px solid #CCCCCC;
}

.p-news-loop-item:first-child {
  padding-top: 0;
}

.p-news-loop-item-content {
  display: grid;
  align-content: center;
  gap: 30px;
}

.p-news-loop-item-title {
  font-size: 23px;
  line-height: 1.5;
  --line-clamp: 2;
}

.p-news-loop-item-title a {
  position: relative;
  padding-right: 100px;
}

.p-news-loop-item-title-icon {
  position: absolute;
  inset: 0 0 0 auto;
  margin: auto;
  width: 1em;
  height: 1em;
  font-size: 56px;
  color: var(--main-color);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid;
  transition: background 0.3s ease;
}

.p-news-loop-item-title-icon:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: currentColor;
  transform: scale(0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (any-hover: hover) {
  .p-news-loop-item-title a:hover .p-news-loop-item-title-icon {
    background-color: currentColor;
  }

  .p-news-loop-item-title a:hover .p-news-loop-item-title-icon:before {
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .p-news-loop-item {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding-block: 25px;
  }

  .p-news-loop-item-content {
    display: grid;
    align-content: center;
    gap: 20px;
  }

  .p-news-loop-item-title {
    gap: 15px;
    font-size: 16px;
  }

  .p-news-loop-item-title a {
    padding-right: 60px;
  }

  .p-news-loop-item-title-icon {
    font-size: 28px;
  }
}

/* 詳細ページ */
.p-single-news {
  inline-size: min(100%, 750px);
  margin: 50px auto 0;
}

.p-single-news-header-date {
  /* --date-font-size: 24px; */
}

/* 記事下 */
.p-single-news-btm-title {
  text-align: center;
  margin-bottom: 50px;
}

.p-single-news-btm-button {
  --button-margin: auto;
  margin-top: 60px;
}

@media (max-width: 767px) {

  .p-single-news {
    margin-top: 0;
  }

  .p-single-news-header-date {
    --date-font-size: 16px;
    margin-block: 0px 20px;
  }

  .p-single-news-header-terms {
    margin-bottom: 40px;
  }

  /* 記事下 */
  .p-single-news-btm-title {
    margin-block: 0px 20px;
  }

  .p-single-news-btm-button {
    margin-top: 40px;
  }
}

/* ==========================================================================
  Case
   ========================================================================== */

/* アーカイブ */
.p-case-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
}

.p-case-loop-item-link {
  display: grid;
  align-content: start;
  row-gap: 20px;
}

.p-case-loop-item-title {
  font-size: 18px;
  line-height: 1.5;
}

.p-case-loop-item-excerpt {
  --line-clamp: 2;
  line-height: 1.4;
}

.p-case-loop-item-terms {
  margin-top: 20px;
}

@media (max-width: 767px) {

  .p-case-loop {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
}

/* 個別ページ */
.p-single-case-header-company {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
}

.p-single-case-header-customer {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 40px;
}

.p-single-case-btm {
  margin-top: 100px;
}

.p-single-case-btm-title {
  font-size: 27px;
  line-height: 1.8;
  text-align: center;
  margin-block: var(--half-read) calc(60px + var(--half-read));
}

.p-single-case-btm-button {
  margin-top: 60px;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .p-single-case-header-company {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .p-single-case-header-customer {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .p-single-case-btm {
    margin-top: 40px;
  }

  .p-single-case-btm-title {
    font-size: 21px;
    margin-bottom: calc(30px + var(--half-read));
  }

  .p-single-case-btm-button {
    margin-top: 40px;
  }
}

/* サイドバー */
.p-single-case-side {
  position: sticky;
  top: 120px;
  display: grid;
  align-content: start;
  row-gap: 20px;
  padding: 20px;
  border: 1px solid #e5e6e7;
  border-radius: 5px;

  --button-min-width: 100%;
  --button-height: 40px;
  --button-font-size: 14px;
}

.p-single-case-side-status {
  display: grid;
  place-items: center;
  width: fit-content;
  min-width: 80px;
  height: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #4db27a;
  border-radius: 30px
}

.p-single-case-side-info {
  display: grid;
  grid-template-columns: 50px 1fr;
  row-gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  margin-block: var(--half-read);
}

.p-single-case-side-sep {
  height: 1px;
  background: #e5e6e7;
}

.p-single-case-side-point-title {
  font-weight: 600;
  margin-bottom: -10px;
}

.p-single-case-side-point-list {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.p-single-case-side-point-list:before {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10,20c5.52,0,10-4.48,10-10S15.52,0,10,0,0,4.48,0,10s4.48,10,10,10ZM15.46,7.46l-6.46,6.46-4.21-4.21,1.41-1.41,2.79,2.79,5.04-5.04,1.41,1.41Z"/></svg>') no-repeat center / contain;
  background-color: currentColor;
}

.p-single-case-side-logo {
  height: 30px;
}

.p-single-case-side-actions {
  display: grid;
  align-content: start;
  row-gap: 10px;
  margin-top: 30px;
}

.p-single-case-side-actions-copy {
  font-size: 12px;
  text-align: center;
  color: var(--main-color);
  margin-bottom: 10px;
}


/* ==========================================================================
  document
   ========================================================================== */

.p-archive-document-title {
  font-size: 27px;
  line-height: 1.5;
  text-align: center;
  margin-block: var(--half-read) calc(80px + var(--half-read));
}

.p-document-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
}

.p-document-loop-item {
  display: grid;
  align-content: start;
  row-gap: 25px;
}

.p-document-loop-item-title {
  --line-clamp: 2;
  font-size: 23px;
  line-height: 1.5;
}

.p-document-loop-item-link {
  justify-self: center;
}

@media (max-width: 767px) {
  .p-archive-document-title {
    font-size: 21px;
    margin-bottom: calc(30px + var(--half-read));
  }

  .p-document-loop {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .p-document-loop-item-title {
    font-size: 18px;
  }
}

/* 個別ページ */
.p-single-document {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.p-single-document-info-title {
  font-size: 27px;
  line-height: 1.4;
  margin-block: var(--half-read) calc(40px + var(--half-read));
}

.p-single-document-info-image {
  border-radius: 5px;
  overflow: hidden;
}

.p-single-document-info-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.p-single-document-info-text {
  padding: 30px;
  border-radius: 5px;
  margin-top: 30px;
  box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.p-single-document-info-text-title {
  font-size: 15px;
  line-height: 1.4;
  color: var(--main-color);
  font-weight: bold;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: calc(20px + var(--half-read));
  margin-block: var(--half-read) 25px;
}

.p-single-document-info-text-desc {
  display: grid;
  align-content: start;
  row-gap: 10px;
  line-height: 1.5;
  margin-block: var(--half-read);
}

.p-single-document-info-text-desc li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  font-size: 13px;
}

.p-single-document-info-text-desc li:before {
  content: "";
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--main-color);
  margin-top: 0.5em;
}

.p-single-document-form {
  padding: 45px;
  box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.p-single-document-form-title {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-block: var(--half-read) calc(40px + var(--half-read));
}

@media (max-width: 767px) {
  .p-single-document {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .p-single-document-info-title {
    font-size: 18px;
    margin-bottom: calc(30px + var(--half-read));
  }

  .p-single-document-info-gallery {
    gap: 10px;
    margin-top: 10px;
  }

  .p-single-document-info-text {
    padding: 25px;
  }

  .p-single-document-info-text-title {
    font-size: 14px;
    padding-bottom: calc(12px + var(--half-read));
    margin-block: var(--half-read) 15px;
  }

  .p-single-document-info-text-desc {
    row-gap: 7px;
  }

  .p-single-document-info-text-desc li {
    gap: 7px;
    font-size: 12px;
  }

  .p-single-document-info-text-desc li:before {
    margin-top: 0.5em;
  }

  .p-single-document-form {
    padding: 30px 20px;
  }

  .p-single-document-form-title {
    font-size: 16px;
    margin-bottom: calc(30px + var(--half-read));
  }
}


/* ==========================================================================
   Page
   ========================================================================== */

.p-page {}

.p-page-title {
  font-size: 42px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .p-page-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   Page Company
   ========================================================================== */

.p-company {}

/* テーブル */
.p-company-info {
  position: relative;
  padding-block: 80px;
  border-image: linear-gradient(var(--bg-color) 0 0) fill 0 / 1 / 0 100vi;
}

.p-company-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: -30px;
}

.p-company-info-table tr {
  border-top: 1px solid #fff;
}

.p-company-info-table :is(td, th) {
  font-size: 16px;
  line-height: 1.8;
  padding-block: 30px;
}

.p-company-info-table th {
  position: relative;
  font-weight: normal;
  text-align: left;
  color: var(--main-color);
  width: 130px;
}

.p-company-info-table th:before {
  content: "";
  position: absolute;
  width: 50px;
  height: 1px;
  background-color: var(--main-color);
  inset: -1px auto auto 0;
}

@media (max-width: 767px) {
  .p-company-info {
    padding-block: 30px;
  }

  .p-company-info-table {
    margin-bottom: -20px;
  }

  .p-company-info-table :is(td, th) {
    font-size: 14px;
    padding-block: 20px;
  }

  .p-company-info-table th {
    width: 80px;
  }
}

/* vision */
.p-company-vision {
  margin-top: -50px;
}

.p-company-vision-title {
  text-align: right;
  margin-bottom: 20px;
}

.p-company-vision-box {
  padding: 60px 90px;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 16px;
}

.p-company-vision-box-subtitle {
  --section-subtitle-bg-color: currentColor;
}

.p-company-vision-box-title {
  font-size: 27px;
  line-height: 1.7;
  margin-block: 20px 35px;
}

.p-company-vision-box-desc {
  font-size: 14px;
  line-height: 2;
  margin-block: var(--half-read);
}

.p-company-vision-box-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  font-size: 28px;
  color: var(--main-color);
  background-color: #fff;
  border-radius: 50%;
  margin: -23px auto;
}

@media (max-width: 767px) {
  .p-company-vision {
    margin-top: 10px;
  }

  .p-company-vision-title {
    margin-bottom: 10px;
  }

  .p-company-vision-box {
    padding: 35px 30px;
  }

  .p-company-vision-box-title {
    font-size: 18px;
    margin-block: 15px 25px;
  }

  .p-company-vision-box-desc {
    font-size: 13px;
    line-height: 1.8;
  }

  .p-company-vision-box-icon {
    width: 33px;
    height: 33px;
    font-size: 14px;
    margin-block: -12px;
  }
}


/* intro */
.p-company-intro {
  position: relative;
  padding-block: 100px;
  border-image: linear-gradient(var(--bg-color) 0 0) fill 0 / 1 / 0 100vi;
  --intro-bg-color: #fff;
}

@media (max-width: 767px) {
  .p-company-intro {
    padding-block: 50px;
  }
}


/* menmbers */
.p-company-members {
  margin-top: 100px;
}

.p-company-members-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
  margin-top: 40px;
}

.p-company-member-item {
  text-align: center;
}

.p-company-member-item-image {
  /* aspect-ratio: 340 / 420; */
  aspect-ratio: 1;
  background-color: var(--bg-color);
  border-radius: 16px;
  overflow: hidden;
}

.p-company-member-item-text {
  margin-top: 30px;
}

.p-company-member-item-text-name {
  font-size: 23px;
}

.p-company-member-item-text-name-en {
  font-size: 13px;
  color: #CCCCCC;
  margin-top: 10px;
}

.p-company-member-item-text-position {
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
  margin-top: 10px;
}

.p-company-member-item-text-desc {
  font-size: 14px;
  line-height: 1.6;
  padding: 15px 15px;
  border: 1px solid #ccc;
  border-radius: 16px;
  margin-top: 30px;
}

@media (max-width: 991px) {
  .p-company-members-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .p-company-members {
    margin-top: 50px;
  }

  .p-company-members-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
    margin-top: 35px;
  }

  .p-company-member-item-image {
    border-radius: 6px;
  }

  .p-company-member-item-text {
    margin-top: 15px;
  }

  .p-company-member-item-text-name {
    font-size: 14px;
  }

  .p-company-member-item-text-name-en {
    font-size: 8px;
    margin-top: 5px;
  }

  .p-company-member-item-text-position {
    font-size: 10px;
    margin-top: 5px;
  }

  .p-company-member-item-text-desc {
    font-size: 8px;
    padding: 10px;
    margin-top: 15px;
  }
}

/* ==========================================================================
   Page Recruit
   ========================================================================== */

.p-recruit {}

.p-recruit-message {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 450px);
  align-items: center;
  padding-block: 150px;
  border-image: linear-gradient(var(--bg-color) 0 0) fill 0 / 1 / 0 100vi;
  margin-top: -130px;
}

.p-recruit-message-text {
  display: grid;
  align-content: start;
  row-gap: 30px;
}

.p-recruit-message-subtitle {
  color: var(--main-color);
}

.p-recruit-message-title {
  font-size: 27px;
  color: var(--main-color);
  line-height: 1.5;
  margin-block: var(--half-read);
}

.p-recruit-message-desc {
  font-size: 14px;
  line-height: 2.2;
  margin-block: var(--half-read);
}

.p-recruit-message-bg {
  position: relative;
  z-index: 1;
  grid-column: 1/ -1;
  margin-inline: calc(50% - 50vw);
  margin-block: 150px -200px;
}

@media not all and (max-width: 767px) {
  .p-recruit-message-image-sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .p-recruit-message-image-pc {
    display: none;
  }

  .p-recruit-message {
    grid-template-columns: 1fr;
    align-items: initial;
    padding-block: 100px;
    margin-top: -100px;
  }

  .p-recruit-message-subtitle {
    font-weight: normal;
    margin-bottom: -15px;
  }

  .p-recruit-message-title {
    font-size: 16px;
  }

  .p-recruit-message-desc {
    font-size: 13px;
  }

  .p-recruit-message-bg {
    height: 120px;
    margin-block: 60px -100px;
  }
}

/* intro */
.p-recruit-intro {
  margin-top: 120px;
}

.p-recruit-intro-link {
  --button-margin: 60px auto 0px;
}

@media (max-width: 767px) {
  .p-recruit-intro {
    margin-top: 60px;
  }

  .p-recruit-intro-link {
    --button-margin: 30px auto 0px;
  }
}

/* Work Style */
.p-recruit-style {
  margin-top: 120px;
}

.p-recruit-style-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.p-recruit-style-list-item-icon {
  display: grid;
  place-content: center;
  justify-items: center;
  row-gap: 15px;
  font-size: 85px;
  background-color: var(--bg-color);
  aspect-ratio: 1;
  border-radius: 50%;
}

.p-recruit-style-list-item-title {
  font-size: 23px;
}

.p-recruit-style-list-item-desc {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-top: 10px;
}

.p-recruit-style-button {
  --button-margin: 60px auto 0px;
}

@media (max-width: 991px) {
  .p-recruit-style-list {
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .p-recruit-style {
    margin-top: 60px;
  }

  .p-recruit-style-list {
    grid-template-columns: minmax(0px, 150px);
    margin-top: 30px;
  }

  .p-recruit-style-list-item-icon {
    row-gap: 10px;
    font-size: 50px;
  }

  .p-recruit-style-list-item-title {
    font-size: 13px;
  }

  .p-recruit-style-list-item-desc {
    font-size: 14px;
    margin-top: 10px;
    margin-inline: -30px;
  }

  .p-recruit-style-button {
    --button-margin: 30px auto 0px;
  }
}

/* media */
.p-recruit-media {
  position: relative;
  padding-block: 100px;
  border-image: linear-gradient(var(--bg-color) 0 0) fill 0 / 1 / 0 100vi;
  margin-top: 150px;
}

.p-recruit-media-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  --button-font-color: #333;
  --button-border: 1px solid;
}

.p-recruit-media-title {
  font-size: 27px;
  text-align: center;
  margin-top: 60px;
}

.p-recruit-media-list {
  margin-top: 50px;
}

.p-recruit-media+.p-recruit-media-cta {
  position: relative;
  margin-top: -10px;
}

@media (max-width: 767px) {
  .p-recruit-media {
    padding-block: 30px 50px;
    margin-top: 100px;
  }

  .p-recruit-media-links {
    gap: 10px;
    margin-top: 20px;
    --button-font-size: 8px;
    --button-height: 25px;
    ---button-padding: 0 5px 1px 5px;
  }

  .p-recruit-media-title {
    font-size: 14px;
    margin-top: 35px;
  }

  .p-recruit-media-list {
    margin-top: 30px;
  }

  .p-recruit-media+.p-recruit-media-cta {
    position: relative;
    margin-top: -10px;
  }
}

/* job */
.p-recruit-job {
  margin-top: 120px;
}

.p-recruit-job-list {
  width: 730px;
  margin-left: auto;
}

.p-recruit-job-list-item {
  display: grid;
  grid-template-columns: 1fr 185px;
  align-content: start;
  gap: 0px 15px;
  padding-block: 30px;
  border-block: 1px solid #CCCCCC;
}

*+.p-recruit-job-list-item {
  margin-top: -1px;
}

.p-recruit-job-list-item-title {
  font-size: 23px;
  line-height: 1.5;
  margin-block: var(--half-read);
}

.p-recruit-job-list-item-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-block: var(--half-read);
}

.p-recruit-job-list-item-link {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin-bottom: -5px;
}

@media (max-width: 767px) {
  .p-recruit-job {
    margin-top: 60px;
  }

  .p-recruit-job-list {
    width: 100%;
    margin-top: 30px;
  }

  .p-recruit-job-list-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px;
  }

  .p-recruit-job-list-item-title {
    font-size: 16px;
  }

  .p-recruit-job-list-item-desc {
    font-size: 13px;
  }

  .p-recruit-job-list-item-link {
    grid-row: initial;
    grid-column: initial;
    margin-bottom: 0px;
    margin-inline: auto;
  }
}

/* faq */
.p-recruit-faq {
  margin-top: 120px;
}

.p-recruit-faq-list {
  width: 730px;
  margin-left: auto;
  padding-top: 35px;
  border-top: 1px solid #CCCCCC;
}

@media (max-width: 767px) {
  .p-recruit-faq {
    margin-top: 60px;
  }

  .p-recruit-faq-list {
    width: 100%;
    padding-top: 20px;
    margin-top: 30px;
  }
}

/* ==========================================================================
   Page thanks
   ========================================================================== */

.p-thanks-header {
  position: relative;
  z-index: 1;
}

.p-thanks-copy {
  text-align: center;
  margin-block: 60px 50px;
}

.p-thanks-title {
  position: relative;
  font-size: 27px;
  text-align: center;
  line-height: 1.8;
  margin-block: var(--half-read) calc(20px + var(--half-read));
}

.p-thanks-main {
  position: relative;
  padding-block: 30px 90px;
  margin-top: 70px;
  border-image: linear-gradient(var(--bg-color) 0 0) fill 0 / 1 / 0 100vi;
}

@media not all and (max-width: 767px) {
  .p-thanks-desc br {
    display: none;
  }
}

@media (max-width: 767px) {

  .p-thanks-copy {
    text-align: center;
    margin-block: 0px 20px;
  }

  .p-thanks-title {
    font-size: 15px;
    margin-block: var(--half-read) calc(20px + var(--half-read));
  }

  .p-thanks-desc {
    font-size: 12px;
  }

  .p-thanks-main {
    padding-block: 10px 70px;
    margin-top: 20px;
  }
}

/* ナビゲーション */
.p-thanks-document {
  margin-top: 70px;
}

.p-thanks-document-list {
  margin-top: 50px;
}

.p-thanks-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 100px;
  border-top: 1px solid #CCCCCC;
  margin-top: 100px;
}

.p-thanks-nav-item {
  position: relative;
  padding: 25px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1);
}

.p-thanks-nav-item:before {
  content: "";
  display: block;
  font-size: 13px;
  width: 1em;
  height: 1em;
  background-color: var(--main-color);
  border-radius: 50%;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.p-thanks-nav-item-title {
  font-size: 23px;
}

.p-thanks-nav-item-subtitle {
  font-size: 13px;
  color: #CCCCCC;
  font-family: 'Archivo', sans-serif;
  margin-top: 10px;
}

.p-thanks-nav-item-icon {
  font-size: 35px;
  margin-top: 50px;
}

.p-thanks-title-bottom {
  margin-block: 110px 50px;
}

@media (any-hover: hover) {
  .p-thanks-nav-item:hover {
    color: var(--main-color);
  }
}

@media (max-width: 767px) {

  /* ナビゲーション */
  .p-thanks-document {
    margin-top: 50px;
  }

  .p-thanks-document-list {
    margin-top: 25px;
  }

  .p-thanks-nav {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
    margin-top: 40px;
  }

  .p-thanks-nav-item:before {
    font-size: 11px;
  }

  .p-thanks-nav-item-title {
    font-size: 19px;
  }

  .p-thanks-nav-item-subtitle {
    font-size: 10px;
  }

  .p-thanks-nav-item-icon {
    font-size: 30px;
    margin-top: 45px;
  }

  .p-thanks-title-bottom {
    margin-block: 10px 70px;
  }
}

/* ==========================================================================
   page contact
   ========================================================================== */

.p-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.p-contact-info {}

.p-contact-info-title {
  font-size: 27px;
  line-height: 1.5;
  color: var(--main-color);
  margin-block: var(--half-read);
}

.p-contact-info-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-block: calc(25px + var(--half-read)) var(--half-read);
}

.p-contact-flow {
  display: grid;
  align-content: start;
  row-gap: 30px;
  margin-block: 50px;
  counter-reset: number 0;
}

.p-contact-flow-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 5px 10px;
}

.p-contact-flow-item:before {
  counter-increment: number 1;
  content: counter(number);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-family: "Archivo", sans-serif;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 50%;
  aspect-ratio: 1;
}

.p-contact-flow-item-title {
  font-size: 16px;
  line-height: 30px;
}

.p-contact-flow-item-desc {
  grid-column: 2 / 3;
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
  margin-block: var(--half-read);
}

@media (max-width: 991px) {
  .p-contact {
    grid-template-columns: minmax(0px, 700px);
    justify-content: center;
    gap: 60px;
  }

  .p-contact-info-title {
    font-size: 18px;
  }

  .p-contact-info-desc {
    font-size: 14px;
    margin-block: calc(15px + var(--half-read)) var(--half-read);
  }

  .p-contact-flow {
    row-gap: 20px;
    margin-block: 40px;
  }

  .p-contact-flow-item {
    grid-template-columns: 23px 1fr;
    gap: 6px 8px;
  }

  .p-contact-flow-item:before {
    font-size: 11px;
  }

  .p-contact-flow-item-title {
    font-size: 14px;
    line-height: 23px;
  }
}

/* ==========================================================================
   404 page
   ========================================================================== */

/* 404 */
.p-404 {
  display: grid;
  align-content: start;
  justify-items: center;
  row-gap: 50px;
  text-align: center;
  margin-top: 50px;
}

.p-404-title {
  font-size: 34px;
  margin-block: var(--half-read);
}

@media (max-width: 767px) {
  .p-404 {
    row-gap: 40px;
    margin-block: 30px;
  }

  .p-404-title {
    font-size: 22px;
  }
}

/* TODO: マスターで消す */
/* ==========================================================================
   プラグイン対応
   ========================================================================== */

.editor-styles-wrapper .p-toc {
  border-color: #ccc;
}

.editor-styles-wrapper .p-toc-headline {
  color: var(--main-color);
  padding-inline: 0px;
  margin-inline: 0px;
  border-bottom: 1px solid #ccc;
}

.editor-styles-wrapper .p-toc ul {
  counter-reset: number 0;
}

.editor-styles-wrapper .p-toc ul li {
  padding-left: 2.2em;
}

.editor-styles-wrapper .p-toc ul li:before {
  counter-increment: number 1;
  content: counter(number);
  font-family: "Archivo", sans-serif;
  display: grid;
  place-items: center;
  font-size: 13px;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  color: var(--main-color);
  background-color: var(--bg-color);
  top: 1px;
}

@media not all and (max-width: 991px) {
  .p-single-main .p-toc {
    display: none;
  }
}

@media (max-width: 991px) {
  .p-toc-sidebar {
    display: none;
  }
}