/* MODULLO landing — tokens */
:root {
  --color-teal: #00a09a;
  --color-teal-dark: #008a85;
  --color-teal-hover: #00b8b1;
  --color-blue: #256b97;
  --color-blue-blight: #2ba5b5;
  --color-blue-dark: #185278;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-red: #d42d2d;
  --color-gray: #E8E8E8;
  --color-text-muted: #333333;
  --color-bg-muted: #f5f7f8;
  --color-footer: #222222;
  --font: "Noto Sans JP", system-ui, sans-serif;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* 固定ヘッダー分。ページ内アンカーの停止位置をヘッダー下に下げる */
}

/* パンくず（.breadcrumb）が表示される投稿/固定ページはその高さも加算 */
html:has(body.single),
html:has(body.page) {
  scroll-padding-top: 130px;
  /* ヘッダー105px + パンくず約30px */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container--narrow {
  max-width: 900px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.nav-list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

.nav-list .btn a {
  color: #fff;
  border: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  /* 実機でのタップ反応を改善 */
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Overlay（ヘッダーより下、画面下端までを透過グレーで覆う） */
.nav-overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  /* --header-h (72px) + .header-inner の padding-block (0.75rem*2) */
  top: calc(var(--header-h, 72px) + 1.5rem);
  bottom: 0;
  z-index: 90;
  background: rgba(60, 60, 60, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .nav-overlay {
    display: block;
  }
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(0, 160, 154, 0.6);
  outline-offset: 3px;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-header {
  flex-shrink: 0;
  background: #0bad77;
  color: var(--color-white);
  border-radius: 999px;
}

.btn-header:hover {
  background: #099868;
  color: var(--color-white);
}

.btn-primary {
  background: #0bad77;
  color: var(--color-white);
  border-radius: 999px;
}

.btn-primary:hover {
  background: #099868;
}

.contactForm .btn-primary {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-cta-fixed {
  width: 260px;
  height: 60px;
  max-width: 100%;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-on-teal {
  background: var(--color-white);
  color: var(--color-teal);
}

.btn-on-teal:hover {
  background: #f0fffe;
  color: var(--color-teal-dark);
}

/* Hero */
.hero {
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(145deg, rgba(232, 247, 246, 0.92) 0%, rgba(212, 239, 237, 0.18) 45%, rgba(197, 232, 230, 0.86) 100%),
    url("../../../uploads/2026/05/bg_main.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center bottom;
  background-size: cover, cover;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.hero-bg::before {
  width: 320px;
  height: 320px;
  background: var(--color-teal);
  top: -80px;
  right: 10%;
  filter: blur(60px);
}

.hero-bg::after {
  width: 220px;
  height: 220px;
  background: #7fd4cf;
  bottom: 20%;
  left: 5%;
  filter: blur(50px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem 3rem;
  padding-block: 3.5rem 2rem;
}

.hero-copy {
  flex: 1 1 300px;
  max-width: 520px;
  padding-left: 2rem;
  ;
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-teal);
}

.hero-br {
  display: none;
}

.hero-kana {
  position: relative;
  display: inline-block;
  padding-top: 0.45em;
}

.hero-kana::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.2em;
  height: 0.2em;
  border-radius: 999px;
  background: #ff8a00;
}

.hero-now {
  color: #0099c3;
}

.hero-ni {
  color: #0bb0b5;
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.hero-mobile-br {
  display: none;
}

.about-mobile-br {
  display: none;
  /* PC表示時は改行を無効にする */
}

@media (max-width: 640px) {
  .about-mobile-br {
    display: block;
    /* PC表示時は改行を無効にする */
  }
}

.hero-text {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.hero-visual {
  flex: 1 1 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.12));
}

/* Responsive adjustments for hero section */
@media (max-width: 1000px) {
  .hero-grid {
    flex-direction: column-reverse;
    /* hero-visual (image) on top */
    align-items: center;
    padding-block: 2.5rem 2rem;
    /* Adjust padding for tablet/smaller desktop */
    gap: 1.5rem 3rem;
    /* Adjust gap */
  }

  .hero-copy {
    padding-left: 0;
    /* No padding-left when stacked */
    text-align: center;
    /* Center text when stacked */
    max-width: 100%;
    /* Allow hero-copy to take full width */
  }

  .hero-br {
    display: none;
    /* Ensure line break is hidden on smaller screens */
  }

  .hero-mobile-br {
    display: block;
    /* Ensure mobile line break is visible when stacked */
  }

  .hero-visual {
    min-height: 0;
    /* Allow visual to shrink if needed */
  }

  .hero-text {
    max-width: 650px;
    /* Slightly smaller text on smaller screens */
  }
}

/* Feature bar */
.feature-bar {
  position: relative;
  z-index: 2;
  background: rgba(0, 187, 177, 0.3);
  backdrop-filter: blur(10px);
  margin-top: 1rem;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.04);
}

.feature-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 0.75rem;
  padding-block: 1.25rem;
}

.feature-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--color-white);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.feature-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sections */
.section {
  position: relative;
  padding-block: 4rem;
}

.section--white {
  position: relative;
  overflow: hidden;
}

.section-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
}

/* Posts listing & cards */
.posts-controls {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}

.posts-controls input[type="search"] {
  flex: 1 1 auto;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e6eaec;
  border-radius: 6px;
}

.posts-controls .btn {
  background: var(--color-teal-dark);
  color: var(--color-white);
  border-radius: 6px;
  padding: 0.6rem;
  line-height: 1;
}

.posts-controls .btn:hover {
  background: var(--color-teal);
}

.posts-main {
  display: block;
}

.posts-top {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 2rem 2.5rem;
  background: #FFF;
  border-radius: 10px;
  border: 1px solid #EEE;
}

.posts-filters {
  margin: 1rem 0 0;
}

.posts-filters h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

/* ブログ一覧: 検索 + カテゴリーフィルターのカード */
.posts-filter-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 2rem;
  margin: 0 auto 2.5rem;
  max-width: 880px;
}

.posts-filter-lead {
  text-align: center;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.posts-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.posts-search__input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1px solid #d8dee5;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
}

.posts-search__input:focus {
  outline: 2px solid #099868;
  outline-offset: 1px;
}

.posts-search__btn {
  width: 40px;
  background: #099868;
  border: 0;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.posts-search__btn:hover {
  background: #087455;
}

.posts-filter-label {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

/* カード内 pill の見た目（カード外の .category-list には影響しない） */
.posts-filter-card .category-list a {
  background: #f1f3f6;
  color: #6f6f6f;
}

.posts-filter-card .category-list a.is-active,
.posts-filter-card .category-list a[aria-current="page"] {
  background: #099868;
  color: #fff;
}

@media (max-width: 600px) {
  .posts-filter-card {
    padding: 1.25rem 1rem;
  }
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--color-text);
  background: var(--color-bg-muted);
  font-size: 0.95rem;
}

.category-list a:hover {
  background: #e9f5f4;
}

/* カテゴリーフィルター: 選択中の状態 */
.category-list a.is-active,
.category-list a[aria-current="page"] {
  background: #099868;
  color: #ffffff;
}

.category-list a.is-active:hover,
.category-list a[aria-current="page"]:hover {
  background: #087455;
}

/* ブログ記事一覧の小見出し（中央寄せ + 下線装飾） */
.posts-subhead {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  padding-bottom: 0.5rem;
}

.posts-subhead::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: #5aa9c4;
  margin: 0.6rem auto 0;
}

/* 投稿が無い場合のメッセージ */
.posts-empty {
  text-align: center;
  color: #6f6f6f;
  padding: 2rem 0;
}

.posts-list {
  width: 100%;
}

.post-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
}

.post-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.post-link {
  display: block;
  color: inherit;
}

.post-thumb {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.post-info {
  padding: 0.85rem;
}

.post-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.post-meta {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #5a6a72;
  background: #f3f7f8;
}

.pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.pagination a {
  color: var(--color-text);
}

/* the_posts_pagination() のラッパー <nav> を中央寄せ＆数字スタイル */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  color: var(--color-text);
  background: transparent;
  text-decoration: none;
  font-size: 0.95rem;
}

.navigation.pagination .page-numbers:hover {
  background: #e9f5f4;
}

.navigation.pagination .page-numbers.current {
  background: #099868;
  color: #ffffff;
}

.navigation.pagination .page-numbers.dots {
  background: transparent;
}

/* Post detail */
.post-article {
  max-width: 880px;
  margin-inline: auto;
}

.post-article .post-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.post-article .post-meta {
  color: #6f6f6f;
  margin-bottom: 1rem;
}

/* Detail: space between date and category, and style category as link */
.post-article .post-meta {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: #6f6f6f;
  margin-bottom: 1rem;
}

.post-article .post-meta time {
  color: #6f6f6f;
  font-size: 0.95rem;
}

.post-article .post-meta a.post-category {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(9, 152, 104, 0.12);
  /* light tint of #099868 */
  color: #096857;
  /* darker shade for text */
  text-decoration: none;
  font-size: 0.9rem;
}

.post-back {
  text-align: center;
  margin-top: 6rem;
}

.post-back .btn {
  display: inline-block;
  background: #099868;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.post-back .btn:hover {
  background: #087455;
}

.post-featured img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.post-content p {
  margin: 0 0 1rem;
}

@media (max-width: 1000px) {
  .post-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .posts-main {
    flex-direction: column;
  }

  .posts-aside {
    width: 100%;
    order: 2;
  }

  .posts-list {
    order: 1;
  }
}

@media (max-width: 480px) {
  .post-cards {
    grid-template-columns: 1fr;
  }

  .post-thumb img {
    height: 220px;
  }
}

.section--white::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #deebf1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.35;
  z-index: -1;
}

