@charset "UTF-8";

/* ==========================================================================
   cclight - contents.css
   WordPress 7.1 Optimized (Block Editor & AIO Friendly)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 変数エリア (CSS Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --cc-color-text-main: #333333;
  --cc-color-text-muted: #666666;
  --cc-color-bg-body: #ffffff;
  --cc-color-bg-alt: #f7f9fa;
  --cc-color-primary: #2394BB;
  --cc-color-primary-hover: #00346e;
  --cc-color-secondary: #00346e;

  --color-ink: #184fc7;

  color-scheme: light;
  --ink: #102d42;
  --muted: #607482;
  --blue: #197ca7;
  --cyan: #54c4d2;
  --paper: #f5f7f6;
  --white: #fff;
  --line: #d7e0e3;
  --content: 1240px;


  /* Typography */
  --cc-font-family-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --cc-font-size-base: 16px;
  --cc-line-height-base: 1.7;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Layout & Spacing */
  --cc-container-width: 1400px;
  --cc-content-width: 1200px; /* 記事本文の読みやすい幅 (AIO配慮) */
  --cc-spacing-xs: 0.5rem;
  --cc-spacing-sm: 1rem;
  --cc-spacing-md: 2rem;
  --cc-spacing-lg: 4rem;
  --header-height: 90px;
  --mobile-contact-height: 64px;
  --container-width: 1160px;

}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--cc-color-bg-body);
  line-height: 1.9;
  overflow-x: hidden;
}

a {
  color: var(--cc-color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--cc-color-primary-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. ユーティリティ (Utilities)
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container-width), calc(100% - 2.4rem));
  max-width: var(--cc-container-width);
  margin: 0 auto;
  padding: 0 var(--cc-spacing-sm);
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
  }
}

.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* AIO / アクセシビリティ用（スクリーンリーダーにのみ読ませる） */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   3. ヘッダー (Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--cc-color-border);
  padding: var(--cc-spacing-xs) 0;
  background-color: var(--cc-color-bg-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.site-title {
  margin: 0;
  line-height: 1;
}

.site-title img {
  height: 40px;
  width: auto;
  display: block;
}

/* PC用メニュー（ロゴ左、ナビ右） */
.main-navigation ul {
  display: flex;
  gap: var(--cc-spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation ul li {
  list-style: none;
}

.main-navigation a {
  color: var(--cc-color-text-main);
  font-weight: bold;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--cc-color-primary);
}

/* ハンバーガーボタン（デフォルト非表示） */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 36px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--cc-color-text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 768px以下（タブレット・スマホ）：ハンバーガー化 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  /* ハンバーガーアニメーション (開いた時) */
  .menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }

  /* ドロワーメニュー構造 */
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100dvh;
    background-color: var(--cc-color-bg-body);
    padding: 80px var(--cc-spacing-md) var(--cc-spacing-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    visibility: hidden;
  }

  .main-navigation.is-open {
    right: 0;
    visibility: visible;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: var(--cc-spacing-sm);
  }

  .main-navigation a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--cc-color-border);
  }
}

/* --------------------------------------------------------------------------
   4. フッター (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--cc-color-border);
  padding: var(--cc-spacing-lg) 0 var(--cc-spacing-md);
  text-align: center;
  background-color: var(--cc-color-bg-alt);
}

.footer-navigation ul {
  display: flex;
  justify-content: center;
  gap: var(--cc-spacing-md);
  list-style: none;
  margin: 0 0 var(--cc-spacing-md) 0;
  padding: 0;
}

.site-info {
  font-size: 0.875rem;
  color: var(--cc-color-text-muted);
}

/* --------------------------------------------------------------------------
   Breadcrumb (パンくずリスト)
   -------------------------------------------------------------------------- */
.cclight-breadcrumb {
  width: 100%;
  max-width: var(--cc-container-width);
  margin: var(--cc-spacing-md) auto;
  padding: 0 var(--cc-spacing-sm);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.breadcrumb-item a {
  color: var(--cc-color-text-muted);
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--cc-color-primary);
}

.breadcrumb-separator {
  margin: 0 0.4rem;
  color: var(--cc-color-text-muted);
  opacity: 0.6;
  font-size: 0.75rem;
  user-select: none;
}

.breadcrumb-item [aria-current="page"] {
  color: var(--cc-color-text-main);
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-navigation ul {
    flex-wrap: wrap;
    gap: var(--cc-spacing-sm);
  }
  .cclight-breadcrumb {
    font-size: 0.8rem;
    margin: var(--cc-spacing-sm) auto;
  }
}

/* --------------------------------------------------------------------------
   5. 固定ページ共通 (Page)
   -------------------------------------------------------------------------- */
.page .entry-header {
  padding: 120px 0 80px;
  margin-bottom: var(--cc-spacing-md);
  text-align: center;
  background-color: var(--cc-color-primary);
  color: var(--cc-color-bg-body);
}

