/*
Theme Name: ポケットオフィスコミュニティ
Description: ポケットオフィスコミュニティ
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: '游ゴシック', 'Yu Gothic', 'YuGothic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e2a29;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* コンテンツ幅 */
.container-xl { max-width:1200px; margin:0 auto; padding:0 24px; }
.container-md  { max-width:860px;  margin:0 auto; padding:0 24px; }
.container-sm  { max-width:800px;  margin:0 auto; padding:0 24px; }

.fv-grid        { display:grid; grid-template-columns:1fr 440px; gap:40px; align-items:start; }
.fv-feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.fv-cta-row     { display:flex; gap:14px; flex-wrap:wrap; }
.fv-stats-row   { display:flex; gap:0; }
.fv-cards-grid  { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.reason-grid    { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.story-grid     { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.pricing-grid   { display:grid; grid-template-columns:140px 1fr 1fr 1fr 220px; gap:14px; align-items:start; }
.flow-grid      { display:grid; grid-template-columns:repeat(4,1fr); gap:0; align-items:start; }
.member-grid    { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.footer-cta-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.footer-cta-btns{ display:flex; gap:12px; flex-wrap:wrap; }

/* FV h1 */
.fv-h1 { font-size:44px; }
/* ABOUT */
.about-text { font-size:23px; }
/* セクションタイトル */
.section-h2 { font-size:28px; }
.flow-h2    { font-size:30px; }
/* プラン価格 */
.plan-price-num { font-size:36px; }
/* FLOW STEP番号 */
.flow-step-num  { font-size:42px; }

@media (max-width:767px) {
  .fv-grid         { grid-template-columns:1fr; gap:28px; }
  .fv-right-col    { display:none; } /* SP時は右カラム非表示 */
  .fv-feature-grid { grid-template-columns:repeat(2,1fr); }
  .fv-cta-row      { flex-direction:column; }
  .fv-cta-row a    { text-align:center; justify-content:center; }
  .fv-stats-row    { gap:12px; }
  .fv-cards-grid   { grid-template-columns:repeat(3,1fr); }
  .reason-grid     { grid-template-columns:1fr; gap:14px; }
  .story-grid      { grid-template-columns:1fr; gap:14px; }
  .pricing-grid    { grid-template-columns:1fr; }
  .pricing-step-col{ display:none; }
  .flow-grid       { grid-template-columns:1fr 1fr; gap:14px; }
  .member-grid     { grid-template-columns:repeat(2,1fr); }
  .footer-cta-row  { flex-direction:column; text-align:center; }
  .footer-cta-btns { flex-direction:column; }
  .footer-cta-btns a{ text-align:center; justify-content:center; }

  .fv-h1      { font-size:28px; }
  .about-text { font-size:16px; }
  .section-h2 { font-size:20px; }
  .flow-h2    { font-size:22px; }
  .plan-price-num { font-size:28px; }
  .flow-step-num  { font-size:32px; }
}

/* ハンバーガーボタン */
.sp-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 767px) {
.sp-menu-btn {
    display: block;
  }
}
.sp-menu-btn span {
  display: block;
  width: 30px;
  height: 4px;
  background: #018B81;
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 4px;
}

/* SPナビ */
.sp-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #f4f6f6;
  z-index: 200;
  padding: 70px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
}

.sp-nav.is-open {
  right: 0;
}

.sp-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333333;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #333333;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}
.slider-dot.active {
  background: #333333;
}

@media (min-width: 768px) {
  .sp-nav {
    display: none !important;
  }
}
.sp-nav {
  background-color: #ffffff;
}
.sp-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sp-nav-list {
  display: flex;
  flex-direction: column;
}
.sp-nav-item {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  text-decoration: none;
  border-bottom: 1px dashed #018b81;
  transition: color 0.15s ease;
}
.sp-nav-item:active {
  color: #018b81;
}
.sp-nav-cta {
  margin-top: 24px;
}
.sp-nav-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-nav-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px dashed #018b81; 
  padding: 14px 4px;
  font: inherit;
  cursor: pointer;
  color: #333333;
  font-weight: 700;
}

.sp-nav-subitem {
  display: block;
  width: 100%;
  padding: 10px 4px 10px 1.5em;
  opacity: 0.85;
  font-size: 16px;
  color: #333333;
  text-decoration: none;
  font-weight: 700;
}

.sp-nav-accordion-icon {
  font-size: 0.75em;
  transition: transform 0.2s ease;
}

.sp-nav-accordion.is-open .sp-nav-accordion-icon {
  transform: rotate(180deg);
}

.sp-nav-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.sp-nav-accordion.is-open .sp-nav-accordion-panel {
  max-height: 300px;
}

.sp-nav-subitem {
  display: block;
  padding-left: 1.5em;
  opacity: 0.85;
}

/* SP固定CTAバー */
.fixed-cta-bar {
  display: none;
}

/* お申し込みctaボタンデザイン */
.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  color: #ffffff;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(180deg, #ff9a52 0%, #fd752d 45%, #e8590f 100%);
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.65),
    inset 0 -3px 4px rgba(0,0,0,.2),
    0 4px 10px rgba(253,117,45,.35);
}