#about.section--white {
  background-image: url("../../../uploads/2026/05/bg_content.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.about-head h2 {
  margin-bottom: 0.5rem;
}

.about-subtitle {
  margin: 0.25rem 0 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

.marker-yellow {
  background: linear-gradient(transparent 60%, rgba(255, 241, 0, 0.7) 0);
}

.about-divider {
  display: block;
  width: 92px;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: #0099c3;
  border-radius: 999px;
}

.about-lead {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 1.75rem;
  color: var(--color-text);
  font-weight: 500;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 0 auto 1.75rem;
  position: relative;
  background: #FFF;
  padding: 30px 20px;
  border-radius: 12px;
}

.about-images::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--color-white);
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.about-image {
  margin: 0;
}

.about-image-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /*box-shadow: var(--shadow-card);*/
  /*background: #ffffff;*/
}

.about-image-caption {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  max-width: calc(100% - 1rem);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: clamp(0.62rem, 1.35vw, 0.72rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: #000000;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .about-image-caption {
    top: 1rem;
  }
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.about-body {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.contact-top {
  max-width: 720px;
  margin: 0 auto 2rem;
  display: grid;
  gap: 1rem;
}

.contact-phone-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 32px;
  background: #f7fffc;
  border: 1px solid rgba(9, 152, 104, 0.12);
  margin: 0 auto;
}

.contact-phone-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #e5faf5;
  border-radius: 50%;
}