.page .entry-title {
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page .entry-header {
    margin-top: var(--cc-spacing-md);
  }
  .page .entry-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   6. 投稿・アーカイブ共通 (Post & Archive)
   -------------------------------------------------------------------------- */
/* 投稿ヘッダー */
.single .entry-header {
  max-width: var(--cc-content-width);
  margin: var(--cc-spacing-lg) auto var(--cc-spacing-md);
  color: var(--cc-color-primary);
}

.single .entry-title {
  font-size: 2rem;
  margin-bottom: var(--cc-spacing-sm);
  line-height: 1.4;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cc-spacing-sm);
  font-size: 0.875rem;
  color: var(--cc-color-text-muted);
}

.entry-meta a {
  color: var(--cc-color-text-muted);
  background: var(--cc-color-bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* アーカイブリスト (CSS Gridでカード型レイアウト) */
.archive-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cc-spacing-md);
  margin-top: var(--cc-spacing-md);
}

.post-card {
  border: 1px solid var(--cc-color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--cc-color-bg-body);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* CLS(Cumulative Layout Shift)対策のaspect-ratio */
.post-card-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-content {
  padding: var(--cc-spacing-sm);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--cc-color-text-muted);
  margin-bottom: var(--cc-spacing-xs);
  display: flex;
  justify-content: space-between;
}

.post-card-title {
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--cc-color-text-main);
}

.blog-list-more {
  margin-top: var(--cc-spacing-md);
  text-align: center;
}

.blog-list-more a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--cc-color-border);
  border-radius: 4px;
}

/* ページネーション */
.pagination {
  margin-top: var(--cc-spacing-lg);
  text-align: center;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: var(--cc-spacing-xs);
}
.nav-links a, .nav-links span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--cc-color-border);
  border-radius: 4px;
}
.nav-links .current {
  background: var(--cc-color-primary);
  color: #fff;
  border-color: var(--cc-color-primary);
}

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

@media (max-width: 576px) {
  .single .entry-title { font-size: 1.5rem; }
  .archive-post-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   7. ブロックエディタ (Block Editor Core Styles)
   -------------------------------------------------------------------------- */
/* 本文エリアの中央寄せと最大幅 (AIO: 読みやすさの担保) */
.entry-content > * {
  max-width: var(--cc-content-width);
  margin-left: auto;
  margin-right: auto;
}

/* WP7.1対応: alignwide / alignfull のサポート */
.entry-content > .alignwide {
  max-width: var(--cc-container-width);
}
.entry-content > .alignfull {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* 見出し (Headings) */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: var(--cc-spacing-lg);
  margin-bottom: var(--cc-spacing-sm);
  font-weight: bold;
  line-height: 1.3;
}
.entry-content h2 { font-size: 1.75rem; border-bottom: 2px solid var(--cc-color-border); padding-bottom: 0.5rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }

/* 段落とリスト (Paragraph & Lists) */
.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: var(--cc-spacing-md);
}
.entry-content ul { list-style: disc inside; }
.entry-content ol { list-style: decimal inside; }

/* 引用 (Blockquote) */
.entry-content blockquote {
  border-left: 4px solid var(--cc-color-primary);
  padding-left: var(--cc-spacing-sm);
  margin-bottom: var(--cc-spacing-md);
  color: var(--cc-color-text-muted);
  background: var(--cc-color-bg-alt);
  padding: var(--cc-spacing-sm);
}

/* 画像とキャプション (Images & Captions) */
.entry-content figure {
  margin-bottom: var(--cc-spacing-md);
}
.entry-content img {
  border-radius: 4px;
}
.entry-content figcaption {
  font-size: 0.875rem;
  color: var(--cc-color-text-muted);
  text-align: center;
  margin-top: var(--cc-spacing-xs);
}

/* WP標準ボタンスタイル調整 */
.entry-content .wp-block-button__link {
  background-color: var(--cc-color-primary);
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
}



/* --------------------------------------------------------------------------
   8. 各コンテンツユニーク (Unique Contents)
   -------------------------------------------------------------------------- */
/* ここから下はプロジェクトごとの固有スタイル（LP用、特設セクション等）を記述 */


/* --------------------------------------------------------------------------
   8-1. Area)
   -------------------------------------------------------------------------- */
.site-fv {
  width: 100%;
  min-height: 100dvh; /* スマホのアドレスバー伸縮に配慮した動的100%高さ */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cc-color-bg-alt);
  position: relative;
  overflow: hidden;
  padding: var(--cc-spacing-lg) 0;
}

.fv-inner {
  text-align: center;
}

.fv-sub-title {
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--cc-color-primary);
  margin-bottom: var(--cc-spacing-xs);
}

.fv-main-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--cc-spacing-sm);
  color: var(--cc-color-text-main);
}

.fv-description {
  font-size: 1.125rem;
  color: var(--cc-color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--cc-spacing-md);
}

.fv-btn {
  display: inline-block;
  background-color: var(--cc-color-primary);
  color: #ffffff;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.fv-btn:hover {
  background-color: var(--cc-color-primary-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .fv-main-title {
    font-size: 1.75rem;
  }
  .fv-description {
    font-size: 1rem;
  }
}




/* 摂心会 */
/* ---------------------------------------------------------
   8-1. UTILITY CLASSES
   --------------------------------------------------------- */

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 2000;
  padding: 0.9rem 1.4rem;
  background: var(--color-ink);
  color: var(--cc-color-bg-body);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}


.u-sp-only {
  display: none;
}