/* サービス */
.service-title {
  position: relative;
  padding-bottom: 0.3em;
  display: inline-block;
}

.service-title::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #4BB57B, #27A3B6);
}

.service-card {
  border-top: 4px solid #018b81;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* サービス詳細ページ：見出し色・サイズ */
.service-detail-content h2 {
    color: #1BA49A !important;
    font-size: 22px !important;
	font-weight:700;
}

.service-detail-content #usage ~ h3:nth-of-type(1) {
    color: #14B8A1 !important;
    font-size: 20px !important;
}

.service-detail-content #usage ~ h3:nth-of-type(2) {
    color: #238CE2 !important;
    font-size: 20px !important;
}

.service-detail-content #usage ~ h3:nth-of-type(3) {
    color: #F472B6 !important;
    font-size: 20px !important;
}
/* 早見表スワイプ */
@keyframes swipe-fade {
  0%, 70% { opacity: 1; }
  100%    { opacity: 0; visibility: hidden; }
}
.swipe-hint {
  animation: swipe-fade 2.5s ease-in-out 3;
}

/* サービス詳細ページ ページ内リンク：スクロールバー常時表示 */
#service-nav-scroll {
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb;
}
#service-nav-scroll::-webkit-scrollbar {
  height: 4px;
  display: block;
}
#service-nav-scroll::-webkit-scrollbar-track {
  background: #e3edeb;
  border-radius: 9999px;
}
#service-nav-scroll::-webkit-scrollbar-thumb {
  background: #9dbfbc;
  border-radius: 9999px;
}

@media (max-width: 767px) {
  .fixed-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    z-index: 99;
    box-shadow: 0 -2px 10px rgba(0,0,0,.1);
  }
}

@media (min-width: 768px) {
  .flow-img {
    height: 450px;
  }
  .cta-illust {
    margin-bottom: -42px;
  }
}

.flow-img {
  height: 520px;
}
@media (max-width: 767px) {
  .flow-img {
    height: 260px;
  }
}

.paper-stack {
    position: relative;
}

@media (max-width: 767px) {
    .paper-stack::before {
        display: none;
    }
}
.paper-stack::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 96%;
    background: #ffffff;
    border: 1px solid #333333;
    transform: rotate(-2.5deg) translate(50px, 68px);
    transform-origin: bottom left;
    z-index: 0;
}

.paper-stack-inner {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #333333;
}

.paper-stack > * {
    position: relative;
    z-index: 1;
}