.contact-phone-label {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
}

.contact-phone {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #099868;
}

.contact-note {
  margin: 0;
  color: #333333;
  text-align: center;
}

.contactForm {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  padding: 2rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.form-label {
  display: grid;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--color-text);
}

.optional-note {
  color: #7d7d7d;
  font-size: 0.95rem;
}

.form-label input,
.form-label textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #d7dde0;
  border-radius: 10px;
  background: #ffffff;
  font-family: var(--font);
  color: var(--color-text);
}

.form-label textarea {
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
  justify-content: center;
  text-align: center;
}

.form-checkbox input {
  width: 1rem;
  height: 1rem;
}

.required-marker {
  color: #d42d2d;
  margin-left: 0.2rem;
}

.form-note {
  margin: 0;
  color: #333333;
  font-size: 0.95rem;
  text-align: center;
}

.row-privacy .Form-Item-Label {
  text-align: center;
}

/* Services (layout like provided image) */
.services-head h2 {
  color: var(--color-teal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.services-grid-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.services-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  min-height: 92px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.services-card h3 {
  margin: 15px 0 0;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: #256b97;
  line-height: 1.3;
}

.services-card--text-only {
  min-height: 60px;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.services-card--text-only h3 {
  margin: 0;
  padding: 0;
}

.services-card--with-illus {
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 2.5rem;
  min-height: 148px;
}

.services-grid-about .services-card--with-illus {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem;
  min-height: auto;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- サポートセクション：PC時に3カラム横並び --- */
@media (min-width: 901px) {
  #support .services-grid-about {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- SVGアイコンの基本スタイル --- */
.services-illus svg {
  width: 44px;
  height: 44px;
  stroke: var(--color-teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}

/* --- Comparison Table --- */
.comparison-table-wrap {
  margin-top: 3rem;
  max-width: 700px;
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-table thead th {
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
}

.comparison-table thead th:first-child {
  background: #f8f9fa;
}

.comparison-table tbody th {
  background: #f8f9fa;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  font-size: 1.25rem;
  font-weight: 700;
}

.comparison-table td.is-modullo {
  color: var(--color-teal);
  background: rgba(0, 160, 154, 0.03);
}

@media (max-width: 640px) {

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
  }

  .comparison-table td {
    font-size: 1.1rem;
  }
}

.services-grid-about .services-illus {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-grid-about .services-illus-img {
  width: 100%;
  max-width: 100px;
  height: auto;
}

.services-grid-about .services-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.services-grid-about .services-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.services-grid-about .services-content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Support section */
.support-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #FFF;
  border-radius: 6px;
  border: 1px solid #bbb;
}

.support-note h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.support-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.services-illus {
  width: 100%;
  min-height: 68px;
  max-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.services-illus-img {
  width: auto;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

.services-sep {
  margin: 2rem 0 1.5rem;
  position: relative;
  text-align: center;
}

.services-sep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
}

.services-sep span {
  position: relative;
  z-index: 1;
  padding: 0.3rem 2rem;
  background: var(--color-white);
  font-weight: 700;
  color: var(--color-text);
  border: 2px solid #DDD;
  border-radius: 20px;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: var(--color-teal);
}

.section-head--on-teal h1,
.section-head--on-teal h2,
.section-head--on-teal .section-sub {
  color: var(--color-white);
}

.section-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.section-head--on-teal .section-sub {
  color: rgba(255, 255, 255, 0.92);
}

.section-intro,
.section-outro {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.section-outro {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Two-column cards */
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
}

.card--shadow {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 0 0 1.5rem;
}

.card--shadow .card-title {
  padding: 0 1.25rem;
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-text);
}

.card--shadow p {
  margin: 0;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.card-media {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.card-media--a {
  background: linear-gradient(135deg, #b8e8e4 0%, var(--color-teal) 80%);
}

.card-media--b {
  background: linear-gradient(135deg, #dfecef 0%, #7ec9c4 100%);
}

/* Issues grid 3x2 */
.grid-issues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card--on-teal {
  background: var(--color-white);
  color: var(--color-text);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.card--on-teal p {
  margin: 0;
}

.issue-title {
  margin: 0.1rem 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text);
}

.issue-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.card-icon {
  font-size: 1.75rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    "Segoe UI Symbol", sans-serif;
  font-style: normal;
}

img.emoji,
img.wp-smiley {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 .07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* Services 4x3 */
.grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card--border {
  border: 2px solid rgba(0, 160, 154, 0.35);
  background: var(--color-white);
  padding: 1.1rem 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 160, 154, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card--border:hover {
  border-color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(0, 160, 154, 0.15);
}

.card-icon-sm {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    "Segoe UI Symbol", sans-serif;
  font-style: normal;
}

.card--border h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* Reasons — 5 columns */
.grid-reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.reason-card {
  flex: 1 1 180px;
  max-width: 220px;
  background: var(--color-white);
  padding: 1.5rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.reason-avatar {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--color-text);
}

.reason-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Reasons (new section) */
.section--reasons {
  background: #eaf6fa;
}

.reasons-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.reasons-copy p {
  margin: 0 0 1rem;
}

.reasons-copy p:last-child {
  margin-bottom: 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin: 2rem 0;
}

.reasons-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.reasons-card h3 {
  margin: 0;
  padding: 1rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #256b97;
  text-align: center;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.reasons-card-body {
  flex: 1;
  background: rgba(0, 0, 0, 0.02);
}

/* Process timeline */
.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 1rem;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(0, 160, 154, 0.25);
  z-index: 0;
}

.process-step {
  flex: 1 1 200px;
  max-width: 240px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 160, 154, 0.35);
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-teal);
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.accordion-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin: 0;
  border: none;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-trigger:hover {
  background: var(--color-teal-hover);
}

.accordion-item.is-open .accordion-trigger {
  background: var(--color-teal-dark);
}

.accordion-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-chevron {
  transform: rotate(-135deg);
}

.accordion-panel {
  background: var(--color-white);
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-answer {
  overflow: hidden;
  padding: 0 1.15rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  transition: padding 0.3s ease-in-out;
}

.accordion-item.is-open .accordion-answer {
  padding: 1rem 1.15rem 1.15rem;
}

/* Final CTA */
.section--cta-final {
  text-align: center;
  padding-block: 4.5rem;
}

.section--cta-final h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--color-white);
}

.cta-text {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 2.25rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2rem 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 0;
}

.footer-logo img {
  width: auto;
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.footer-logo:hover {
  opacity: 0.85;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

.footer-nav ul {
  padding-left: 0;
  margin: 0;
}

.footer-nav ul li {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding-left: 0;
  margin-bottom: 10px;
  margin-right: 15px;
}


.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer-nav--sub {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* Breadcrumb */
.breadcrumb {
  background: #00a09a;
  padding: 0.3rem 0;
  position: sticky;
  top: 72px;
  z-index: 99;
}

.breadcrumb .container span {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color: #fff;
}

.breadcrumb .container a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 外部リンク用のアイコン設定 */
.footer-nav--sub a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-nav--sub a[target="_blank"]:hover::after {
  opacity: 1;
}

/* About title section */
.section--about-title {
  padding: 0;
}

.about-title-bg {
  background-image: url(../../../uploads/2026/05/bg_business.png);
  background-size: cover;
  background-position: center;
  padding: 2rem 0;
}

.about-title {
  text-align: left;
  margin: 0;
  padding: 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-blue-dark);
}

.footer-nav--sub a {
  color: rgba(255, 255, 255, 0.62);
}

.single .wp-block-image {
  margin-top: 20px;
  margin-bottom: 20px;
}

.single h2.wp-block-heading {
  border-bottom: 1px solid #00a09a;
}

/*---------------------------------
    お問い合わせ
---------------------------------*/

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}

.wpcf7 .hidden-fields-container {
  display: none;
}

.wpcf7 div.form__row {
  display: block;
  margin: 0;
  padding: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.wpcf7 div.form__row.recap-text {
  text-align: center;
}

.wpcf7 p.form__label {
  width: 100%;
  text-align: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 0;
}

.wpcf7 p.form__label label {
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: 500;
}

.label-s {
  margin-left: 15px;
  font-size: 14px;
}

.wpcf7 p.form__label.is-required label::after,
.wpcf7-checkbox .wpcf7-list-item-label::after {
  content: "*";
  display: inline-block;
  color: var(--color-red);
  font-weight: bold;
}

.wpcf7 p.form__body {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 p.form__body.btn-push {
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-width: 260px;
  height: 62px;
  position: relative;
  text-decoration: none;
  text-align: center;
  color: #fff;
  z-index: 0;
  font-weight: bold;
  border-radius: 50px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
}

.wpcf7 span.wpcf7-list-item {
  display: block;
}

.wpcf7 span.wpcf7-list-item:not(:last-of-type) {
  margin: 0 0 24px 0;
}

.wpcf7 input[type=text],
.wpcf7 input[type=tel],
.wpcf7 input[type=email],
.wpcf7 textarea {
  font-size: 16px;
  width: 100%;
  margin: 0;
  padding: 17px 16px 18px 16px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: var(--color-gray);
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(0, 0, 255, 0);
  border-radius: 8px;
}

.wpcf7 input[type=text]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #099868;
  box-shadow: 0 0 0 2px rgba(9, 152, 104, 0.25);
}

.wpcf7 textarea {
  height: 210px;
}

.wpcf7 div.input-cover {
  margin: 40px 0 40px 0;
}

.wpcf7 input[type=submit],
.wpcf7 input[type=button] {
  width: 100%;
  height: 62px;
  position: absolute;
  left: 0;
  text-decoration: none;
  text-align: center;
  color: #fff;
  z-index: 0;
  font-weight: bold;
  border-radius: 50px;
  padding-left: 16px;
  padding-right: 16px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  background-color: var(--color-teal);
  border: none;
  font-size: 1rem;
}

.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 24px;
  position: relative;
}

.wpcf7-spinner::before {
  content: "";
  position: absolute;
  background-color: #fbfbfc;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  -webkit-transform-origin: 8px 8px;
  transform-origin: 8px 8px;
  -webkit-animation-name: spin;
  animation-name: spin;
  -webkit-animation-duration: 1000ms;
  animation-duration: 1000ms;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.form__wrap {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-list-item {
  margin: 0;
}

/*確認画面と完了画面を非表示*/
.confirm_area {
  display: none;
}

.confirm_area,
.thanks_area {
  max-width: 700px;
  margin: 60px auto 80px;
  padding: 0 15px;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output {
  display: none;
}

.button-wrapOuter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 20px;
}

.button-submitOuter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.button-submitOuter .form__body {
  width: 190px;
}

.button-submitOuter .button-wrap:hover input {
  color: var(--main-color);
}

.button-submitOuter .button-wrap:hover::before {
  left: 0;
}

.wp-theme-basiccorp .post-archive {
  padding-top: 80px;
}

.Form-Item.row-privacy {
  text-align: center;
  margin-top: 1rem;
}

.wpcf7 .confirm_area div.form__row {
  margin-top: 0;
  margin-bottom: 0;
}

.wpcf7 .confirm_area .button-submitOuter {
  margin-top: 50px;
}

.wpcf7 h3 {
  font-size: 24px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-teal);
}

.wpcf7 .Form-Item-Label {
  margin-bottom: 4px;
  font-weight: bold;
}

.wpcf7 .Form-Item {
  margin-bottom: 10px;
}

.wpcf7 .Form-Item span {
  display: inline;
}

.wpcf7 .confirm-detail-desc {
  margin-bottom: 15px;
}

.confirm_area div.form__row.recap-text {
  margin-top: 72px;
}

.wpcf7-checkbox span {
  font-weight: 500;
}

.contact-phone-card p {
  margin: 0;
}

.contactForm .form-note {
  margin: 20px auto;
}

.error404 .sec-simple .cover904 {
  max-width: 700px;
  margin: 60px auto 80px;
}

.error404 .sec-simple .cover904 .wp-block-buttons {
  justify-content: center;
  margin-top: 40px;
}

#toc_container {
  width: 100%;
  padding: 20px;
  margin-bottom: 30px;
}

#toc_container li {
  display: inline-block;
  text-align: left;
}

#toc_container li ul li {
  display: block;
}

.toc_number.toc_depth_1 {
  margin-right: 10px;
}

.toc_list {
  display: inline-flex;
  flex-direction: column;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-issues {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-services {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 0 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav .btn-header {
    margin-top: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    /* タップ領域を確実に確保 */
    min-width: 44px;
    min-height: 44px;
    /* 背景が透明でもクリックを奪われないようにする対策 */
    pointer-events: auto;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-list {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px dotted #ddd;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .footer-brand {
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }



}

@media (max-width: 640px) {
  .hero-bg {
    background-image:
      linear-gradient(145deg, rgba(232, 247, 246, 0.92) 0%, rgba(212, 239, 237, 0.18) 45%, rgba(197, 232, 230, 0.86) 100%),
      url("../images/bg_mobile_main.png");
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-images::after {
    content: "▼";
  }

  .grid-issues {
    grid-template-columns: 1fr;
  }

  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  /* about.html の基本機能・サポート項目のモバイルレイアウト */
  .services-grid-about {
    grid-template-columns: 1fr;
    /* 1項目ずつ縦に並べる */
  }

  .services-grid-about .services-card--with-illus {
    display: grid;
    grid-template-columns: 60px 1fr;
    /* 画像の幅とタイトルの幅 */
    gap: 0.75rem 1rem;
    align-items: center;
    text-align: left;
  }

  .services-grid-about .services-illus {
    grid-column: 1;
    grid-row: 1;
    width: 60px;
  }

  .services-grid-about .services-content {
    display: contents;
    /* 子要素のh3とpをカードのグリッドに直接参加させる */
  }

  .services-grid-about .services-content h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .services-grid-about .services-content p {
    grid-column: 1 / span 2;
    grid-row: 2;
    margin: 0;
  }

  .services-card {
    padding: 0.55rem 0.5rem;
  }

  .services-card--with-illus {
    padding-top: 0;
  }

  .services-card h3 {
    margin: 0;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .reasons-card {
    flex-direction: row-reverse;
    min-height: auto;
    padding: 0.6rem 1rem;
    align-items: center;
    gap: 1rem;
  }

  .reasons-card h3 {
    flex: 1;
    text-align: left;
    padding: 0;
    background: transparent;
    border-bottom: none;
  }

  .reasons-card-body {
    flex: 0 0 60px;
    background: transparent;
  }

  .reasons-copy {
    text-align: left;
  }

  .reasons-copy br {
    display: none;
  }

  .contact-phone-texts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .posts-top {
    padding: 1rem;
  }

  .posts-controls {
    flex-wrap: nowrap;
    /* 「記事を検索」入力欄とボタンを横一列に */
  }

  .posts-controls input[type="search"] {
    font-size: 0.85rem;
    /* 文字を小さくする */
    padding: 0.5rem 0.75rem;
    /* パディングも調整 */
  }

  .posts-controls .btn {
    padding: 0.5rem;
  }

  .category-list a {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .posts-filters h3 {
    font-size: 0.9rem;
    /* カテゴリーの文字を小さくする */
  }

  .about-subtitle {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  /* 記事一覧のモバイル対応：画像を左に正方形で配置、テキストを右側に */
  .post-cards {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .post-link {
    display: flex;
    align-items: stretch;
  }

  .post-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    margin: 0;
  }

  .post-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .post-info {
    flex: 1;
    padding: 0.6rem 0.7rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .post-card .post-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .post-card .post-meta {
    display: inline-flex;
    font-size: 0.7rem;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-main-img {
    width: min(100%, 460px);
  }

  /* Refine hero-grid styles for mobile, inheriting from 1000px breakpoint */
  .hero-grid {
    padding-block: 1.75rem 1.25rem;
    /* Further adjust padding for mobile */
    gap: 1.25rem 3rem;
  }

  /* Feature bar inner for mobile */
  .feature-bar-item {
    padding: 0.4rem 0.4rem;
    font-size: 0.72rem;
  }

  .feature-bar-icon {
    display: none;
  }

  .process-step {
    max-width: 100%;
  }
}

/* --- Pricing Section Styles --- */

/* 初期構築費用ラッパー */
.pricing-initial-wrapper {
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 価格ボックス */
.pricing-price-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--color-blue-blight);
  border-radius: 12px;
  padding: 50px 40px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  margin: 20px auto 0;
  max-width: 720px;
  width: 100%;
}

/* 内容詳細ボックス */
.pricing-details-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-blue-blight);
  color: #fff;
  padding: 6px 30px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-package-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.pricing-price-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin-inline: auto;
}

.pricing-demo-btn {
  margin: 30px 0;
  padding-inline: 3rem;
}

.pricing-payment-divider {
  border: none;
  border-top: 1px dotted #ccc;
  margin: 24px auto;
  width: 60%;
}

.pricing-payment-info {
  font-size: 0.95rem;
  color: var(--color-text);
}

.payment-label {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.payment-plans {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.payment-plan {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.plan-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.95rem;
}

.plan-sub {
  font-size: 0.8rem;
  color: #888;
  /* 期間以外の補足を少し薄く調整 */
  font-weight: normal;
}

.plan-desc {
  color: var(--color-blue-blight);
  font-size: 0.85rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
}

.plan-price-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price-unit {
  font-weight: 700;
}

.pricing-main-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--color-blue-blight);
  gap: 4px;
}

.price-value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.price-unit {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-tax {
  font-size: 0.9rem;
  color: #888;
  margin-left: 10px;
  font-weight: normal;
}

/* カード内コンテンツ（2カラム） */
.pricing-main-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.pricing-feature-group h3 {
  font-size: 1.15rem;
  color: var(--color-blue-blight);
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 2px solid var(--color-blue-blight);
  padding-bottom: 4px;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* チェックマークの装飾 */
.pricing-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--color-blue-blight);
  border-bottom: 2px solid var(--color-blue-blight);
  transform: rotate(-45deg);
}

.pricing-details-notes {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.82rem;
  color: #777;
  line-height: 1.6;
  text-align: left;
}

.pricing-details-notes p {
  margin: 0 0 0.4rem;
}

.pricing-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

.pricing-spacer {
  height: 60px;
}

/* 保守運用パッケージグリッド */
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  align-items: stretch;
}

.maintenance-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.maintenance-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 「人気」プランの強調 */
.maintenance-card--popular {
  border: 2px solid var(--color-blue-blight);
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(43, 165, 181, 0.15);
  /* 影の色をブルー系に修正 */
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-blue-blight);
  color: #fff;
  padding: 6px 24px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.maintenance-header h3 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 20px;
}

.maintenance-price {
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8fcfb;
  border-radius: 8px;
}

.m-price-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-blue-blight);
}

.m-price-unit {
  font-size: 0.9rem;
  color: #666;
}

.m-price-tax {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
}

.maintenance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.maintenance-list li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #444;
  line-height: 1.5;
}

.maintenance-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-blue-blight);
  font-weight: 700;
}

/* 非対応項目の打ち消し線 */
.maintenance-list li.disabled {
  color: #ccc;
  text-decoration: line-through;
}

.maintenance-list li.disabled::before {
  color: #ddd;
}

.maintenance-list strong {
  color: var(--color-blue-blight);
}

.pricing-footer-note {
  margin-top: 60px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* レスポンシブ対応（料金ページ用） */
@media (max-width: 991px) {
  .maintenance-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto 0;
  }

  .maintenance-card--popular {
    transform: none;
    /* スマホでは拡大を解除 */
  }
}

@media (max-width: 767px) {

  .pricing-price-card,
  .pricing-details-card {
    padding: 40px 20px;
  }

  .pricing-main-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .price-value {
    font-size: 3rem;
  }
}

/* --- Template Page Styles --- */

.template-filter-wrap {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.template-filter-wrap .category-list a.active {
  background: var(--color-blue-blight);
  color: #fff;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.template-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.template-thumb {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
}

.template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-blue-blight);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.template-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.template-info h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--color-text);
}

.template-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.template-actions {
  margin-top: auto;
}

@media (max-width: 767px) {
  .template-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- Template Detail Section Styles (from aaa.html reference) --- */

.template-label-wrap {
  position: relative;
  margin: 60px auto 40px;
  /* 上下の余白を調整 */
  max-width: 900px;
  /* コンテンツ幅に合わせる */
}

.template-label-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-blue-blight);
  /* ブランドカラーに合わせる */
}

.template-label {
  position: relative;
  z-index: 1;
  width: 250px;
  margin: auto;
  background: var(--color-blue-blight);
  color: var(--color-white);
  text-align: center;
  padding: 6px 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.template-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 40px auto 60px;
  /* 上下の余白を調整 */
  max-width: 1100px;
  /* コンテンツ幅に合わせる */
}

.template-image {
  background: transparent;
  /* 背景色を透過 */
  border-radius: var(--radius);
  /* 既存の角丸変数を使用 */
  height: auto;
  overflow: hidden;
  /* 画像がはみ出さないように */
}

.template-image img {
  width: 100%;
}

.template-text {
  background: var(--color-white);
  border-radius: 14px;
  /* 少し大きめの角丸 */
  padding: 20px;
  box-shadow: var(--shadow-card);
  /* 既存の影変数を使用 */
}

.template-text h3 {
  color: var(--color-blue-blight);
  /* ブランドカラーに合わせる */
  font-size: 1.2rem;
  /* 20px */
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 0;
}

.template-text p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  /* 既存のテキスト色変数を使用 */
}

.pages-title {
  text-align: center;
  font-size: 1.6rem;
  /* 32px */
  color: var(--color-blue-blight);
  /* ブランドカラーに合わせる */
  margin-bottom: 30px;
  font-weight: 700;
  /* bold */
}

.terms-content {
  max-width: 880px;
  padding: 0 2rem;
  margin: 0 auto;
}

.pages-desc {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-text-muted);
  /* 既存のテキスト色変数を使用 */
  max-width: 900px;
  /* コンテンツ幅に合わせる */
  margin-inline: auto;
}

/* --- Page Slider Navigation --- */
.page-slider-container {
  position: relative;
  max-width: 1000px;
  /* template-introの幅に合わせる */
  margin-inline: auto;
  margin-bottom: 0;
  /* .buttonsのmargin-topに任せる */
  transition: padding 0.3s ease;
}

/* スライダーナビゲーションボタン */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: none;
}

/* JavaScriptによって適用される表示用クラス */
.page-slider-container.is-slidable {
  padding-inline: 60px;
}

@media (max-width: 767px) {
  .page-slider-container.is-slidable {
    padding-inline: 20px;
  }
}

.page-slider-container.is-slidable .slider-nav {
  display: flex;
}

.slider-nav:hover {
  background: var(--color-blue-blight);
  border-color: var(--color-blue-blight);
  color: var(--color-white);
}

.slider-nav:disabled {
  background: #f5f5f5;
  border-color: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.5;
}

.slider-nav:disabled::before {
  border-color: #bbb;
}

.slider-nav-left {
  left: 0;
}

.slider-nav-right {
  right: 0;
}

/* 矢印アイコン */
.slider-nav::before {
  content: '';
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 2px 2px 0 0;
  display: block;
  border-color: var(--color-text);
  transition: border-color 0.2s ease;
}

.slider-nav-left::before {
  transform: rotate(-135deg);
  /* 左向き矢印 */
  margin-right: -4px;
  /* 中央に寄せるため調整 */
}

.slider-nav-right::before {
  transform: rotate(45deg);
  /* 右向き矢印 */
  margin-left: -4px;
  /* 中央に寄せるため調整 */
}

.slider-nav:hover::before {
  border-color: var(--color-white);
}

/* .page-card-image内のimgを調整 */
.page-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  /* 親要素の角丸に合わせる */
}

.page-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  /* 横スクロールを可能にする */
  -webkit-overflow-scrolling: touch;
  /* iOSでのスムーズなスクロール */
  scrollbar-width: none;
  /* Firefoxでスクロールバーを非表示 */
  -ms-overflow-style: none;
  /* IE/Edgeでスクロールバーを非表示 */
  justify-content: flex-start;
  /* 左寄せ */
  padding-bottom: 20px;
  /* スクロールバー分の余白 */
  margin-bottom: 0;
  /* 親要素の.page-slider-containerで余白を管理 */
}

.page-slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safariでスクロールバーを非表示 */
}