@media (max-width: 767px) {
  .u-sp-only {
    display: inline;
  }
}

/* ---------------------------------------------------------
   8-2-1. BUTTON STYLES
   --------------------------------------------------------- */

.button-style-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  background: var(--cc-color-primary);
  color: var(--cc-color-bg-body);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--cc-color-primary);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.button-style-primary:hover,
.button-style-primary:focus-visible {
  background: var(--cc-color-bg-body);
  transform: translateY(-2px);
}

.button-style-primary--large {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

.button-style-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  background: transparent;
  color: var(--cc-color-bg-body);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(250, 248, 242, 0.7);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.button-style-secondary:hover,
.button-style-secondary:focus-visible {
  background: rgba(250, 248, 242, 0.14);
  border-color: var(--cc-color-bg-body);
}

/* ---------------------------------------------------------
   8-2-2. SECTION HEADING
   --------------------------------------------------------- */

.section-heading {
  text-align: center;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

.section-heading__kicker {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--cc-color-text-muted);
  margin-bottom: 0.9rem;
}

.section-heading__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--color-ink);
}

.section-heading--light .section-heading__title {
  color: var(--cc-color-bg-body);
}

/* ---------------------------------------------------------
   3. BASIC STRUCTURE
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   8-3-1. HEADER
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 240, 231, 0.96);
  border-bottom-color: var(--cc-color-bg-alt);
  backdrop-filter: blur(4px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container-width), calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header__logo {
  font-family: var(--font-serif);
  color: var(--cc-color-bg-body);
}

.site-header__logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--cc-color-bg-body);
  text-decoration: none;
}

.site-header__logo a:hover {
  text-decoration: none
}

.site-header.is-scrolled .site-header__logo a {
  color: inherit;
}

.site-header__logo-name {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.site-header__logo-subtitle {
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.site-header.is-scrolled .site-header__logo,
.site-header:not(.is-scrolled) .site-header__logo {
  color: var(--color-ink);
}

.site-header:not(.is-scrolled) .site-header__logo {
  color: var(--cc-color-bg-body);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 1101;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.site-header:not(.is-scrolled) .menu-toggle span {
  background: var(--cc-color-primary);
}

.site-header.is-open .menu-toggle span {
  background: var(--color-ink);
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.site-header.is-open .menu-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .menu-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.6rem);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2rem);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.site-header:not(.is-scrolled) .site-nav__list a {
  color: var(--cc-color-bg-body);
}

.site-nav__list a {
  position: relative;
  padding: 0.4rem 0.1rem;
  color: var(--color-ink);
}
.site-nav__list a:hover {
  text-decoration: none
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after {
  width: 100%;
}

.site-nav__list li {
  list-style: none;
}

.site-nav__contact {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav__contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-nav__tel-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-nav__tel {
  font-size: 0.96rem;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--cc-color-text-muted);
}

.site-header:not(.is-scrolled) .site-nav__tel {
  color: var(--cc-color-bg-body);
}

.site-nav__hours {
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--cc-color-text-muted);
}

.site-header:not(.is-scrolled) .site-nav__hours {
  color: rgba(250, 248, 242, 0.75);
}

.site-nav__form-link {
  min-height: 40px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.site-nav__form-link:hover {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    background: var(--cc-color-bg-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.4rem;
    padding: calc(var(--header-height) + 1rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .site-header.is-open .site-nav {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    font-size: 1.05rem;
  }

  .site-header:not(.is-scrolled) .site-nav__list a,
  .site-nav__list a {
    color: var(--color-ink);
  }

  .site-nav__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav__tel,
  .site-header:not(.is-scrolled) .site-nav__tel {
    color: var(--cc-color-text-muted);
    font-size: 0.95rem;
  }

  .site-nav__hours,
  .site-header:not(.is-scrolled) .site-nav__hours {
    color: var(--cc-color-text-muted);
  }

  .site-nav__form-link {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   8-3-2. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: var(--cc-color-primary);
  color: var(--cc-color-bg-body);
  padding: 0
}

.site-footer__inner {
  width: min(var(--container-width), calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.site-footer__inner a {
  color: var(--cc-color-bg-body);
}
.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.8rem;
  font-size: 0.92rem;
}

.site-footer__address {
  font-size: 0.9rem;
  color: var(--cc-color-text-muted);
  line-height: 1.8;
}

.site-footer__disclaimer {
  font-size: 0.85rem;
  color: var(--cc-color-text-muted);
  max-width: 46em;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(250, 248, 242, 0.16);
}

.site-footer__copyright {
  font-size: 0.8rem;
  color: var(--cc-color-text-muted);
}

/* ---------------------------------------------------------
   8-3-3. PAGE TOP BUTTON
   --------------------------------------------------------- */
.page-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cc-color-primary);
  color: var(--cc-color-bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 900;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .page-top {
    right: 1rem;
    bottom: calc(var(--mobile-contact-height) + 1rem + env(safe-area-inset-bottom));
  }
}

/* ---------------------------------------------------------
   8-3-4. MOBILE CONTACT BAR
   --------------------------------------------------------- */
