/*
Theme Name: Coco Brothers Child (Cocoon Child)
Theme URI: https://www.coco-brothers.com/
Description: Cocoon子テーマ - 株式会社Coco Brothersサイト再現（ブロックエディター対応）
Author: Coco Brothers
Author URI: https://www.coco-brothers.com/
Template: cocoon-master
Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* =====================================================
   CSS変数
===================================================== */
:root {
  --cb-black:       #000000;
  --cb-white:       #ffffff;
  --cb-dark:        #0a0a0a;
  --cb-gray:        #f5f5f5;
  --cb-text:        #1a1a1a;
  --cb-text-sub:    #555555;
  --cb-accent:      #1a6b3c;
  --cb-border:      #e0e0e0;
  --cb-font:        "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --cb-font-en:     "Inter", "Helvetica Neue", Arial, sans-serif;
  --cb-max:         1200px;
  --cb-header-h:    80px;
}

/* =====================================================
   リセット
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--cb-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--cb-text);
  background: var(--cb-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
ul, ol { list-style: none; }

/* =====================================================
   Cocoon 上書き
===================================================== */
#container, .container, .wrap, #main, .main,
.site-content, #content, .entry-content, .article-body {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
#sidebar, .sidebar { display: none !important; }
.home .breadcrumb, .home .breadcrumbs { display: none !important; }
.cb-page-content { padding: 0 !important; }
.cb-page-content > * { max-width: 100% !important; }

/* =====================================================
   アナウンスバー
===================================================== */
.cb-announce-bar {
  background: var(--cb-black);
  color: var(--cb-white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: .03em;
}
.cb-announce-bar a { color: var(--cb-white); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   ヘッダー
===================================================== */
.cb-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.cb-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.cb-header__inner {
  max-width: var(--cb-max);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--cb-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cb-logo__text {
  font-family: var(--cb-font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--cb-black);
  letter-spacing: .04em;
}
.cb-nav { display: flex; }
.cb-nav__list { display: flex; align-items: center; }
.cb-nav__has-drop { position: relative; }
.cb-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cb-text);
  white-space: nowrap;
  transition: color .2s;
}
.cb-nav__link:hover { color: var(--cb-accent); opacity: 1; }

/* ドロップダウン */
.cb-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--cb-white);
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden;
  transition: all .2s;
  z-index: 100;
  padding: 8px 0;
}
.cb-nav__has-drop:hover .cb-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cb-dropdown li a { display: block; padding: 10px 20px; font-size: 13px; }
.cb-dropdown li a:hover { background: var(--cb-gray); opacity: 1; }

/* ヘッダーCTA */
.cb-header__cta { display: flex; gap: 12px; margin-left: 8px; }
.cb-btn-sub {
  padding: 8px 18px; font-size: 12px; font-weight: 600;
  border: 2px solid var(--cb-black); border-radius: 4px;
  color: var(--cb-black); letter-spacing: .05em; white-space: nowrap;
  transition: all .2s;
}
.cb-btn-sub:hover { background: var(--cb-black); color: var(--cb-white); opacity: 1; }
.cb-btn-main {
  padding: 8px 18px; font-size: 12px; font-weight: 600;
  background: var(--cb-black); color: var(--cb-white);
  border-radius: 4px; letter-spacing: .05em; white-space: nowrap;
  transition: all .2s;
}
.cb-btn-main:hover { background: #333; opacity: 1; }

/* ハンバーガー */
.cb-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 6px; width: 40px; height: 40px; cursor: pointer; padding: 4px;
  background: none; border: none;
}
.cb-hamburger span {
  display: block; width: 28px; height: 2px;
  background: var(--cb-black); border-radius: 2px; transition: all .3s;
}