/* イベント */
.event-title {
  position: relative;
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.event-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  max-width: 200px;
  left: 50%;
  transform: translateX(-50%);
  height: 12px;
  background: -webkit-repeating-linear-gradient(-45deg, #018b81, #018b81 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #018b81, #018b81 2px, #fff 2px, #fff 4px);
}
.event-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(1,139,129,0.12);
  border-color: #018b81 !important;
}

/* FAQアコーディオン */
.faq-item summary {
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* 法務系ページ 共通 */
.legal-content h2 {
    position: relative;
    background-color: #1BA49A !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center;
    padding: 0.9rem 1rem;
    margin: 2.5rem 0 1.75rem;
    border-radius: 4px;
    font-size: 1.6rem !important;
    z-index: 3;
}

.legal-content h2::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #333333;
    border-radius: 4px;
    background: transparent;
    transform: translate(6px, 6px);
    z-index: -1;
}

.legal-content h3 {
    font-weight: 700;
    color: #333333;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ol,
.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ol { list-style: decimal; }
.legal-content ul { list-style: disc; }
.legal-content li {
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #333333;
}
.legal-content p {
    font-weight: 700;
    color: #333333;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.legal-content table th {
    text-align: left;
    width: 25%;
    padding: 0.75rem 0.5rem;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 700;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}
.legal-content table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.footer-service-panel.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.footer-pricing-panel.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* 管理バーがある場合のFVずれ補正 */
.admin-bar #site-header {
  top: 32px;
}
.admin-bar #fv-spacer {
  height: 112px;
}


/* =========================================
   PocketOffice 会員マイページ
========================================= */

.pocket-mypage {
  --mypage-main: #018b81;
  --mypage-dark: #006e67;
  --mypage-light: #eaf8f6;
  --mypage-bg: #f4f8f7;
  --mypage-text: #263332;
  --mypage-muted: #687876;
  --mypage-border: #dbe8e6;

  padding: 50px 0 90px;
  background: var(--mypage-bg);
  color: var(--mypage-text);
}

.pocket-mypage .content {
  float: none;
  padding: 0;
}

/* ヘッダー
----------------------------------------- */

.mypage-header {
  margin-bottom: 32px;
  padding: 40px 30px;
  border: 1px solid var(--mypage-border);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(234, 248, 246, 0.95),
      rgba(255, 255, 255, 0.98)
    );
  box-shadow: 0 14px 40px rgba(0, 90, 82, 0.08);
  text-align: center;
}

.mypage-logo {
  margin-bottom: 22px;
}

.mypage-logo img {
  display: block;
  width: min(280px, 75%);
  height: auto;
  margin: 0 auto;
}

.member-ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--mypage-text);
  font-size: clamp(23px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
}

.member-name {
  color: var(--mypage-main);
  font-weight: 800;
}

.member-welcome {
  font-weight: 700;
}

.mypage-lead {
  margin: 0;
  color: var(--mypage-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* メニュー
----------------------------------------- */

.mypage-navigation {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-bottom: 40px;
}

.pocket-mypage .tab-box {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--mypage-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 70, 65, 0.09);
  backdrop-filter: blur(8px);
}

.pocket-mypage .tab-inner {
  min-width: 0;
}

.pocket-mypage .et-hero-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 78px;
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff;
  color: var(--mypage-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.pocket-mypage .et-hero-tab i {
  font-size: 20px;
}

.pocket-mypage .et-hero-tab:hover,
.pocket-mypage .et-hero-tab:focus {
  transform: translateY(-3px);
  background: var(--mypage-main);
  color: #fff;
  box-shadow: 0 8px 22px rgba(1, 139, 129, 0.22);
}

/* 本文エリア
----------------------------------------- */

.mypage-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mypage-content > hr {
  display: none;
}

/*
固定ページ本文内にある各セクションのIDをカード化
*/
.mypage-content #tab-news,
.mypage-content #tab-member,
.mypage-content #tab-conf,
.mypage-content #tab-deposit,
.mypage-content #tab-info {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--mypage-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(21, 79, 74, 0.07);
  scroll-margin-top: 140px;
}

/* 見出し
----------------------------------------- */

.mypage-content #tab-news > h2:first-child,
.mypage-content #tab-member > h2:first-child,
.mypage-content #tab-conf > h2:first-child,
.mypage-content #tab-deposit > h2:first-child,
.mypage-content #tab-info > h2:first-child {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 16px 18px;
  border-bottom: 1px solid var(--mypage-border);
  color: var(--mypage-text);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.4;
}