.mobile-contact-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--cc-color-primary);
    border-top: 1px solid rgba(250, 248, 242, 0.2);
    z-index: 950;
  }

  .mobile-contact-bar__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 44px;
    color: var(--cc-color-bg-body);
    border-right: 1px solid rgba(250, 248, 242, 0.2);
    font-size: 0.72rem;
  }

  .mobile-contact-bar__item:last-child {
    border-right: none;
  }

  .mobile-contact-bar__label {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    opacity: 0.85;
  }

  .mobile-contact-bar__value {
    font-size: 0.78rem;
  }

  .mobile-contact-bar__item--form {
    background: var(--cc-color-primary-hover);
  }
}

/* ---------------------------------------------------------
   8-4. INDIVIDUAL CONTENTS
   --------------------------------------------------------- */

.site-body {
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

/* ==========================================================================
   Common: Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px max(24px, calc((100vw - 1140px) / 2));
  color: var(--ink);
  background: var(--white);
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  width: 100px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #02346f;
  text-align: center;
  transition: opacity .2s;
}

.nav-link:hover {
  opacity: .65;
}

.nav-link span {
  font: 700 18px/1 "Oswald", sans-serif;
  letter-spacing: .1em;
}

.nav-link small {
  color: #333;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 96px;
  height: 90px;
  color: #fff;
  font: 700 14px/1 "Oswald", sans-serif;
  letter-spacing: .06em;
  transition: opacity .2s;
}

.nav-btn i {
  font-size: 26px;
}

.nav-btn:hover {
  opacity: .85;
  text-decoration: none;
  color: #fff;
}

.nav-btn-tel {
  margin-left: 0;
  background: #2394bb;
}

.nav-btn-contact {
  margin-left: -36px;
  background: #02346f;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   Top Page: Hero
   ========================================================================== */
.top-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(790px, 100svh);
  padding: 100px max(9vw, calc((100vw - var(--content)) / 2));
  overflow: hidden;
  color: var(--white);
  background: #176991 url("../images/AdobeStock_92725622-scaled-e1673914807846.jpeg") center 43% / cover no-repeat;
}

.top-hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 43, 67, .78), rgba(11, 70, 101, .36) 58%, rgba(15, 85, 113, .08)), linear-gradient(0deg, rgba(7,39,61,.25), transparent 55%);
}

.top-hero-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.top-hero-company {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
}

.top-hero-title {
  margin: 0;
  font: 600 clamp(40px, 4.6vw, 64px)/1.15 "Oswald", sans-serif;
  letter-spacing: .04em;
}

.top-hero-line {
  width: 64px;
  height: 2px;
  margin: 12px 0 20px;
  background: #fff;
}

.top-hero-intro {
  margin: 0;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: .1em;
}

.top-hero-scroll {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 152px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 2px solid #fff;
  font: 600 16px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
}

.top-hero-scroll i {
  font-size: 18px;
}

/* ==========================================================================
   Top Page: Company
   ========================================================================== */
.top-company {
  position: relative;
  padding: 60px max(4vw, calc((100vw - var(--content)) / 2)) 40px;
  background: #f3f3f3;
}

.top-company-inner {
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
}

.top-company-upper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 60px);
  padding: 0 28px;
  margin-bottom: 46px;
}

.top-company-copy {
  width: 100%;
  max-width: 460px;
}

.top-company-sub {
  margin: 0 0 8px;
  color: #2394bb;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.top-company-heading {
  margin: 0;
  color: #2394bb;
  font-family: Impact, "Arial Black", "Hiragino Kaku Gothic StdN", sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: .01em;
}

.top-company-accent-line {
  width: 25px;
  height: 2.5px;
  margin: 12px 0 22px;
  background: #111;
}

.top-company-body {
  margin: 0 0 24px;
  color: #333;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .02em;
}

/* LEARN MORE (Company / Works 共通) */
.top-more {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 108px;
  margin-left: auto;
}

.top-more-line {
  width: 100%;
  height: 1.5px;
  margin-bottom: 12px;
  background: #111;
}

.top-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #111;
  font: 600 15px/1 "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: .04em;
  transition: opacity .2s, transform .2s;
}

.top-more-link:hover {
  opacity: .7;
  transform: translateX(3px);
}

.top-more-arrow {
  flex-shrink: 0;
}

.top-company-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 470 / 317;
  overflow: hidden;
  background: #e2e5e7;
}

.top-company-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.top-company-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.top-company-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-company-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.top-company-gallery-item {
  height: clamp(230px, 24.5vw, 330px);
  overflow: hidden;
}

.top-company-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.top-company-gallery-item:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Top Page: Services (40/60 Split, Parallax Left, Accordion Right)
   ========================================================================== */
.top-services {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
  background: var(--white);
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Left Column: 40% width, Parallax background with Navy overlay */
.top-services-left {
  position: relative;
  width: 40%;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.top-services-parallax-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0);
  pointer-events: none;
}

/* 画像はビューポートに固定し、セクションの窓から見せることでスクロールに取り残される */
.top-services-parallax-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 40vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.top-services-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 48, 76, 0.82) 0%, rgba(6, 36, 58, 0.88) 100%);
  pointer-events: none;
}

.top-services-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  width: 100%;
  max-width: 420px;
}