/* モバイルメニュー */
.cb-mobile-menu {
  position: fixed; inset: 0;
  background: var(--cb-white);
  z-index: 9998;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 100px 32px 40px;
}
.cb-mobile-menu.is-open { transform: translateX(0); }
.cb-mobile-menu nav a {
  display: block; font-size: 22px; font-weight: 700;
  padding: 16px 0; border-bottom: 1px solid var(--cb-border);
  color: var(--cb-text);
}

/* =====================================================
   共通ボタン（ブロック内で使用）
===================================================== */
.cb-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px;
  background: var(--cb-white); color: var(--cb-black);
  font-size: 14px; font-weight: 700; border-radius: 4px;
  letter-spacing: .05em; transition: all .2s;
}
.cb-btn-primary:hover { background: #f0f0f0; opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.cb-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px;
  background: transparent; color: var(--cb-white);
  border: 1px solid rgba(255,255,255,.5);
  font-size: 14px; font-weight: 700; border-radius: 4px;
  letter-spacing: .05em; transition: all .2s;
}
.cb-btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); opacity: 1; }
.cb-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--cb-black); color: var(--cb-white);
  font-size: 14px; font-weight: 600; border-radius: 4px;
  letter-spacing: .05em; transition: all .2s;
}
.cb-btn-dark:hover { background: #333; opacity: 1; transform: translateY(-2px); }

/* =====================================================
   ヒーローセクション
===================================================== */
.cb-hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--cb-dark);
  padding-top: var(--cb-header-h);
}
.cb-hero__bg {
  position: absolute; inset: 0;
}
.cb-hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(26,107,60,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(16,80,45,.25) 0%, transparent 50%);
  animation: cbHeroBg 8s ease-in-out infinite alternate;
}
@keyframes cbHeroBg {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.1) translate(2%,-2%); }
}
.cb-hero__content {
  position: relative; z-index: 2;
  max-width: var(--cb-max); margin: 0 auto;
  padding: 80px 40px 60px; width: 100%;
}
.cb-hero__sub {
  font-family: var(--cb-font-en);
  font-size: 11px; font-weight: 500;
  letter-spacing: .3em; color: rgba(255,255,255,.6);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.cb-hero__sub::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: rgba(255,255,255,.4);
}
.cb-hero__catch {
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.35;
  color: var(--cb-white); letter-spacing: .02em;
  margin-bottom: 32px; max-width: 800px;
}
.cb-hero__catch em {
  font-style: normal; color: transparent;
  background: linear-gradient(135deg, #34d399, #a7f3d0);
  -webkit-background-clip: text; background-clip: text;
}
.cb-hero__lead {
  font-size: 16px; color: rgba(255,255,255,.75);
  line-height: 1.9; max-width: 560px; margin-bottom: 48px;
}
.cb-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cb-hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: 11px;
  font-family: var(--cb-font-en); letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.cb-hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: cbScroll 2s ease-in-out infinite;
}
@keyframes cbScroll { 0%,100%{opacity:.5} 50%{opacity:1} }

/* =====================================================
   セクション共通
===================================================== */
.cb-section { padding: 100px 40px; }
.cb-section--dark { background: var(--cb-dark); color: var(--cb-white); }
.cb-section--gray { background: var(--cb-gray); }
.cb-section__inner { max-width: var(--cb-max); margin: 0 auto; }
.cb-section__en {
  display: block;
  font-family: var(--cb-font-en);
  font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--cb-accent); margin-bottom: 12px;
}
.cb-section--dark .cb-section__en { color: rgba(255,255,255,.5); }
.cb-section__title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700; line-height: 1.3; letter-spacing: .02em;
  color: var(--cb-text); margin-bottom: 16px;
}
.cb-section--dark .cb-section__title { color: var(--cb-white); }
.cb-section__desc {
  font-size: 16px; color: var(--cb-text-sub);
  max-width: 600px; line-height: 1.9; margin-bottom: 48px;
}
.cb-section--dark .cb-section__desc { color: rgba(255,255,255,.65); }
.cb-section__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap .2s;
}
.cb-section__more:hover { gap: 14px; opacity: 1; }
.cb-section--dark .cb-section__more { color: var(--cb-white); }