.page-card {
  width: 180px;
  flex-shrink: 0;
  /* カードが縮まないようにする */
}

/* .page-card-labelのスタイルを整理 */
/* 以前の重複定義を修正し、バッジのように画像に重なるスタイルを適用 */
.page-card-label {
  position: relative;
  z-index: 2;
  background: var(--color-blue-blight);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  /* 14px */
  font-weight: 700;
  /* bold */
  margin-bottom: -14px;
  /* 下の画像に半分重なるように調整 */
  margin-inline: auto;
  width: fit-content;
}

.page-card-image {
  height: 260px;
  background: var(--color-bg-muted);
  /* 既存の背景色変数を使用 */
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  /* 既存の影変数を使用 */
}

/* buttons (既存の.btnと.btn-primaryを使用) */
.buttons {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .template-intro {
    grid-template-columns: 1fr;
    /* 1カラム表示 */
    margin-bottom: 60px;
  }

  .template-label-wrap,
  .template-intro,
  .pages-desc {
    margin-inline: 20px;
    /* 左右の余白を調整 */
  }

  .template-label {
    font-size: 1.1rem;
    /* 20px */
  }

  .template-text h3 {
    font-size: 1.2rem;
    /* 24px */
  }

  .pages-title {
    font-size: 1.75rem;
    /* 28px */
  }

  .page-slider {
    padding-left: 20px;
    /* 左端に余白 */
    padding-right: 20px;
    /* 右端に余白 */
  }
}

