/* ==========================================================================
   京都Web.Site スタイルシート
   コンセプト: チラシデザインにインスパイアされた水彩イラスト調、パステルカラー帯、温かみと信頼感
   ========================================================================== */

:root {
  /* チラシと連動するカラーパレット */
  --bg-main: #FAF8F5;           /* ほんのり温かい生成り */
  --bg-card: #FFFFFF;           /* 純白 */
  --bg-orange-beige: #FAF3EB;   /* オレンジがかった温かいベージュ */
  --border-orange-beige: #EADBCE;
  --bg-subtle: #F3EFE8;
  
  --text-main: #1D2326;         /* 濃墨色（コントラスト高め） */
  --text-muted: #4E5659;        /* 落ち着いた中間色 */
  --text-light: #7E868A;        /* 薄墨色 */
  --text-white: #FFFFFF;
  
  /* チラシアクセントカラー */
  --flyer-pink: #ED5A67;        /* チラシのメインピンク（吹き出し・おすすめ・チェック） */
  --flyer-pink-light: #FDECEE;
  --flyer-pink-border: #F7BFC6;
  
  --flyer-blue: #3A86A8;        /* チラシのスカイブルー（ライトプラン） */
  --flyer-blue-light: #E4F2F7;
  --flyer-blue-border: #BCE0ED;
  
  --flyer-green: #2D8A56;       /* チラシの新緑グリーン（プレミアム・無料特典） */
  --flyer-green-light: #E6F5EC;
  --flyer-green-border: #BFE5CD;
  
  --flyer-purple: #5A4376;      /* チラシのパープル/しっかりプラン */
  --flyer-purple-light: #F2EEF8;
  --flyer-purple-border: #DCD3EA;
  
  --primary: #C5443E;           /* 京朱 */
  --primary-hover: #AE3833;
  --kyoto-blue: #183B56;        /* 藍色（ロゴ・メイン見出し） */
  --accent-gold: #B4843E;       /* 金茶・真鍮 */
  
  --line-color: #06C755;        /* LINEグリーン */
  --border-color: #E8E2D8;
  
  /* フォント */
  --font-serif: 'Shippori Mincho', 'Yu Mincho', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
  
  /* コンテナ幅 */
  --container-max: 1080px;
  --container-sm: 800px;
  
  /* シャドウ */
  --shadow-sm: 0 2px 8px rgba(60, 45, 30, 0.04);
  --shadow-md: 0 8px 22px rgba(60, 45, 30, 0.08);
  --shadow-lg: 0 16px 36px rgba(40, 30, 20, 0.1);
  --shadow-primary: 0 6px 18px rgba(197, 68, 62, 0.26);
  
  --transition: all 0.22s ease-out;
}

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  letter-spacing: 0.02em;
  padding-top: 112px;   /* 2段固定ヘッダー分 */
  padding-bottom: 78px; /* 固定フッターバー分 */
}

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

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

ul, ol {
  list-style: none;
}

/* 共通コンテナ */
.container {
  width: 92%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.container-sm {
  max-width: var(--container-sm);
}

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

.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-5 { margin-top: 40px; }

/* タイポグラフィ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-main);
  line-height: 1.28;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section-header {
  margin-bottom: 34px;
}

.section-sub-title {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kyoto-blue);
  margin-bottom: 4px;
}

/* チラシ風の吹き出しあしらい（＼ こんな方におすすめ ／ 風） */
.flyer-sub-bubble {
  display: inline-block;
  background-color: var(--flyer-pink);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 18px;
  border-radius: 9999px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 3px 8px rgba(237, 90, 103, 0.3);
}

.flyer-sub-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--flyer-pink) transparent transparent;
  display: block;
  width: 0;
}

.flyer-heading {
  font-size: 2.1rem;
  color: var(--kyoto-blue);
  line-height: 1.25;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.title-divider {
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #D85651 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 68, 62, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--text-white);
}

.btn-block {
  width: 100%;
  padding: 12px;
}

/* ==========================================================================
   固定ヘッダー（2段構成）
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* 上段：メインヘッダー */
.header-main-bar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: 68px;
  display: flex;
  align-items: center;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--kyoto-blue) 0%, #2A6E8A 100%);
  color: #FFFFFF;
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 9999px;
  box-shadow: 0 3px 10px rgba(29, 83, 105, 0.22);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #153E50 0%, var(--kyoto-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(29, 83, 105, 0.32);
}