/* =====================================================
   私たちについて
===================================================== */
.cb-about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cb-about__text p { font-size: 16px; line-height: 2; color: var(--cb-text-sub); margin-bottom: 24px; }
.cb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cb-stat { padding: 28px; border: 1px solid var(--cb-border); border-radius: 8px; }
.cb-stat__num {
  font-family: var(--cb-font-en); font-size: 44px; font-weight: 700;
  line-height: 1; margin-bottom: 8px; color: var(--cb-black);
}
.cb-stat__num span { font-size: 20px; font-weight: 400; }
.cb-stat__label { font-size: 13px; color: var(--cb-text-sub); line-height: 1.5; }

/* =====================================================
   事業内容
===================================================== */
.cb-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.cb-service-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  transition: all .3s; cursor: pointer;
}
.cb-service-card:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.cb-service-card__num {
  font-family: var(--cb-font-en); font-size: 13px;
  color: rgba(255,255,255,.4); letter-spacing: .1em; margin-bottom: 16px;
}
.cb-service-card__icon { font-size: 44px; margin-bottom: 20px; }
.cb-service-card__title {
  font-size: 19px; font-weight: 700; line-height: 1.4;
  margin-bottom: 8px; color: var(--cb-white);
}
.cb-service-card__en {
  font-family: var(--cb-font-en); font-size: 11px;
  color: rgba(255,255,255,.35); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.cb-service-card__desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; }
.cb-service-card__arrow {
  margin-top: 24px; font-size: 20px;
  color: rgba(255,255,255,.4); transition: transform .2s;
}
.cb-service-card:hover .cb-service-card__arrow { transform: translateX(6px); }

/* =====================================================
   実績数値
===================================================== */
.cb-numbers {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; overflow: hidden;
}
.cb-number-item {
  padding: 48px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.cb-number-item:last-child { border-right: none; }
.cb-number-item__num {
  font-family: var(--cb-font-en); font-size: 48px; font-weight: 700;
  line-height: 1; color: var(--cb-white); margin-bottom: 8px;
}
.cb-number-item__num sup { font-size: 20px; font-weight: 400; }
.cb-number-item__label { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* =====================================================
   Cocokara（特集カード）
===================================================== */
.cb-featured {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px;
}
.cb-featured__card {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 3/4; cursor: pointer; transition: transform .3s;
}
.cb-featured__card:hover { transform: translateY(-6px); }
.cb-featured__card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  color: var(--cb-white);
}
.cb-featured__card-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 8px;
}
.cb-featured__card-title { font-size: 15px; font-weight: 700; line-height: 1.5; }

/* =====================================================
   会社情報
===================================================== */
.cb-company {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px;
}
.cb-company-card {
  background: var(--cb-white); border-radius: 12px;
  padding: 36px 24px; cursor: pointer; transition: all .3s;
  border: 1px solid var(--cb-border);
}
.cb-company-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.cb-company-card__icon { font-size: 32px; margin-bottom: 16px; }
.cb-company-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.cb-company-card__desc { font-size: 13px; color: var(--cb-text-sub); line-height: 1.7; }

/* =====================================================
   採用セクション
===================================================== */
.cb-recruit {
  position: relative; min-height: 480px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--cb-dark);
}
.cb-recruit__content {
  position: relative; z-index: 2;
  padding: 80px 40px; max-width: var(--cb-max); margin: 0 auto; width: 100%;
}
.cb-recruit__tag {
  display: inline-block; padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; font-family: var(--cb-font-en);
  color: rgba(255,255,255,.7); margin-bottom: 24px;
}
.cb-recruit__title {
  font-size: clamp(26px, 4vw, 50px); font-weight: 700;
  color: var(--cb-white); line-height: 1.3; margin-bottom: 20px;
}
.cb-recruit__desc {
  font-size: 16px; color: rgba(255,255,255,.7);
  max-width: 520px; line-height: 1.9; margin-bottom: 40px;
}

