@charset "utf-8";
/*
Theme Name:k-kamo
Description:
Author:Cone Inc.
Author URI:https://coneinc.jp/
Version:0.2
Requires at least: 6.8
Requires PHP: 8.1
*/

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

.p-footer-shape {
  position: absolute;
  inset: 0 0 auto;
  background: #fff;
  height: 40px;
  border-radius: 0 0 40px 40px;
}

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

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

.p-footer-info-logo {
  display: block;
  width: 280px;
  margin-bottom: 20px;
  margin-left: -10px;
}

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

.p-footer-info-sns {
  display: flex;
  gap: 15px;
}

.p-footer-info-sns-link {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  aspect-ratio: 1;
  background-color: #028FEB;
  border-radius: 50%;
}

.p-footer-copyright {
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid;
  margin-top: 20px;
}

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

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

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

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

@media (max-width: 767px) {
  .p-footer-main {
    flex-direction: column-reverse;
    gap: 45px;
  }

  .p-footer-nav1 {
    font-size: 13px;
    gap: 20px;
    flex-direction: column;
    justify-content: start;
  }

  .p-footer-info-logo {
    width: 200px;
    margin-bottom: 15px;
  }

  .p-footer-info-text {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .p-footer-copyright {
    padding-top: 15px;
    font-size: 10px;
  }
}

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

.p-header-bar {
  position: relative;
  display: flex;
  gap: 20px;
  height: 70px;
  padding-inline: 20px;
  background-color: var(--bg-color);
  /* box-shadow: var(--shadow); */
}

/* ロゴ */
.p-header-logo {
  flex: 0 0 190px;
  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 {
    gap: 15px;
    height: 52px;
    padding-inline: 20px;
  }

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

  .p-header-nav-sp {
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--main-color);
  }
}

/* ナビゲーション */
.p-header-nav {
  font-size: 15px;
  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 {
  color: var(--main-color);
}

.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: 12px;
  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 {
    color: var(--main-color);
  }

  /* サブメニュー表示アニメーション */
  .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 {
  align-self: center;
  margin: initial;
  --main-color: #4CC764;
  --button-min-width: 170px;
  --button-height: 47px;
  --button-font-size: 16px;
  --button-hover-bg-color: color-mix(in srgb, var(--main-color) 70%, #000000);
}

.p-header-cta-button:before {
  content: '';
  font-size: 1.3em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: var(--icon--line) no-repeat center / contain;
  margin-bottom: -1px;
}

@media (max-width: 991px) {

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

  .p-header-cta-button {
    padding-inline: 12px;
    min-width: 100px;
    height: 28px;
    font-size: 10px;
  }
}

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

body:has(.p-archive-header) {
  background: var(--bg-color);
}

body:not(.page):has(.p-archive-header) .l-container,
body.page-template-default:has(.p-archive-header) .l-container {
  background-color: #fff;
}

.p-archive-header {
  position: relative;
  background: #fff;
  border-radius: 40px 40px 0 0;
  margin-top: 140px;
}

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

.p-archive-header-title {
  font-size: 120px;
  font-weight: normal;
  margin-top: -0.5em;
  margin-left: -0.05em;
}

.p-archive-header-terms {
  gap: 20px;
  padding-block: 10px 40px;
}

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

@media (max-width:767px) {
  .p-archive-header {
    margin-top: 70px;
  }

  .p-archive-header-title {
    font-size: 70px;
  }

  .p-archive-header-terms {
    gap: 10px;
    padding-block: 5px 30px;
  }
}

/* ==========================================================================
   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: var(--bg-color);
  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: 20px 40px 20px;
}

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

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

/* submenu */
.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-top: 20px;
}

.p-drawer-cta-button-link {
  --main-color: #4CC764;
  --button-height: 47px;
  --button-font-size: 16px;
  --button-hover-bg-color:
    color-mix(in srgb, var(--main-color) 70%, #000000);
}

.p-drawer-cta-button-link:before {
  content: '';
  font-size: 1.3em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: var(--icon--line) no-repeat center / contain;
  margin-bottom: -1px;
}

@media (any-hover: hover) {

  .p-drawer-nav a:hover {
    color: var(--main-color-d);
  }
}

@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: 45px;
}

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

.p-post-loop-item-image {
  margin-bottom: 5px;
}

.p-post-loop-item-title {
  color: var(--main-color);
  font-size: 20px;
  line-height: 1.5;
}

.p-post-loop-item-excerpt {
  --line-clamp: 3;
  line-height: 1.7;
  font-size: 15px;
}

@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;
  }

  .p-post-loop-item-excerpt {
    --line-clamp-h: auto;
    line-height: 1.6;
    font-size: 12px;
  }
}

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

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

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

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