/* メニューボタン（小さめ） */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* 下段：固定サブヘッダー枠【Webサイト制作｜印刷物・グラフィック制作｜アプリ制作】 */
.sub-header-bar {
  background-color: #F8F5EE;
  border-bottom: 1px solid rgba(230, 224, 214, 0.9);
  height: 44px;
  display: flex;
  align-items: center;
}

.sub-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.sub-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.sub-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.sub-nav-item:hover,
.sub-nav-item.active {
  color: var(--kyoto-blue);
  background-color: rgba(29, 83, 105, 0.08);
}

.sub-nav-sep {
  color: #DDD4C6;
  font-size: 0.75rem;
  user-select: none;
}

/* モバイル用ドロワーメニュー（×ボタン付き） */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--bg-main);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.28s ease-in-out;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.drawer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kyoto-blue);
  letter-spacing: 0.05em;
}

.drawer-close-btn {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background-color: var(--flyer-pink-light);
  color: var(--flyer-pink);
  border-color: var(--flyer-pink);
}

.mobile-menu-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
}

.mobile-service-list,
.mobile-anchor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-service-list .drawer-link {
  font-size: 0.95rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--kyoto-blue);
  padding: 4px 0;
}

.mobile-anchor-list .drawer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
}

.drawer-quick-contacts {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-outline-line {
  background-color: #FFFFFF;
  color: var(--line-color);
  border: 1px solid var(--line-color);
  flex: 1;
  padding: 8px;
  font-size: 0.8rem;
}

.btn-outline-mail {
  background-color: #FFFFFF;
  color: var(--kyoto-blue);
  border: 1px solid var(--kyoto-blue);
  flex: 1;
  padding: 8px;
  font-size: 0.8rem;
}

/* ==========================================================================
   ファーストビュー（kyotowebsite_top.png）
   ========================================================================== */
.hero-section {
  padding: 16px 0 32px;
  background: linear-gradient(180deg, #F0F6F7 0%, var(--bg-main) 100%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-wrapper {
  max-width: 650px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
}

.hero-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   【お知らせ】項目（チラシ風四角枠・コンパクト）
   ========================================================================== */
.notice-section {
  padding: 12px 0 32px;
}

.notice-box {
  background-color: #FFFFFF;
  border: 2px solid #5A8EA6;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #5A8EA6;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-footprint-icon {
  font-size: 0.85rem;
}

.notice-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
  margin: 0;
}

/* ==========================================================================
   「初期制作費」セクション（猫イラスト配置＆チラシ風パステルヘッダーカード）
   ========================================================================== */
.initial-pricing-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.initial-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.initial-plan-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.initial-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* カード上部のパステルカラー帯（チラシ風ヘッダー） */
.plan-pastel-header {
  position: relative;
  padding: 16px 175px 14px 22px;
  text-align: left;
  border-top-left-radius: 14.5px;
  border-top-right-radius: 14.5px;
  border-bottom: 1px solid transparent;
}

.header-blue {
  background-color: var(--flyer-blue-light);
  border-color: var(--flyer-blue-border);
}

.header-pink {
  background-color: var(--flyer-pink-light);
  border-color: var(--flyer-pink-border);
}

.header-green {
  background-color: var(--flyer-green-light);
  border-color: var(--flyer-green-border);
}

.header-purple {
  background-color: var(--flyer-purple-light);
  border-color: var(--flyer-purple-border);
}

.plan-pastel-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  margin-bottom: 6px;
}

.header-blue .plan-pastel-label {
  color: var(--flyer-blue);
  border: 1px solid var(--flyer-blue-border);
}

.header-pink .plan-pastel-label {
  color: var(--flyer-pink);
  border: 1px solid var(--flyer-pink-border);
}

.header-green .plan-pastel-label {
  color: var(--flyer-green);
  border: 1px solid var(--flyer-green-border);
}

.header-purple .plan-pastel-label {
  color: var(--flyer-purple);
  border: 1px solid var(--flyer-purple-border);
}

/* プラン名（1行で中途半端な改行を排除） */
.plan-name {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
}