.top-services-sub {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.top-services-heading {
  margin: 0;
  color: #ffffff;
  font-family: Impact, "Arial Black", "Hiragino Kaku Gothic StdN", "Oswald", sans-serif;
  font-size: clamp(54px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.top-services-accent-line {
  width: 38px;
  height: 3px;
  background: #ffffff;
  margin: 18px auto 26px;
}

.top-services-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 32px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.top-services-learn-more:hover {
  background: #ffffff;
  color: #082b43;
}

.top-services-more-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.top-services-learn-more:hover .top-services-more-arrow {
  transform: translateX(3px);
}

/* Right Column: 60% width, 90% content width accordion */
.top-services-right {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #ffffff;
}

.top-services-accordion {
  display: flex;
  width: 90%;
  height: clamp(460px, 34vw, 520px);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.top-services-accordion-item {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: flex-grow 0.55s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.top-services-accordion-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.top-services-accordion-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.top-services-accordion-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.top-services-accordion-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s, visibility 0.35s 0.08s;
  pointer-events: none;
}

.top-services-accordion-text {
  color: #ffffff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

/* Hover and active states */
.top-services-accordion:hover .top-services-accordion-item:not(:hover) {
  filter: brightness(0.85);
}

.top-services-accordion-item:hover,
.top-services-accordion-item.is-active {
  flex-grow: 2.15;
  filter: brightness(1);
}

.top-services-accordion-item:hover .top-services-accordion-img-wrap img,
.top-services-accordion-item.is-active .top-services-accordion-img-wrap img {
  transform: scale(1.04);
}

.top-services-accordion-item:hover .top-services-accordion-overlay,
.top-services-accordion-item.is-active .top-services-accordion-overlay {
  opacity: 1;
}

.top-services-accordion-item:hover .top-services-accordion-content,
.top-services-accordion-item.is-active .top-services-accordion-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Top Page: Works
   ========================================================================== */
.top-works {
  padding: 100px 24px;
  background: #f2f2f2;
}

.top-works-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.top-works-upper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  margin-bottom: 70px;
}

.top-works-copy {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.top-works-sub {
  margin: 0 0 8px;
  color: #2394bb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.top-works-heading {
  margin: 0;
  color: #2394bb;
  font-family: Impact, "Arial Black", "Hiragino Kaku Gothic StdN", sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 5.2vw, 64px);
  line-height: 1.02;
}

.top-works-accent-line {
  width: 25px;
  height: 2.5px;
  margin: 12px 0 22px;
  background: #111;
}

.top-works-body {
  margin: 0 0 24px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: .06em;
}

.top-works-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 18px;
}

.top-works-photos img {
  width: 100%;
  aspect-ratio: 208 / 150;
  object-fit: cover;
  background: #d9e4e5;
}

.top-works-count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 12px 24px;
  margin: 0 0 50px;
  color: #000;
}

.top-works-count-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.top-works-count-text {
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .12em;
}

.top-works-carousel {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  background: #e2e5e7;
}

.top-works-carousel-track {
  display: flex;
  transition: transform .6s ease;
}

.top-works-carousel-slide {
  flex: 0 0 100%;
}

.top-works-carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 768 / 540;
  object-fit: cover;
}

.top-works-carousel-btn {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: rgba(255,255,255,.85);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}

.top-works-carousel-btn:hover {
  background: #fff;
}

.top-works-carousel-btn.is-prev {
  left: 22px;
}

.top-works-carousel-btn.is-next {
  right: 22px;
}

/* ==========================================================================
   Common: Footer
   ========================================================================== */
.site-footer {
  color: #fff;
  background: #2394bb;
}

.footer-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  background: #fff;
}

.footer-visual-item {
  height: clamp(220px, 26vw, 504px);
  overflow: hidden;
}

.footer-visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-visual-logo img {
  object-fit: contain;
  padding: clamp(20px, 5vw, 90px);
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 0;
}

.footer-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 112px;
  height: 104px;
  color: #fff;
  font: 700 16px/1 "Oswald", sans-serif;
  letter-spacing: .06em;
  transition: opacity .2s;
}

.footer-btn i {
  font-size: 30px;
}

.footer-btn:hover {
  opacity: .85;
}

.footer-btn-tel {
  background: #bb8c1f;
}

.footer-btn-contact {
  background: #02346f;
}

.footer-nav {
  display: flex;
  gap: 28px;
  margin-left: 20px;
}

.footer-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-align: center;
  transition: opacity .2s;
}

.footer-nav a:hover {
  opacity: .7;
}

.footer-nav a span {
  font: 700 17px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
}

.footer-nav a small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
}

.footer-copy {
  margin-left: auto;
  padding-left: 24px;
  color: #fff;
  font: 600 16px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
}

.footer-bar {
  padding: 0 24px;
}

@media (max-width: 1000px) {
  .footer-nav {
    display: none;
  }

  .footer-copy {
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: center;
  }
}

/* ==========================================================================
   Sub Pages: Page Title (下層ページ共通タイトル)
   ========================================================================== */
.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 315px;
  padding: 60px 24px;
  color: var(--white);
  text-align: center;
  background: #1a3a5c center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 20, 48, .55);
}