.p-single-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #BCBCBC;
  margin-bottom: 40px;
}

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

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

.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: 18px;
    margin-bottom: calc(15px + var(--half-read));
  }

  .p-single-header-meta {
    gap: 10px;
    padding-bottom: 15px;
    margin-bottom: 25px;
  }

  .p-single-header-meta-autor {
    font-size: 12px;
    grid-template-columns: 30px auto;
  }

  .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: 23px;
  line-height: 1.6;
  color: var(--main-color);
  margin-block: calc(60px + var(--half-read)) calc(25px + var(--half-read));
}

.p-single-btm-profile {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 30px;
  background-color: #F7F7F7;
  border-radius: 16px;
}

.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: 3;
  font-size: 14px;
  line-height: 1.6;
  margin-block: var(--half-read);
}

.p-single-btm-link {
  padding-bottom: 100px;
  border-bottom: 1px solid #BCBCBC;
  margin-block: 60px 100px;
}

.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: 16px;
    margin-block: calc(40px + var(--half-read)) calc(25px + var(--half-read));
  }

  .p-single-btm-profile {
    grid-template-columns: auto;
    justify-items: center;
    gap: 15px;
    padding: 30px 20px;
  }

  .p-single-btm-profile-image {
    width: 100px;
  }

  .p-single-btm-profile-content {
    text-align: center;
  }

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

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

  .p-single-btm-link {
    padding-bottom: 50px;
    margin-block: 50px 70px;

  }

  .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%, 790px);
  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: flex;
  gap: 30px;
  padding-block: 30px;
  border-bottom: 1px solid #E5E5E5;
}

.p-news-loop-item-content {
  flex: 1;
}

.p-news-loop-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.p-news-loop-item-title {
  --line-clamp: 1;
  --line-clamp-h: auto;
  font-size: 16px;
  line-height: 1.7;
}

.p-news-loop-item-arrow {
  color: var(--main-color);
  font-size: 22px;
}

@media (max-width: 767px) {
  .p-news-loop {}

  .p-news-loop-item {
    padding-block: 20px;
  }

  .p-news-loop-item-meta {
    gap: 10px;
    margin-bottom: 10px;
  }

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

  .p-news-loop-item-arrow {
    display: none;
  }
}

/* 詳細ページ */
.p-single-news {}

.p-single-news-header-date {
  --date-font-size: 18px;
  font-weight: 500;
  margin-block: 35px 30px;
}

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

/* 記事下 */
.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-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;
  }
}

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

.p-page {}

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

.l-contents:has(.p-company-info) {
  width: 100%;
}

/* テーブル */
.p-company-info {
  padding-block: 100px 150px;
  background-color: #fff;
  border-radius: 0px 0px 40px 40px;
}

.p-company-info-table {
  width: 100%;
  border-collapse: collapse;
}

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

.p-company-info-table :is(td, th) {
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
  padding-block: 20px;
}

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

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

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

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

/* vision */
.p-company-vision {
  position: relative;
  padding-block: 180px 200px;
}

.p-company-vision-content {
  position: relative;
  display: grid;
  align-content: start;
  row-gap: 40px;
  text-align: center;
}

.p-company-vision-copy {
  font-weight: normal;
  color: #fff;
  font-size: 100px;
  margin-block: -0.15em;
}