.mypage-content #tab-news > h2:first-child::before,
.mypage-content #tab-member > h2:first-child::before,
.mypage-content #tab-conf > h2:first-child::before,
.mypage-content #tab-deposit > h2:first-child::before,
.mypage-content #tab-info > h2:first-child::before {
  position: absolute;
  top: 2px;
  bottom: 18px;
  left: 0;
  width: 5px;
  border-radius: 10px;
  background: var(--mypage-main);
  content: "";
}

/* テーブル
----------------------------------------- */

.mypage-content table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid var(--mypage-border);
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.mypage-content table th,
.mypage-content table td {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--mypage-border);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  vertical-align: middle;
}

.mypage-content table tr:last-child th,
.mypage-content table tr:last-child td {
  border-bottom: 0;
}

.mypage-content table th {
  width: 32%;
  background: var(--mypage-light);
  color: var(--mypage-dark);
  font-weight: 700;
}

.mypage-content table td {
  background: #fff;
}

/* 画像・iframe
----------------------------------------- */

.mypage-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.mypage-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  border: 1px solid var(--mypage-border) !important;
  border-radius: 14px;
  background: #fff;
}

/* リンク・ボタン
----------------------------------------- */

.mypage-content a {
  color: var(--mypage-main);
  font-weight: 600;
}

.mypage-content a:hover {
  color: var(--mypage-dark);
}

.mypage-content a.button,
.mypage-content .button,
.mypage-content input[type="submit"],
.mypage-content button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 13px 25px;
  border: 0;
  border-radius: 100px;
  background: var(--mypage-main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(1, 139, 129, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mypage-content a.button:hover,
.mypage-content .button:hover,
.mypage-content input[type="submit"]:hover,
.mypage-content button:hover {
  transform: translateY(-2px);
  background: var(--mypage-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(1, 139, 129, 0.26);
}

/* ログアウト
----------------------------------------- */

.member-logout {
  margin-top: 45px;
  text-align: center;
}

.member-logout a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 230px;
  min-height: 52px;
  padding: 13px 25px;
  border: 1px solid #cc5c5c;
  border-radius: 100px;
  background: #fff;
  color: #b43c3c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.member-logout a:hover {
  transform: translateY(-2px);
  background: #b43c3c;
  color: #fff;
}

/* タブレット
----------------------------------------- */

@media screen and (max-width: 991px) {

  .pocket-mypage {
    padding: 35px 15px 70px;
  }

  .pocket-mypage .tab-box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mypage-navigation {
    position: static;
  }
}

/* スマートフォン
----------------------------------------- */

@media screen and (max-width: 600px) {

  .pocket-mypage {
    padding: 24px 12px 60px;
  }

  .mypage-header {
    margin-bottom: 20px;
    padding: 28px 18px;
    border-radius: 17px;
  }

  .mypage-logo {
    margin-bottom: 18px;
  }

  .member-ttl {
    display: block;
    font-size: 22px;
  }

  .member-name,
  .member-welcome {
    display: block;
  }

  .mypage-lead {
    font-size: 13px;
  }

  .pocket-mypage .tab-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    border-radius: 14px;
  }

  .pocket-mypage .et-hero-tab {
    min-height: 68px;
    padding: 10px 5px;
    font-size: 12px;
  }

  .pocket-mypage .et-hero-tab i {
    font-size: 18px;
  }

  .mypage-content {
    gap: 18px;
  }

  .mypage-content #tab-news,
  .mypage-content #tab-member,
  .mypage-content #tab-conf,
  .mypage-content #tab-deposit,
  .mypage-content #tab-info {
    padding: 22px 15px;
    border-radius: 15px;
    scroll-margin-top: 20px;
  }

  .mypage-content table,
  .mypage-content table tbody,
  .mypage-content table tr,
  .mypage-content table th,
  .mypage-content table td {
    display: block;
    width: 100%;
  }

  .mypage-content table {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .mypage-content table tr {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--mypage-border);
    border-radius: 10px;
  }

  .mypage-content table th,
  .mypage-content table td {
    border-bottom: 0;
  }

  .mypage-content table th {
    padding: 10px 14px;
  }

  .mypage-content table td {
    min-height: 48px;
    padding: 12px 14px;
  }

  .mypage-content iframe {
    min-height: 480px;
  }

  .mypage-content a.button,
  .mypage-content .button,
  .mypage-content input[type="submit"],
  .mypage-content button {
    width: 100%;
    min-width: 0;
  }

  .member-logout a {
    width: 100%;
    min-width: 0;
  }
}