.page-title-heading {
  margin: 0;
  font: 700 clamp(44px, 6vw, 80px)/1.1 "Oswald", sans-serif;
  letter-spacing: .03em;
}

.page-title-services {
  background-image: url("../images/AdobeStock_352184554-scaled.jpeg");
}

.page-title-company {
  background-image: url("../images/AdobeStock_113859459-scaled.jpeg");
}

.page-title-works {
  background-image: url("../images/AdobeStock_120281005-scaled.jpeg");
}

.page-title-contact {
  background-image: url("../images/AdobeStock_352184554-scaled.jpeg");
}

.contact-section {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.contact-section-title {
  margin: 0 0 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2998bd;
  color: #2998bd;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}

.contact-section-lead {
  margin-bottom: 32px;
  color: #333;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
}

.contact-section-lead p + p {
  margin-top: 8px;
}

.contact-tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px 28px;
  border-left: 4px solid #2998bd;
  background: #f3f7f8;
}

.contact-tel-label {
  color: #102d42;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
}

.contact-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #073b73;
  font: 600 27px/1.3 "Oswald", "Yu Gothic", sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
}

.contact-tel-link i {
  color: #2998bd;
  font-size: 22px;
}

.contact-form {
  padding: 32px;
  border: 1px solid #d7e0e3;
  background: #fff;
}

.contact-form form {
  display: grid;
  gap: 24px;
}

.contact-form-field {
  display: grid;
  gap: 8px;
}

.contact-form-field label {
  color: #102d42;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
}

.contact-required {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 2px;
  color: #fff;
  background: #2998bd;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cbd6db;
  border-radius: 2px;
  color: #102d42;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: #2998bd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 152, 189, .15);
}

.contact-form-confirm input {
  min-height: 16px;
  margin-right: 12px;
}
.contact-form-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
  min-height: 56px;
  padding: 12px 24px;
  color: #fff;
  background: #073b73;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .2s ease, transform .2s ease;
}

.contact-submit:hover {
  background: #2998bd;
  transform: translateY(-2px);
}