.header-blue .plan-name { color: #1C4E68; }
.header-pink .plan-name { color: #A82A38; }
.header-green .plan-name { color: #1F5C38; }
.header-purple .plan-name { color: #4E356A; }

.plan-sub-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* カード内部コンテンツ：白背景エリア */
.plan-card-inner {
  position: relative;
  border-bottom-left-radius: 14.5px;
  border-bottom-right-radius: 14.5px;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #FFFFFF;
}

.plan-text-col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-right: 155px;
}

/* 色帯と下の白背景にまたがる大きな猫イラスト */
.plan-spanning-char {
  position: absolute;
  top: 20px; /* パステルヘッダー内に上部が配置され、下部は白背景へまたがる */
  right: 16px;
  width: 150px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(60, 45, 30, 0.14));
  transition: transform 0.25s ease;
}

.initial-plan-card:hover .plan-spanning-char {
  transform: translateY(-4px) scale(1.05);
}

.plan-char-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
}

/* 価格数字：チラシ風の極太ボールド */
.price-digits {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--kyoto-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.card-pink-tone .price-digits {
  color: var(--flyer-pink);
}

.price-yen {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.tax-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

/* しっかりプランの個別お見積対応：デカすぎず小さく控えめに */
.plan-price-modest-wrap {
  padding: 8px 0;
}

.price-modest-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.highlight-pink-note {
  color: var(--flyer-pink);
  font-weight: 700;
}

.plan-btn-wrap {
  margin-top: 8px;
}

.btn-example {
  font-size: 0.8rem;
  padding: 4px 14px;
  background-color: #FFFFFF;
  border-color: var(--flyer-blue);
  color: var(--flyer-blue);
}

.btn-example:hover {
  background-color: var(--flyer-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   「月額０円〜の保守・管理プラン」セクション
   ★文字サイズをしっかり拡大して視認性を大幅向上！
   ========================================================================== */
.maintenance-section {
  background-color: var(--bg-main);
}

.maint-heading-styled {
  font-size: 2.1rem;
  color: var(--kyoto-blue);
}

/* 「０」だけ大きく目立たせる！ */
.em-zero {
  font-size: 2.9rem;
  font-weight: 900;
  color: var(--flyer-pink);
  font-family: var(--font-sans);
  display: inline-block;
  margin: 0 4px;
  line-height: 0.9;
  position: relative;
}

.em-zero::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: -2px;
  right: -2px;
  height: 6px;
  background-color: rgba(237, 90, 103, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.maint-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.maint-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.maint-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.featured-maint {
  border: 2px solid var(--flyer-pink);
  background-color: #FFFDFD;
}

.maint-top {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.maint-pill-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.pill-green {
  background-color: var(--flyer-green-light);
  color: var(--flyer-green);
  border: 1px solid var(--flyer-green-border);
}

.pill-blue {
  background-color: var(--flyer-blue-light);
  color: var(--flyer-blue);
  border: 1px solid var(--flyer-blue-border);
}

.pill-pink {
  background-color: var(--flyer-pink);
  color: #FFFFFF;
}

/* プラン名（文字サイズ拡大） */
.maint-name {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  white-space: nowrap;
  color: var(--kyoto-blue);
}

.maint-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.maint-price-box .yen {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* 価格数字（文字サイズ拡大） */
.maint-price-box .price-val {
  font-family: var(--font-sans);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--kyoto-blue);
  line-height: 1;
}

.maint-zero-plan .price-val {
  color: var(--flyer-green);
}

.featured-maint .price-val {
  color: var(--flyer-pink);
}

.maint-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ドメイン・サーバー情報（文字サイズ拡大） */
.info-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.info-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 10px;
}

.info-text small {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* サポートリスト（文字サイズ拡大） */
.maint-check-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.maint-check-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.4;
}

.chk-pink {
  color: var(--flyer-pink);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
}

.maint-features {
  margin-top: auto;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.feature-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--flyer-green);
  margin-bottom: 5px;
}

.update-policy {
  background-color: var(--bg-main);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.policy-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
}

.update-policy p {
  color: var(--text-main);
  line-height: 1.35;
}

.highlight-policy {
  background-color: var(--flyer-pink-light);
  border: 1px solid var(--flyer-pink-border);
}

.highlight-policy strong {
  color: var(--flyer-pink);
  font-size: 0.84rem;
}

.maint-note-box {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   「京都Web.Siteでできること」セクション
   ========================================================================== */
.capabilities-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.group-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 9999px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-free {
  background-color: var(--flyer-green);
}

.badge-paid {
  background-color: var(--kyoto-blue);
}

.group-title {
  font-size: 1.15rem;
  color: var(--text-main);
  margin: 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 無料・有料共通：オレンジがかった温かいベージュ枠（チラシ調） */
.orange-beige-card {
  background-color: var(--bg-orange-beige);
  border: 1.5px solid var(--border-orange-beige);
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  transition: var(--transition);
}

.orange-beige-card:hover {
  transform: translateY(-2px);
  border-color: #D8C3AE;
  box-shadow: var(--shadow-sm);
}

.cap-card-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

/* チラシと同じ可愛いピンクチェック（✔） */
.flyer-chk {
  color: var(--flyer-pink);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.flyer-chk-sparkle {
  color: #E89E23;
  font-size: 1.05rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.cap-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  flex-grow: 1;
}

.cap-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 24px;
}

/* 英語対応無料特典のチラシ風キラキラバッジ */
.sparkle-free-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F9B233 0%, #E87A1E 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(232, 122, 30, 0.3);
}

/* 有料対応：値段を枠の外側に飛び出すバッジとして配置 */
.paid-float-card {
  margin-top: 10px;
}

.outside-price-tag {
  position: absolute;
  top: -12px;
  right: 14px;
  background: linear-gradient(135deg, var(--flyer-pink) 0%, #D84236 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(216, 66, 54, 0.28);
  letter-spacing: 0.02em;
}

.custom-price-tag {
  background: linear-gradient(135deg, var(--kyoto-blue) 0%, #2A6E8A 100%);
  box-shadow: 0 2px 6px rgba(29, 83, 105, 0.28);
}

.text-subtle {
  color: var(--text-light);
}

/* ==========================================================================
   「その他サポート料金一覧」セクション
   ========================================================================== */
.other-support-section {
  background-color: var(--bg-main);
}

.support-pricing-table {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.support-cat-title {
  font-size: 1.05rem;
  color: var(--kyoto-blue);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-color);
}

.support-price-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--bg-main);
  border-radius: 6px;
}

.item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.item-cost {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--flyer-pink);
  white-space: nowrap;
  margin-left: 12px;
}

.notes-container {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}

.notes-heading {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-main);
  text-align: center;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notes-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.notes-list strong {
  color: var(--kyoto-blue);
  margin-right: 4px;
}

/* ==========================================================================
   印刷物・アプリ制作ご案内セクション
   ========================================================================== */
.extra-services-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.extra-service-card {
  background-color: var(--bg-orange-beige);
  border: 1.5px dashed var(--accent-gold);
  border-radius: 14px;
  padding: 28px 22px;
}

.extra-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.extra-desc {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.55;
}

.extra-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 36px 0 20px;
}

.footer-brand-wrap {
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 6px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.footer-legal {
  margin: 12px 0 16px;
}

.privacy-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-link:hover {
  color: var(--kyoto-blue);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   プライバシーポリシーモーダル
   ========================================================================== */
.privacy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.privacy-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.privacy-modal-content {
  background-color: #FFFFFF;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-color);
}

.privacy-modal-title {
  font-size: 1.05rem;
  color: var(--kyoto-blue);
  margin: 0;
}

.privacy-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0 4px;
}

.privacy-close-btn:hover {
  color: var(--flyer-pink);
}

.privacy-modal-body {
  padding: 20px 22px;
  overflow-y: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.privacy-modal-body h4 {
  font-size: 0.92rem;
  color: var(--text-main);
  margin: 14px 0 6px;
}

.privacy-modal-body ul {
  padding-left: 6px;
  margin: 4px 0;
}

/* ==========================================================================
   フッター固定バー（常時表示固定）
   ========================================================================== */
.fixed-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.fixed-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
}

.fixed-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}

.fixed-contact-btn.btn-line {
  background-color: var(--line-color);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.25);
}

.fixed-contact-btn.btn-line:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.fixed-contact-btn.btn-mail {
  background-color: #FFFFFF;
  color: var(--kyoto-blue);
  border: 1.5px solid var(--kyoto-blue);
}

.fixed-contact-btn.btn-mail:hover {
  background-color: var(--kyoto-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.fixed-form-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #D85651 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  flex-grow: 1;
  max-width: 440px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.fixed-form-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 68, 62, 0.35);
}

.fixed-form-btn .btn-main-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ==========================================================================
   レスポンシブデザイン（スマホ最適化 & 縦3等分レイアウト）
   ========================================================================== */
@media (max-width: 992px) {
  .initial-plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-name {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 102px;
    padding-bottom: 74px;
  }

  .header-main-bar {
    height: 58px;
  }

  .site-logo-img {
    height: 32px;
  }

  .btn-header-cta {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .sub-header-bar {
    height: 44px;
  }

  .sub-nav-item {
    font-size: 0.78rem;
    padding: 3px 6px;
    gap: 4px;
  }

  .section {
    padding: 44px 0;
  }

  .flyer-heading {
    font-size: 1.7rem;
  }

  .maint-heading-styled {
    font-size: 1.7rem;
  }

  .em-zero {
    font-size: 2.3rem;
  }

  .notice-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 8px;
  }

  /* 初期制作費カードのスマホ対応（色帯と白背景にまたがる大きな猫イラスト） */
  .plan-pastel-header {
    padding: 12px 108px 10px 14px;
  }

  .plan-name {
    font-size: clamp(0.92rem, 3.8vw, 1.15rem);
    white-space: nowrap;
    margin-bottom: 2px;
  }

  .plan-sub-tag {
    font-size: 0.74rem;
  }

  .plan-card-inner {
    padding: 14px 14px 18px;
  }

  .plan-text-col {
    padding-right: 0;
  }

  .plan-price-wrap {
    padding-right: 106px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .price-digits {
    font-size: 1.45rem;
  }

  .plan-spanning-char {
    top: 14px;
    right: 8px;
    width: 102px;
    height: 126px;
  }

  .plan-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

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

  /* ★指示：「3種のプラン表示をスマホ画面幅を縦に３等分し３種のプラン内容載せて下さい」 */
  /* 文字サイズを全体的に大きくハッキリ調整！ */
  .maint-three-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .maint-card {
    padding: 12px 4px;
    border-radius: 8px;
  }

  .maint-top {
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .maint-pill-badge {
    font-size: 0.65rem; /* 0.58rem -> 0.65rem */
    padding: 2px 6px;
    margin-bottom: 3px;
  }

  /* プラン名：フリープラン／ライトプラン／スタンダードプラン（大きく明瞭に） */
  .maint-name {
    font-size: 0.95rem; /* 0.76rem -> 0.95rem 大幅拡大！ */
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: normal;
  }

  .maint-price-box .yen {
    font-size: 0.72rem; /* 0.6rem -> 0.72rem */
  }

  /* 価格数字（大きく明瞭に） */
  .maint-price-box .price-val {
    font-size: 1.55rem; /* 1.25rem -> 1.55rem 拡大！ */
  }

  .info-label {
    font-size: 0.7rem; /* 0.62rem -> 0.7rem */
    margin-bottom: 2px;
  }

  .info-text {
    font-size: 0.76rem; /* 0.68rem -> 0.76rem 拡大！ */
    line-height: 1.35;
    margin-bottom: 6px;
    word-break: break-all;
  }

  .info-text small {
    font-size: 0.6rem;
  }

  .maint-check-list {
    gap: 3px;
    margin-bottom: 6px;
  }

  .maint-check-list li {
    font-size: 0.74rem; /* 0.64rem -> 0.74rem 拡大！ */
    line-height: 1.25;
  }

  .chk-pink {
    font-size: 0.8rem;
  }

  .feature-tag {
    font-size: 0.74rem; /* 0.64rem -> 0.74rem */
    margin-bottom: 3px;
    line-height: 1.2;
  }

  .update-policy {
    padding: 4px;
    font-size: 0.72rem; /* 0.6rem -> 0.72rem */
  }

  .policy-label {
    font-size: 0.65rem;
  }

  .update-policy p {
    font-size: 0.72rem; /* 0.6rem -> 0.72rem 拡大！ */
    line-height: 1.25;
  }

  .highlight-policy strong {
    font-size: 0.75rem; /* 0.64rem -> 0.75rem */
    display: block;
  }

  .highlight-policy small {
    font-size: 0.58rem;
  }

  /* 固定フッターバー */
  .fixed-footer-bar {
    height: 64px;
  }

  .fixed-contact-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .fixed-form-btn {
    height: 40px;
    padding: 0 12px;
  }

  .fixed-form-btn .btn-main-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    height: 28px;
  }

  .btn-header-cta {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  .btn-header-cta span {
    display: none;
  }

  .btn-header-cta::after {
    content: '見積・相談';
  }

  .fixed-contact-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
  }

  .fixed-contact-btn .btn-text {
    display: none;
  }

  .plan-pastel-header {
    padding: 10px 92px 8px 12px;
  }

  .plan-name {
    font-size: 0.9rem;
    letter-spacing: -0.02em;
  }

  .plan-price-wrap {
    padding-right: 90px;
  }

  .price-digits {
    font-size: 1.35rem;
  }

  .plan-spanning-char {
    top: 12px;
    right: 6px;
    width: 88px;
    height: 112px;
  }
}