#tab-deposit .deposit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

#tab-deposit .deposit-list a {
  display: block;
  transition: transform 0.2s ease;
}

#tab-deposit .deposit-list a:hover {
  transform: translateY(-4px);
}

#tab-deposit .deposit-list img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 12px;
}

@media screen and (max-width: 767px) {
  #tab-deposit .deposit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* ========================================
   PocketOffice｜コラム詳細ページ
======================================== */

.single-post__inner {
  max-width: 840px;
  margin: 60px auto;
  padding: 0 24px;
}

.single-post__title {
  margin: 0 0 16px;
  color: #2f3e3c;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.single-post__date {
  margin: 0 0 24px;
  color: #6b7c7a;
  font-size: 12px;
}

.single-post__thumbnail {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 16px;
}

.single-post__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

/* 本文 */
.article-body {
  --po-main: #20a89f;
  --po-deep: #2f3e3c;
  --po-text: #4a6360;
  --po-pale: #f1f8f7;
  --po-line: #dcebea;

  color: var(--po-text);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.article-body * {
  box-sizing: border-box;
}

.article-body p {
  margin: 0 0 1.5em;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
  scroll-margin-top: 100px;
}

/* 大見出し */
.article-body h2 {
  position: relative;
  margin: 3.5em 0 1.4em;
  padding-bottom: 0.65em;
  color: var(--po-deep);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--po-line);
}

.article-body h2::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 72px;
  height: 2px;
  content: "";
  background: var(--po-main);
}

/* 中見出し */
.article-body h3 {
  position: relative;
  margin: 2.7em 0 1.2em;
  padding: 0.75em 1em 0.75em 1.15em;
  color: var(--po-deep);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  line-height: 1.65;
  background: var(--po-pale);
  border-radius: 8px;
}

.article-body h3::before {
  position: absolute;
  top: 0.75em;
  bottom: 0.75em;
  left: 0;
  width: 4px;
  content: "";
  background: var(--po-main);
  border-radius: 999px;
}