/* =====================================================
   CTAセクション
===================================================== */
.cb-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 0; }
.cb-cta-card {
  background: var(--cb-white); border: 1px solid var(--cb-border);
  border-radius: 12px; padding: 44px 36px; text-align: center;
  transition: all .3s;
}
.cb-cta-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.1); transform: translateY(-4px); }
.cb-cta-card__icon { font-size: 44px; margin-bottom: 16px; }
.cb-cta-card__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.cb-cta-card__desc { font-size: 14px; color: var(--cb-text-sub); line-height: 1.8; margin-bottom: 24px; }

/* =====================================================
   フッター
===================================================== */
.cb-footer {
  background: var(--cb-black); color: rgba(255,255,255,.8);
  padding: 80px 40px 40px;
}
.cb-footer__top {
  display: grid; grid-template-columns: 260px 1fr; gap: 80px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.cb-footer__logo {
  font-family: var(--cb-font-en); font-size: 20px; font-weight: 700;
  color: var(--cb-white); margin-bottom: 16px; display: block;
}
.cb-footer__tagline { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 20px; }
.cb-footer__address { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.9; font-style: normal; }
.cb-footer__nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.cb-footer__nav-group h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cb-white);
  margin-bottom: 16px; font-family: var(--cb-font-en);
}
.cb-footer__nav-group ul { display: flex; flex-direction: column; gap: 10px; }
.cb-footer__nav-group ul li a { font-size: 12px; color: rgba(255,255,255,.5); transition: color .2s; }
.cb-footer__nav-group ul li a:hover { color: var(--cb-white); opacity: 1; }
.cb-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; flex-wrap: wrap; gap: 16px;
}
.cb-footer__copy { font-size: 12px; color: rgba(255,255,255,.35); font-family: var(--cb-font-en); }
.cb-footer__legal { display: flex; gap: 24px; }
.cb-footer__legal a { font-size: 12px; color: rgba(255,255,255,.4); transition: color .2s; }
.cb-footer__legal a:hover { color: rgba(255,255,255,.8); opacity: 1; }

/* =====================================================
   フェードインアニメーション
===================================================== */
.cb-fade { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.cb-fade.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   レスポンシブ
===================================================== */
@media (max-width: 1024px) {
  .cb-nav, .cb-header__cta { display: none; }
  .cb-hamburger { display: flex; }
  .cb-about { grid-template-columns: 1fr; gap: 48px; }
  .cb-services { grid-template-columns: 1fr 1fr; }
  .cb-numbers { grid-template-columns: repeat(2,1fr); }
  .cb-number-item:nth-child(2) { border-right: none; }
  .cb-number-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
  .cb-featured { grid-template-columns: repeat(2,1fr); }
  .cb-company { grid-template-columns: repeat(2,1fr); }
  .cb-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .cb-footer__nav { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --cb-header-h: 64px; }
  .cb-section { padding: 72px 24px; }
  .cb-hero__content { padding: 60px 24px 40px; }
  .cb-services { grid-template-columns: 1fr; }
  .cb-cta { grid-template-columns: 1fr; }
  .cb-footer { padding: 60px 24px 32px; }
  .cb-footer__nav { grid-template-columns: 1fr 1fr; }
  .cb-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .cb-stats { grid-template-columns: 1fr; }
  .cb-featured { grid-template-columns: 1fr; }
  .cb-numbers { grid-template-columns: 1fr; }
  .cb-number-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cb-company { grid-template-columns: 1fr; }
  .cb-footer__nav { grid-template-columns: 1fr; }
}

/* =====================================================
   CB Luxury polish (2026-03)
===================================================== */
:root {
  --cb-accent: #b08b3a;
  --cb-dark: #0b1220;
  --cb-text: #1f2937;
}

body {
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f1e8 45%, #ffffff 100%);
  color: var(--cb-text);
}

.cb-header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid rgba(11, 18, 32, .08);
}