.works-archive {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.works-archive-title {
  margin-bottom: 32px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2998bd;
  color: #2998bd;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}

.works-archive-lead {
  margin-bottom: 36px;
  color: #333;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
}

.works-archive-lead p + p {
  margin-top: 8px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}

.works-card {
  min-width: 0;
}

.works-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7e7e7;
}

.works-card-title {
  margin-top: 12px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.works-card-details {
  margin-top: 8px;
}

.works-card-detail {
  border-bottom: 1px solid #aaa;
  display: flex;
}

.works-card-detail dt {
  padding: 4px 8px;
  color: #fff;
  background: #073b73;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  width: 32%;
}

.works-card-detail dd {
  padding: 6px 10px 5px;
  color: #222;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .03em;
  width: 68%;
}

.works-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 72px;
}

.works-pagination-page,
.works-pagination-control {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d7e0e3;
  border-radius: 2px;
  color: #073b73;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.works-pagination-page:hover,
.works-pagination-control:not(.is-disabled):hover {
  border-color: #073b73;
  color: #fff;
  background: #073b73;
}

.works-pagination-page.is-current {
  border-color: #073b73;
  color: #fff;
  background: #073b73;
}

.works-pagination-control.is-disabled {
  color: #aab4bb;
  background: #f4f6f7;
}

.works-pagination-ellipsis {
  display: grid;
  width: 24px;
  height: 42px;
  place-items: center;
  color: #607482;
}

/* Blog archive / single */
.page-title-blog {
  background-image: url("../images/AdobeStock_120281005-scaled.jpeg");
}

.blog-archive {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.blog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.blog-cat-nav a {
  display: block;
  padding: 6px 16px;
  border: 1px solid #2998bd;
  border-radius: 999px;
  color: #2998bd;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.blog-cat-nav a:hover,
.blog-cat-nav a.is-current {
  color: #fff;
  background: #2998bd;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}

.blog-card {
  display: block;
  min-width: 0;
  color: #222;
  text-decoration: none;
}

.blog-card-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e7e7e7;
}

.blog-card-thumb img,
.blog-card-noimage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-date {
  display: block;
  margin-top: 12px;
  color: #607482;
  font-size: 13px;
  letter-spacing: .06em;
}

.blog-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.blog-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  color: #fff;
  background: #2998bd;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.blog-card-title {
  margin-top: 8px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.blog-card:hover .blog-card-title {
  color: #2998bd;
}

.blog-empty {
  text-align: center;
}

.blog-single {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.blog-single-title {
  margin: 12px 0 28px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
}

.blog-single-content {
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4,
.blog-single-content h5,
.blog-single-content h6 {
  margin: 2em 0 0.8em;
  color: #102d42;
  font-weight: 700;
  line-height: 1.5;
}

.blog-single-content h2 {
  padding: 0 0 0.35em 0.55em;
  border-bottom: 2px solid #2998bd;
  border-left: 4px solid #2998bd;
  font-size: clamp(21px, 2.5vw, 26px);
}

.blog-single-content h3 {
  padding-bottom: 0.3em;
  border-bottom: 1px solid #cbd6db;
  font-size: clamp(19px, 2.2vw, 22px);
}

.blog-single-content h4 {
  padding-left: 0.65em;
  border-left: 3px solid #2998bd;
  font-size: 18px;
}

.blog-single-content h5 {
  color: #2998bd;
  font-size: 16px;
}

.blog-single-content h6 {
  font-size: 15px;
}

.blog-single-content ul,
.blog-single-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.6em;
}

.blog-single-content ul {
  list-style: disc;
}

.blog-single-content ol {
  list-style: decimal;
}

.blog-single-content li {
  padding-left: 0.2em;
}

.blog-single-content li + li {
  margin-top: 0.35em;
}

.blog-single-content table {
  display: block;
  width: 100%;
  margin: 0 0 1.5em;
  overflow-x: auto;
  border-collapse: collapse;
  color: #333;
  font-size: 14px;
}

.blog-single-content th,
.blog-single-content td {
  min-width: 7em;
  padding: 0.75em 1em;
  border: 1px solid #cbd6db;
  text-align: left;
  vertical-align: top;
}

.blog-single-content th {
  color: #fff;
  background: #073b73;
  font-weight: 700;
}

.blog-single-content blockquote {
  margin: 0 0 1.5em;
  padding: 1.25em 1.5em;
  border-left: 4px solid #2998bd;
  color: #607482;
  background: #f3f7f8;
}

.blog-single-content blockquote > :last-child {
  margin-bottom: 0;
}

.blog-single-thumb {
  margin-bottom: 32px;
}

.blog-single-thumb img {
  width: 100%;
  height: auto;
}

.blog-single-back {
  margin-top: 56px;
  text-align: center;
}

.blog-single-back a {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #073b73;
  color: #073b73;
  text-decoration: none;
}

.blog-single-back a:hover {
  color: #fff;
  background: #073b73;
}

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

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

.company-content {
  display: grid;
  gap: 84px;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.company-section-title {
  margin: 0 0 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid #2998bd;
  color: #2998bd;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
}

.company-message-body {
  display: grid;
  grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.company-message-photo {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: center 35%;
}

.company-message-copy {
  color: #333;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .035em;
}

.company-message-copy h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.company-message-copy p + p {
  margin-top: 8px;
}

.company-message-signature {
  width: min(220px, 45%);
  height: auto;
  margin: 12px 0 0 auto;
}

.company-philosophy-list {
  display: grid;
  justify-content: center;
  gap: 8px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  list-style: decimal;
  padding-left: 1.5em;
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  color: #444;
  font-size: 14px;
  letter-spacing: .035em;
}

.company-profile-table tr {
  border-top: 1px solid #d8d8d8;
}

.company-profile-table tr:last-child {
  border-bottom: 1px solid #d8d8d8;
}

.company-profile-table th,
.company-profile-table td {
  padding: 8px 16px;
  text-align: left;
  vertical-align: middle;
}

.company-profile-table th {
  width: 24%;
  border-right: 2px solid #14529a;
  color: #333;
  font-weight: 700;
  text-align: center;
}

.company-profile-table td {
  padding-left: 20px;
}

.company-map {
  height: 300px;
  margin-top: 28px;
  background: #e7e5e1;
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.company-history-list {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 8px 0;
}

.company-history-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  width: 2px;
  background: #d5d5d5;
  content: "";
}

.company-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.company-history-icon {
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid #d5d5d5;
  border-radius: 50%;
  color: var(--white);
  background: #2998bd;
  font-size: 13px;
}

.company-history-card {
  position: relative;
  padding: 12px 16px;
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.company-history-card::before {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
  background: var(--white);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.company-history-card time {
  display: block;
  margin-bottom: 2px;
  color: #2998bd;
  font-size: 13px;
}

.company-history-card p {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.services-list {
  display: grid;
  gap: 40px;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.service-detail-title {
  margin-bottom: 10px;
  color: #2998bd;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}

.service-detail-image {
  width: 100%;
  height: clamp(140px, 22vw, 205px);
  object-fit: cover;
}

.service-detail-description {
  margin-top: 10px;
  color: #222;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .06em;
}

/* ==========================================================================
   SP (max-width: 760px)
   ========================================================================== */
@media (max-width: 760px) {
  .page-title {
    min-height: 220px;
  }

  .company-content {
    gap: 60px;
    width: calc(100% - 40px);
    padding: 32px 0 48px;
  }

  .contact-section {
    width: calc(100% - 40px);
    padding: 32px 0 48px;
  }

  .contact-section-title {
    margin-bottom: 20px;
    font-size: 19px;
  }

  .contact-section-lead {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.9;
  }

  .contact-tel {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
    padding: 16px 18px;
  }

  .contact-tel-label {
    font-size: 15px;
  }

  .contact-tel-link {
    gap: 9px;
    font-size: 24px;
  }

  .contact-tel-link i {
    font-size: 19px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-form form {
    gap: 20px;
  }

  .contact-form-field label {
    font-size: 14px;
  }

  .contact-form-field input,
  .contact-form-field textarea {
    font-size: 16px;
  }

  .contact-submit {
    width: 100%;
    min-height: 52px;
  }

  .works-archive {
    width: calc(100% - 40px);
    padding: 32px 0 48px;
  }

  .works-pagination {
    gap: 6px;
    padding: 0 20px 48px;
  }

  .works-pagination-page,
  .works-pagination-control {
    width: 38px;
    height: 38px;
  }

  .works-pagination-ellipsis {
    width: 18px;
    height: 38px;
  }

  .works-archive-title {
    margin-bottom: 24px;
    font-size: 19px;
  }

  .works-archive-lead {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.9;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .works-card-title {
    margin-top: 8px;
    font-size: 14px;
  }

  .works-card-details {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
  }

  .works-card-detail dt,
  .works-card-detail dd {
    font-size: 14px;
    width: 100%;
  }

  .works-card-detail dt {
    padding: 4px 6px;
  }

  .works-card-detail dd {
    padding: 6px 10px 5px;
  }

  .company-section-title {
    margin-bottom: 20px;
    font-size: 19px;
  }

  .company-message-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .company-message-photo {
    width: min(250px, 70%);
    margin: 0 auto;
  }

  .company-message-copy {
    font-size: 14px;
  }

  .company-philosophy-list {
    font-size: 16px;
  }

  .company-profile-table {
    font-size: 13px;
  }

  .company-profile-table th,
  .company-profile-table td {
    padding: 8px 10px;
  }

  .company-profile-table th {
    width: 28%;
  }

  .company-profile-table td {
    padding-left: 12px;
  }

  .company-map {
    height: 240px;
  }

  .company-history-list {
    width: 100%;
  }

  .services-list {
    gap: 32px;
    width: calc(100% - 40px);
    padding: 32px 0 48px;
  }

  .service-detail-title {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .service-detail-image {
    height: clamp(140px, 38vw, 205px);
  }

  .service-detail-description {
    margin-top: 8px;
    font-size: 13px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px 20px;
  }

  .brand img {
    width: 70px;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: static;
    grid-column: 1 / -1;
    display: none;
    padding: 8px 0 12px;
    background: var(--white);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: absolute;
    left: -100%;
    width: 100%;
    padding: 10%;
    top: 86px;
  }

  .nav-link {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-btn {
    width: auto;
    height: 80px;
    margin: 12px 0 0;
  }

  .top-hero {
    height: 500px;
    min-height: 500px;
    padding: 50px 26px;
    background-position: 38% center;
  }

  .top-hero::before {
    background: linear-gradient(90deg, rgba(8,43,67,.8), rgba(11,70,101,.35)), linear-gradient(0deg, rgba(7,39,61,.4), transparent 65%);
  }

  .top-hero-title {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1.15;
  }

  .top-hero-company {
    font-size: 15px;
  }

  .top-hero-intro {
    font-size: 15px;
    line-height: 2.1;
  }

  .desktop-only {
    display: none;
  }

  .top-hero-scroll {
    width: 100%;
    justify-content: flex-end;
    margin-top: 24px;
  }

  .top-company {
    padding: 48px 20px;
  }

  .top-company-upper {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
    margin-bottom: 32px;
  }

  .top-company-copy {
    max-width: none;
  }

  .top-company-gallery {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .top-company-gallery-item {
    height: 220px;
  }

  .top-works {
    padding: 64px 20px;
  }

  .top-works-upper {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .top-works-copy {
    max-width: none;
  }

  .top-works-count {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 36px;
  }

  .top-services {
    flex-direction: column;
  }

  .top-services-left {
    width: 100%;
    min-height: 420px;
    padding: 60px 20px;
  }

  .top-services-parallax-img {
    width: 100vw;
  }

  .top-services-heading {
    font-size: 54px;
  }

  .top-services-right {
    width: 100%;
    padding: 36px 0 48px;
  }

  .top-services-accordion {
    width: 92%;
    height: 380px;
  }

  .top-services-accordion-item:hover,
  .top-services-accordion-item.is-active {
    flex-grow: 3.5;
  }

  .top-services-accordion-text {
    font-size: 18px;
  }

  .top-works-photos {
    gap: 12px;
  }

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

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

  .footer-visual-side,
  .footer-nav {
    display: none;
  }

  .footer-visual-item {
    height: 260px;
  }

  .footer-bar {
    padding: 0;
  }

  .footer-bar-inner {
    padding: 0;
  }

  .footer-btn {
    flex: 0 0 25%;
    width: auto;
    height: 116px;
  }

  .footer-copy {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}



/* CF7 */
/* 送信完了メッセージの強調デザイン */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #e8faf0; /* 薄い緑色の背景 */
    border: 2px solid #28a745; /* 濃い緑色の枠線 */
    color: #155724; /* 読みやすい濃い緑色の文字 */
    font-size: 16px; /* 文字を少し大きく */
    font-weight: bold; /* 文字を太く */
    padding: 20px; /* 内側の余白を広く */
    border-radius: 8px; /* 角を少し丸く */
    text-align: left; /* 左揃え（長い文章でも読みやすく） */
    line-height: 1.6; /* 行間を少し広く */
    margin-top: 20px; /* 上部に余白 */
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15); /* 軽い影をつけて浮き立たせる */
}

/* エラー時のメッセージ */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fdf3f4;
    border: 2px solid #dc3545;
    color: #721c24;
    font-weight: bold;
    border-radius: 8px;
    padding: 15px;
}