.p-company-vision-content-title {
  font-size: 38px;
  color: var(--main-color);
}

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

/* bg */
.p-company-vision-bg {
  position: absolute;
  inset: 0;
}

.p-company-vision-bg img {
  position: absolute;
}

.p-company-vision-bg-image01 {
  top: 150px;
  width: 160px;
}

.p-company-vision-bg-image02 {
  left: -140px;
  bottom: 120px;
  width: 400px;
}

.p-company-vision-bg-image03 {
  right: -140px;
  top: 80px;
  width: 380px;
}

.p-company-vision-bg-image04 {
  right: 0px;
  bottom: 130px;
  width: 180px;
}


@media (max-width: 767px) {
  .p-company-vision {
    padding-block: 220px 300px;
  }

  .p-company-vision-content {
    row-gap: 25px;
  }

  .p-company-vision-copy {
    font-size: 56px;
  }

  .p-company-vision-content-title {
    font-size: 20px;
  }

  .p-company-vision-desc {
    font-size: 10px;
    line-height: 3;
  }

  .p-company-vision-bg-image01 {
    top: 70px;
    left: -30px;
    width: 110px;
  }

  .p-company-vision-bg-image02 {
    left: -45px;
    bottom: 100px;
    width: 250px;
  }

  .p-company-vision-bg-image03 {
    right: -40px;
    top: 45px;
    width: 190px;
  }

  .p-company-vision-bg-image04 {
    right: -30px;
    bottom: 50px;
    width: 150px;
  }

}

/* case */
.p-company-case {}

.p-company-case .c-section2-header-en {
  margin-top: -0.5em;
}

.p-company-case .p-fp-case {
  padding-top: 0px;
  border-radius: 40px 40px 0 0;
  background-color: #fff;
}

@media (max-width: 767px) {
  .p-company-case .p-fp-case {
    padding-bottom: 20px;
  }
}

/* ==========================================================================
   Service page
   ========================================================================== */

body:has(.p-service-header) .p-header-bar {
  background-color: #fff;
}

.l-contents:has(.p-service-header) {
  width: 100%;
}

.p-service-header {
  position: relative;
}

.p-service-header-content {
  position: relative;
  z-index: 1;
  padding-block: 90px 180px;
}

.p-service-header-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 42px;
  margin-bottom: 40px;
}

.p-service-header-title span {
  display: block;
  width: fit-content;
  color: #fff;
  padding: 9px 10px 12px;
  background: linear-gradient(90deg, #85C2EF 1%, #A8DDD0 100%);
}

.p-service-header-subtitle {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 5px;
}

.p-service-header-desc {
  font-size: 18px;
  line-height: 1.8;
}

.p-service-header-cta {
  position: absolute;
  inset: auto auto 0 0;
}

.p-service-header-bg {
  width: calc(50% + 150px);
  position: absolute;
  inset: 40px 0 0 auto;
  border-radius: 200px 0px 0px 0px;
  overflow: hidden;
}

@media (max-width: 767px) {

  .p-service-header {
    /* position: relative; */
  }

  .p-service-header-content {
    padding-block: 30px 320px;
  }

  .p-service-header-title {
    gap: 5px;
    font-size: 22px;
    margin-bottom: 15px;
  }

  .p-service-header-title span {
    padding: 4px 5px 6px;
  }

  .p-service-header-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
  }

  .p-service-header-desc {
    font-size: 10px;
    line-height: 1.6;
  }

  .p-service-header-bg {
    width: 100%;
    height: 327px;
    inset: auto 0 0 0;
    border-radius: 120px 0px 0px 0px;
  }
}

/* problem */
.p-service-problem {
  position: relative;
  background-color: var(--bg-color);
  padding-block: 130px 160px;
  border-radius: 40px 40px 0px 0px;
  margin-top: -40px;
}

.p-service-problem-subtitle {
  font-size: 25px;
  text-align: center;
  color: var(--main-color);
}

.p-service-problem-title {
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 40px;
}

.p-service-problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.p-service-problem-list-item {
  background-color: #fff;
  border-radius: 40px;
  padding: 50px 20px;
}