@media (max-width: 767px) {
  .template-label-wrap {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .template-intro {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .template-label-wrap,
  .template-intro,
  .pages-desc {
    margin-inline: 0;
    /* 左右の余白を調整 */
  }

  .pages-title {
    font-size: 1.5rem;
  }

  .pages-desc {
    margin-bottom: 40px;
  }

  .buttons {
    margin-top: 60px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Fade-in animation for sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*---------------------------------
    Tablet Styles (769px - 1080px)
---------------------------------*/
@media screen and (min-width: 769px) {

  /*---------------------------------
    お問い合わせ
---------------------------------*/

  .contact-phone-texts {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .wpcf7 .confirm-detail .button-submitOuter {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
  }

  .wpcf7 .confirm-detail .Form-Item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
  }

  .wpcf7 .confirm-detail .Form-Item p:last-child {
    width: calc(100% - 210px);
  }

  .wpcf7 .confirm-detail .Form-Item-Label {
    width: 210px;
  }

  .wpcf7 .confirm-detail-desc {
    margin-bottom: 40px;
  }

  /*---------------------------------
      お問い合わせ　固定ページ
  ---------------------------------*/
  .wpcf7 div.form__row {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
  }

  .wpcf7 div.form__row.recap-text {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 32px;
  }

  .wpcf7 p.form__label label {
    display: inline-block;
  }

  .wpcf7 p.form__label.is-required label::after {
    display: inline-block;
  }

  .wpcf7 span.wpcf7-list-item {
    display: inline-block;
  }

  .wpcf7 .confirm-button-wrap.active input[type=button]:hover {
    cursor: pointer;
    opacity: .7;
  }

  .confirm-detail .button-wrapOuter .btn-push input:hover {
    cursor: pointer;
    opacity: .7;
  }

  .wpcf7 .confirm-button-wrap.active .btn-push:hover:before {
    opacity: 0;
  }

  .wpcf7 .confirm-button-wrap.active .btn-push:hover .btn-arrow-primary {
    background: rgba(255, 255, 255, 0.4);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
  }

  .confirm_area p.form__body.btn-push:hover:before {
    opacity: 0;
  }

  .confirm_area p.form__body.btn-push:hover .btn-arrow-primary {
    background: rgba(255, 255, 255, 0.4);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
  }

}

@media screen and (min-width: 769px) {
  .footer-nav ul li:last-child {
    margin-right: 0;
  }
}