/* 小見出し */
.article-body h4 {
  margin: 2.2em 0 1em;
  color: var(--po-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
}

.article-body h4::before {
  margin-right: 0.5em;
  content: "●";
  color: var(--po-main);
  font-size: 0.7em;
  vertical-align: 0.1em;
}

.article-body h5 {
  margin: 1.8em 0 0.8em;
  color: var(--po-deep);
  font-size: 16px;
  font-weight: 800;
}

/* 箇条書き */
.article-body ul,
.article-body ol {
  margin: 1.2em 0 1.8em;
  padding: 1.15em 1.35em 1.15em 2.3em;
  background: #fafdfd;
  border: 1px solid var(--po-line);
  border-radius: 10px;
}

.article-body li {
  margin: 0.45em 0;
  padding-left: 0.2em;
}

.article-body li::marker {
  color: var(--po-main);
  font-weight: 800;
}

/* 強調 */
.article-body strong,
.article-body b {
  color: var(--po-deep);
  font-weight: 800;
  background: linear-gradient(transparent 62%, #d8f2ef 62%);
}

/* リンク */
.article-body a:not(.ez-toc-link) {
  color: #13867f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(32, 168, 159, 0.4);
  text-underline-offset: 0.18em;
}

.article-body a:not(.ez-toc-link):hover {
  color: #0c625d;
  text-decoration-color: currentColor;
}

/* 表 */
.article-body table {
  width: 100%;
  margin: 1.8em 0;
  font-size: 14px;
  line-height: 1.75;
  border: 1px solid var(--po-line) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
}

.article-body th,
.article-body td {
  padding: 0.85em 1em !important;
  border-color: var(--po-line) !important;
  vertical-align: top;
}

.article-body th {
  color: #fff;
  font-weight: 800;
  background: var(--po-main);
}

.article-body tr:nth-child(even) td {
  background: #f8fcfc;
}

/* 画像・引用 */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-body blockquote {
  margin: 1.8em 0;
  padding: 1em 1.25em;
  background: var(--po-pale);
  border-left: 4px solid var(--po-main);
  border-radius: 0 8px 8px 0;
}

/* 戻るリンク */
.single-post__back {
  margin-top: 48px;
}

.single-post__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #14b8a1;
  font-weight: 700;
  text-decoration: none;
}

.single-post__back a:hover {
  text-decoration: underline;
}

/* ========================================
   PocketOffice｜ポップなコラム表現
======================================== */

/* 記事タイトル */
.single-post__title {
  position: relative;
  padding-bottom: 20px;
}

.single-post__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 92px;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #20a89f 0 60%, #ffd66b 60% 100%);
  border-radius: 999px;
}

/* 本文をひと回り大きく */
.article-body {
  font-size: 17px;
  line-height: 2;
}

/* H2 */
.article-body h2 {
  padding: 18px 20px 18px 24px;
  background: linear-gradient(135deg, #ecf9f7 0%, #f8fffd 100%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(32, 168, 159, 0.08);
}

.article-body h2::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  content: "●";
  color: #fff;
  font-size: 12px;
  vertical-align: 0.12em;
  background: #20a89f;
  border-radius: 50%;
}

.article-body h2::after {
  display: none;
}

/* H3 */
.article-body h3 {
  padding: 15px 18px 15px 20px;
  font-size: clamp(20px, 2.8vw, 24px);
  background: #fff;
  border: 1px solid #dcebea;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(47, 62, 60, 0.05);
}