.cb-logo__text {
  letter-spacing: .08em;
}

.cb-nav__link {
  position: relative;
  font-weight: 500;
}

.cb-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--cb-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.cb-nav__link:hover::after {
  transform: scaleX(1);
}

.cb-btn-main {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .2);
  color: #fff;
}

.cb-btn-main:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 16px 34px rgba(2, 8, 23, .26);
}

.cb-btn-sub {
  border-color: rgba(11, 18, 32, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
}

.cb-btn-sub:hover {
  border-color: var(--cb-accent);
  color: var(--cb-dark);
  background: #fff;
}

.cb-footer {
  background: radial-gradient(circle at 5% 0%, rgba(176, 139, 58, .16) 0%, rgba(15, 23, 42, 0) 40%), #0b1220;
}

.cb-footer__logo,
.cb-footer__tagline,
.cb-footer__address,
.cb-footer__copy,
.cb-footer__legal a,
.cb-footer__nav a {
  color: rgba(255, 255, 255, .9);
}

.cb-footer__logo {
  letter-spacing: .08em;
}

.cb-footer__nav a:hover,
.cb-footer__legal a:hover {
  color: #f4d28c;
  opacity: 1;
}

@media (max-width: 768px) {
  .cb-header__inner {
    padding: 0 20px;
  }

  .cb-btn-main,
  .cb-btn-sub {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* =====================================================
   CB Contact Form polish (2026-03)
===================================================== */
.wpcf7 {
  max-width: 920px;
  margin: 28px auto 0;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.98) 0%, rgba(248,245,238,.98) 100%);
  border: 1px solid rgba(176, 139, 58, .25);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .1);
}
.wpcf7 .CF7_table { width: 100%; border-collapse: separate; border-spacing: 0 14px; }
.wpcf7 .CF7_table th,.wpcf7 .CF7_table td { display:block; width:100%; padding:0; border:0; text-align:left; }
.wpcf7 .CF7_table th { margin-bottom:8px; font-size:13px; font-weight:700; color:#0b1220; letter-spacing:.02em; }
.wpcf7 .CF7_req,.wpcf7 .CF7_unreq { display:inline-block; margin-right:8px; font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; }
.wpcf7 .CF7_req { color:#fff; background:linear-gradient(135deg,#b08b3a,#d8b66d); }
.wpcf7 .CF7_unreq { color:#374151; background:#e5e7eb; }
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 input[type="tel"],.wpcf7 textarea,.wpcf7 select { width:100%; border:1px solid #d9dee8; border-radius:12px; background:#fff; padding:14px 16px; font-size:15px; line-height:1.6; color:#1f2937; transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.wpcf7 textarea { min-height:180px; resize:vertical; }
.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus { outline:none; border-color:#b08b3a; box-shadow:0 0 0 4px rgba(176,139,58,.16); }
.wpcf7 input::placeholder,.wpcf7 textarea::placeholder { color:#9aa3b2; }
.wpcf7 .wpcf7-checkbox { display:flex; flex-wrap:wrap; gap:10px 14px; }
.wpcf7 .wpcf7-list-item { margin:0; }
.wpcf7 .CF7_btn { margin-top:18px; }
.wpcf7 .wpcf7-submit { width:100%; max-width:300px; border:0; border-radius:999px; padding:14px 24px; font-size:15px; font-weight:700; letter-spacing:.04em; color:#fff; background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%); box-shadow:0 12px 30px rgba(2,8,23,.2); cursor:pointer; transition:transform .2s ease, box-shadow .2s ease; }
.wpcf7 .wpcf7-submit:hover { transform:translateY(-2px); box-shadow:0 18px 36px rgba(2,8,23,.24); }
.wpcf7 .wpcf7-response-output { margin:18px 0 0; padding:12px 14px; border-radius:10px; font-size:14px; }
@media (max-width:768px) { .wpcf7 { padding:20px 16px; border-radius:14px; } .wpcf7 .wpcf7-submit { max-width:100%; } }


/* =====================================================
   CB About section rebuild (2026-03)
===================================================== */
.cb-section--about-rebuild {
  position: relative;
  background:
    radial-gradient(800px 420px at 90% 10%, rgba(176,139,58,.10), transparent 60%),
    linear-gradient(180deg, #f6f4ef 0%, #f2eee5 100%);
}

.cb-about-reframe {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.cb-about-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}

.cb-about-lead {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.6;
  color: #111827;
  font-weight: 600;
  margin-bottom: 18px;
}

.cb-about-copy {
  font-size: 16px;
  line-height: 2;
  color: #4b5563;
  margin: 0;
}

.cb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cb-about-chip {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 150px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.cb-about-chip__num {
  font-family: var(--cb-font-en);
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
}

.cb-about-chip__num span {
  font-size: .45em;
  margin-left: 2px;
  font-weight: 600;
  color: #334155;
}

.cb-about-chip__label {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  font-weight: 500;
}

@media (max-width: 980px) {
  .cb-about-reframe { grid-template-columns: 1fr; }
  .cb-about-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cb-about-grid { grid-template-columns: 1fr; }
  .cb-about-chip { min-height: 0; }
}



/* =====================================================
   CB Service section tune (2026-03)
===================================================== */
#services .cb-section__title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: .01em;
}

#services .cb-section__desc {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.75;
  max-width: 760px;
}

#services .cb-service-card__title {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.2;
  margin-bottom: 10px;
}

#services .cb-service-card__en {
  font-size: 14px;
  letter-spacing: .14em;
}

#services .cb-service-card__desc {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.85;
}

.cb-services__cta-wrap {
  margin-top: 30px;
  text-align: center;
}

.cb-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 26px;
  font-size: 16px;
}

@media (max-width: 768px) {
  #services .cb-service-card__title { font-size: 34px; }
  #services .cb-service-card__desc { font-size: 18px; }
  .cb-services__cta { width: 100%; max-width: 360px; }
}



/* Contact single card layout */
.cb-cta--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}



/* Fixed header offset for non-home pages */
body:not(.home) .content,
body:not(.home) #content,
body:not(.home) .article,
body:not(.home) #main {
  padding-top: calc(var(--cb-header-h) + 22px) !important;
}

@media (max-width: 768px) {
  body:not(.home) .content,
  body:not(.home) #content,
  body:not(.home) .article,
  body:not(.home) #main {
    padding-top: calc(var(--cb-header-h) + 16px) !important;
  }
}