.p-service-problem-list-item-image {
  max-width: 200px;
  height: 180px;
  margin-inline: auto;
}

.p-service-problem-list-item-title {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 991px) {

  .p-service-problem-list {
    gap: 25px;
  }

  .p-service-problem-list-item {
    padding: 50px 10px;
  }

  .p-service-problem-list-item-image {
    max-width: 180px;
    height: 160px;
  }

  .p-service-problem-list-item-title {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .p-service-problem {
    padding-block: 90px 90px;
  }

  .p-service-problem-subtitle {
    font-size: 13px;
  }

  .p-service-problem-title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .p-service-problem-list {
    grid-template-columns: 1fr;
  }
}

/* 特徴 */
.p-service-feature .c-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.p-service-feature .c-section-header-title {
  display: block;
  color: var(--main-color);
}

@media (max-width: 767px) {
  .p-service-feature .c-section-header {
    margin-bottom: 25px;
  }
}

/* 配送例 */
.p-service-delivery {
  position: relative;
  z-index: 1;
  background-color: #fff;
  padding-block: 0px 120px;
  border-radius: 40px;
  margin-bottom: -40px;
}

.p-service-delivery .c-section2-header-en {
  margin-top: -50px;
}

.p-service-delivery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.p-service-delivery-list-item {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 10px;
  aspect-ratio: 1;
  background-color: var(--bg-color);
  border-radius: 50%;
}

.p-service-delivery-list-item-image {
  width: 115px;
  height: 95px;
}

.p-service-delivery-list-item-title {
  font-size: 18px;
  line-height: 1.5;
  color: var(--main-color);
}

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

@media (max-width: 767px) {
  .p-service-delivery {
    padding-block: 0px 50px;
  }

  .p-service-delivery .c-section2-header-en {
    margin-top: -25px;
  }

  .p-service-delivery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .p-service-delivery-list-item {
    gap: 5px;
  }

  .p-service-delivery-list-item-image {
    width: 65px;
    height: 55px;
  }

  .p-service-delivery-list-item-title {
    font-size: 10px;
  }
}

/* case */
.p-service .p-fp-case {
  padding-bottom: 150px;
}

@media (max-width: 767px) {
  .p-service .p-fp-case {
    padding-bottom: 100px;
  }
}

/* flow */
.p-service-flow {
  position: relative;
  padding-block: 100px;
  margin-top: -40px;
  border-radius: 40px 40px 0px 0px;
  background-color: #fff;
}

.p-service-flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-top: 90px;
}

.p-service-flow-list:before {
  content: "";
  position: absolute;
  inset: 0;
  height: 0px;
  border-bottom: 3px dotted #939393;
  margin: auto;
}

.p-service-flow-list-item {
  position: relative;
  padding: 40px 25px;
  background-color: var(--bg-color);
  border-radius: 40px;
  text-align: center;
}

.p-service-flow-list-item-image {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  background-color: var(--main-color);
  border: 5px solid #fff;
  border-radius: 50%;
  margin: -80px auto 25px;
}

.p-service-flow-list-item-title {
  font-size: 18px;
  line-height: 1.5;
  color: var(--main-color);
}

.p-service-flow-list-item-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 5px;
}

@media (max-width: 767px) {
  .p-service-flow {
    padding-block: 70px 30px;
  }

  .p-service-flow-list {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 90px;
    margin-top: 70px;
  }

  .p-service-flow-list:before {
    width: 0px;
    height: auto;
    border-bottom: none;
    border-right: 3px dotted #939393;
  }

  .p-service-flow-list-item {
    width: 250px;
    position: relative;
    padding: 35px 20px;
  }

  .p-service-flow-list-item-image {
    margin: -80px auto 20px;
  }
}

/* ==========================================================================
   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;
  }
}

/* ==========================================================================
   cone wp-editor プラグインのスタイル上書きはココから
   ========================================================================== */

.editor-styles-wrapper .c-cardlink__image-wrap {
  border-radius: 10px;
}