.article-body h3::before {
  top: 50%;
  bottom: auto;
  height: 28px;
  transform: translateY(-50%);
  background: linear-gradient(#20a89f 0 55%, #ffd66b 55% 100%);
}

.article-body h4 {
  font-size: 19px;
}

/* 箇条書き：丸マーカーを表示 */
.article-body ul {
  margin: 1.3em 0 2em;
  padding: 1.2em 1.5em 1.2em 2.7em;
  list-style: disc;
  background: #f8fcfb;
  border: 1px solid #dcebea;
  border-radius: 14px;
}

.article-body ul li {
  margin: 0.55em 0;
  padding-left: 0.35em;
}

/* 以前のチェックマーク指定を無効化 */
.article-body ul li::before {
  content: none;
}

.article-body ul li::marker {
  color: #20a89f;
  font-size: 1.15em;
}

.article-body ul ul {
  margin: 0.7em 0 0.3em;
  padding: 0.4em 0 0.4em 1.7em;
  list-style: circle;
  background: transparent;
  border: 0;
}

/* 番号リスト */
.article-body ol {
  margin: 1.3em 0 2em;
  padding: 1.2em 1.5em 1.2em 2.8em;
  background: #fffdf5;
  border: 1px solid #f5e5ad;
  border-radius: 14px;
}

.article-body ol li {
  margin: 0.55em 0;
  padding-left: 0.35em;
}

.article-body ol li::marker {
  color: #d89c12;
  font-weight: 900;
}

/* 強調・画像・引用 */
.article-body strong,
.article-body b {
  background: linear-gradient(transparent 55%, #d7f4ef 55%);
}

.article-body img {
  box-shadow: 0 8px 20px rgba(47, 62, 60, 0.08);
}

.article-body blockquote {
  position: relative;
  padding: 1.2em 1.4em 1.2em 4em;
  background: #fff9e9;
  border: 0;
  border-radius: 14px;
}

.article-body blockquote::before {
  position: absolute;
  top: 16px;
  left: 20px;
  content: "💡";
  font-size: 22px;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .single-post__inner {
    margin: 40px auto;
    padding: 0 18px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.95;
  }

  .article-body h2 {
    margin-top: 3em;
  }

  .article-body table {
    font-size: 12px;
  }

  .article-body th,
  .article-body td {
    padding: 0.7em 0.6em !important;
  }
}

/* ========================================
   PocketOffice｜お申し込みページ
======================================== */

.join-page {
  padding: 64px 24px 90px;
  background:
    radial-gradient(circle at top right, #e2f8f4 0, transparent 27%),
    #f8fcfb;
}

.join-page__inner {
  max-width: 840px;
  margin: 0 auto;
}

.join-page__hero {
  position: relative;
  margin-bottom: 28px;
  padding: 42px 48px;
  overflow: hidden;
  color: #2f3e3c;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(47, 62, 60, 0.08);
}

.join-page__hero::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 150px;
  height: 150px;
  content: "";
  background: #d9f4ef;
  border-radius: 50%;
}

.join-page__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #20a89f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.join-page__hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.join-page__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #4a6360;
  font-size: 16px;
  line-height: 1.9;
}

.join-page__points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.join-page__points li {
  color: #2f3e3c;
  font-size: 14px;
  font-weight: 700;
}

.join-page__points li::before {
  margin-right: 6px;
  content: "✓";
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 5px;
  background: #20a89f;
  border-radius: 50%;
}

/* フォーム全体 */
.join-page__form {
  padding: 40px 48px 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(47, 62, 60, 0.08);
}

.join-page__form .wpcf7 form {
  counter-reset: form-section;
}

/* セクション見出し */
.join-page__form .wpcf7 h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 48px 0 22px;
  padding: 0 0 12px;
  color: #2f3e3c;
  font-size: 23px;
  font-weight: 900;
  border-bottom: 2px solid #dcebea;
}

.join-page__form .wpcf7 h2:first-of-type {
  margin-top: 0;
}

.join-page__form .wpcf7 h2::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  content: counter(form-section);
  counter-increment: form-section;
  color: #fff;
  font-size: 13px;
  background: #20a89f;
  border-radius: 50%;
}

/* 入力グループ */
.join-page__form .form-box {
  margin: 0 0 28px;
  padding: 26px 28px;
  background: #f8fcfb;
  border: 1px solid #dcebea;
  border-radius: 14px;
}

.join-page__form .form-box > h3,
.join-page__form .wpcf7 form > h3 {
  margin: 26px 0 9px;
  color: #2f3e3c;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.join-page__form .form-box > h3:first-child {
  margin-top: 0;
}

.join-page__form .wpcf7 p {
  margin: 0 0 18px;
}

.join-page__form .check-it {
  display: inline-block;
  margin-left: 8px;
  color: #e45e42;
  font-size: 12px;
  font-weight: 700;
}

.join-page__form h3 > span:not(.check-it) {
  margin-left: 8px;
  color: #6b7c7a;
  font-size: 12px;
  font-weight: 500;
}