/* =====================================================
   CB About representative message + portrait (2026-03)
===================================================== */
.cb-about-reframe--message {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  align-items: stretch;
}

.cb-about-message-title {
  margin: 28px 0 12px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.5;
  color: #0f172a;
  font-weight: 700;
}

.cb-about-copy {
  font-size: clamp(16px, 1.16vw, 19px);
  line-height: 1.92;
  color: #334155;
  margin: 0 0 14px;
}

.cb-about-copy--strong {
  font-weight: 700;
  color: #0f172a;
  margin-top: 22px;
}

.cb-about-portrait-wrap {
  display: flex;
  align-items: stretch;
}

.cb-about-portrait {
  position: sticky;
  top: calc(var(--cb-header-height, 82px) + 24px);
  width: 100%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: 0 22px 40px rgba(15,23,42,.18);
  background: #0f172a;
}

.cb-about-portrait img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cb-about-portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  margin: 0 auto;
  width: calc(100% - 36px);
  text-align: center;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
  background: rgba(30, 58, 138, .92);
  padding: 16px 12px;
}

@media (max-width: 1080px) {
  .cb-about-reframe--message {
    grid-template-columns: 1fr;
  }

  .cb-about-portrait {
    position: static;
    max-width: 640px;
    margin: 0 auto;
  }
}