/* テキスト入力 */
.join-page__form input[type="text"],
.join-page__form input[type="email"],
.join-page__form input[type="tel"],
.join-page__form input[type="number"],
.join-page__form textarea,
.join-page__form select {
  width: 100%;
  padding: 14px 16px;
  color: #2f3e3c;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  border: 1px solid #c9ddda;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.join-page__form textarea {
  min-height: 130px;
  resize: vertical;
}

.join-page__form input:focus,
.join-page__form textarea:focus,
.join-page__form select:focus {
  border-color: #20a89f;
  box-shadow: 0 0 0 4px rgba(32, 168, 159, 0.14);
}

.join-page__form input::placeholder,
.join-page__form textarea::placeholder {
  color: #9aabaa;
}

/* ラジオ・チェックボックス */
.join-page__form .wpcf7-radio,
.join-page__form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.join-page__form .wpcf7-list-item {
  display: inline-flex;
  margin: 0;
}

.join-page__form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: #2f3e3c;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c9ddda;
  border-radius: 8px;
  transition: 0.2s ease;
}

.join-page__form .wpcf7-list-item label:hover {
  background: #ecf9f7;
  border-color: #20a89f;
}

.join-page__form input[type="radio"],
.join-page__form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #20a89f;
}

/* 注釈・規約 */
.join-page__form .form-sm {
  margin: -6px 0 18px;
  color: #6b7c7a;
  font-size: 13px;
  line-height: 1.8;
}

.join-page__form .form-link,
.join-page__form a {
  color: #13867f;
  font-weight: 700;
}

/* 送信ボタン */
.join-page__form .wpcf7-submit {
  display: block;
  width: min(100%, 420px);
  margin: 34px auto 14px;
  padding: 17px 24px;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  background: linear-gradient(135deg, #20a89f, #169087);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 0 #11756e;
  transition: transform 0.15s, box-shadow 0.15s;
}

.join-page__form .wpcf7-submit:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 #11756e;
}

.join-page__form .wpcf7-response-output {
  margin: 20px 0 0;
  border-radius: 8px;
}

.join-page__form .text-center {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .join-page {
    padding: 36px 16px 70px;
  }

  .join-page__hero,
  .join-page__form {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .join-page__points {
    display: block;
  }

  .join-page__points li {
    margin: 9px 0;
  }

  .join-page__form .form-box {
    padding: 20px 16px;
  }

  .join-page__form .wpcf7-radio,
  .join-page__form .wpcf7-checkbox {
    display: block;
  }

  .join-page__form .wpcf7-list-item {
    display: flex;
    margin: 8px 0;
  }

  .join-page__form .wpcf7-list-item label {
    width: 100%;
  }
}

.kiyaku-inline {
    overflow: scroll;
    height: 300px;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 15px;
}
/* コラム一覧：ページネーション */
.column-pagination {
  margin-top: 48px;
}

.column-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-pagination .page-numbers li {
  margin: 0;
}

.column-pagination a.page-numbers,
.column-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  color: #2f3e3c;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dcebea;
  border-radius: 9px;
  transition: 0.2s ease;
}

.column-pagination a.page-numbers:hover {
  color: #fff;
  background: #20a89f;
  border-color: #20a89f;
  transform: translateY(-2px);
}

.column-pagination span.page-numbers.current {
  color: #fff;
  background: #20a89f;
  border-color: #20a89f;
  box-shadow: 0 4px 10px rgba(32, 168, 159, 0.25);
}

.column-pagination span.page-numbers.dots {
  min-width: auto;
  padding: 0 4px;
  background: transparent;
  border: 0;
}

@media screen and (max-width: 767px) {
  .column-pagination {
    margin-top: 36px;
  }

  .column-pagination .page-numbers {
    gap: 6px;
  }

  .column-pagination a.page-numbers,
  .column-pagination span.page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
}