@charset "UTF-8";

/*!
Theme Name: Cocoon Child - Bergehome
Description: ベルジュホーム専用 Cocoon子テーマ
Theme URI: https://wp-cocoon.com/
Author: Media Strategy Lab
Template: cocoon-master
Version: 1.0.0
*/

:root {
  --berge-green-900: #123a2b;
  --berge-green-800: #1b4d38;
  --berge-green-700: #286849;
  --berge-green-600: #3d8258;
  --berge-green-100: #e9f2eb;
  --berge-green-050: #f3f8f4;
  --berge-blue: #076598;
  --berge-gold: #bd9148;
  --berge-coral: #d75c4a;
  --berge-ink: #20302a;
  --berge-muted: #64716b;
  --berge-line: #dce5df;
  --berge-paper: #ffffff;
  --berge-cream: #f8f5ee;
  --berge-max: 1180px;
  --berge-shadow: 0 22px 60px rgba(18, 58, 43, 0.12);
  --berge-radius: 18px;
  --berge-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --berge-serif: "Noto Serif JP", "Yu Mincho", serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body.bergehome-renewal {
  margin: 0;
  color: var(--berge-ink);
  background: var(--berge-paper);
  font-family: var(--berge-sans);
  letter-spacing: 0.025em;
}

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

.bergehome-renewal img {
  max-width: 100%;
  height: auto;
}

.bergehome-renewal a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bergehome-renewal .container {
  background: var(--berge-paper);
}

.bergehome-renewal #content,
.bergehome-renewal #content-in,
.bergehome-renewal #main,
.bergehome-renewal .article,
.bergehome-renewal .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bergehome-renewal .sidebar,
.bergehome-renewal .entry-title,
.bergehome-renewal .date-tags,
.bergehome-renewal .sns-share,
.bergehome-renewal .sns-follow,
.bergehome-renewal .post-navi,
.bergehome-renewal .breadcrumb,
.bergehome-renewal #footer,
.bergehome-renewal .go-to-top,
.bergehome-renewal .mobile-menu-buttons,
.bergehome-renewal .article-footer {
  display: none !important;
}

.bergehome-renewal.page .toc {
  display: none !important;
}

.bergehome-renewal .entry-content .berge-heading,
.bergehome-renewal .entry-content .berge-page-hero h1,
.bergehome-renewal .entry-content .berge-card h3,
.bergehome-renewal .entry-content .berge-fee-card h3 {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.bergehome-renewal .entry-content .berge-heading::before,
.bergehome-renewal .entry-content .berge-heading::after,
.bergehome-renewal .entry-content .berge-page-hero h1::before,
.bergehome-renewal .entry-content .berge-page-hero h1::after,
.bergehome-renewal .entry-content .berge-card h3::before,
.bergehome-renewal .entry-content .berge-card h3::after {
  display: none;
}

.bergehome-renewal .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.berge-header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 223, 0.92);
  backdrop-filter: blur(12px);
}

.admin-bar .berge-header-container { top: 32px; }

.berge-header__inner {
  width: min(calc(100% - 48px), var(--berge-max));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.berge-header__brand {
  width: 292px;
  color: var(--berge-green-900);
  text-decoration: none;
  display: grid;
  gap: 2px;
  flex: 0 0 auto;
}

.berge-header__brand img {
  width: 258px;
  height: auto;
}

.berge-header__area,
.berge-header__company {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}

.berge-header__company { color: var(--berge-muted); }

.berge-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}

.berge-nav a {
  color: var(--berge-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.berge-nav a:hover { color: var(--berge-green-600); }

.berge-nav a.is-cta {
  padding: 12px 18px;
  color: #fff;
  background: var(--berge-green-700);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(40, 104, 73, .18);
}

.berge-nav a.is-cta:hover {
  background: var(--berge-green-900);
  transform: translateY(-1px);
}

.berge-header__contact {
  display: grid;
  line-height: 1.15;
  text-align: right;
}

.berge-header__contact span {
  color: var(--berge-muted);
  font-size: 10px;
}

.berge-header__contact a {
  color: var(--berge-green-900);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.berge-mobile-menu { display: none; }

.berge-section,
.berge-hero,
.berge-page-hero {
  position: relative;
  overflow: hidden;
}

.berge-section > .wp-block-group__inner-container,
.berge-page-hero > .wp-block-group__inner-container {
  width: min(calc(100% - 48px), var(--berge-max));
  margin: 0 auto;
}

.berge-section {
  padding: 96px 0;
}

.berge-section.is-soft { background: var(--berge-green-050); }
.berge-section.is-cream { background: var(--berge-cream); }
.berge-section.is-dark { color: #fff; background: var(--berge-green-900); }

.berge-eyebrow {
  margin: 0 0 12px !important;
  color: var(--berge-green-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.is-dark .berge-eyebrow { color: #b7d8bf; }

.berge-heading {
  margin: 0 0 22px !important;
  color: var(--berge-green-900);
  font-family: var(--berge-serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.4;
  letter-spacing: .035em;
}

.is-dark .berge-heading { color: #fff; }

.berge-lead {
  max-width: 760px;
  color: var(--berge-muted);
  font-size: 17px;
  line-height: 2;
}

.is-dark .berge-lead { color: rgba(255,255,255,.76); }

.berge-hero {
  min-height: 660px;
  display: flex;
  align-items: stretch;
  background: var(--berge-green-900);
}

.berge-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(13,46,33,.94) 0%, rgba(13,46,33,.84) 42%, rgba(13,46,33,.28) 72%, rgba(13,46,33,.06) 100%) !important;
  opacity: 1 !important;
}

.berge-hero .wp-block-cover__image-background {
  object-position: center 48%;
}

.berge-hero .wp-block-cover__inner-container {
  width: min(calc(100% - 48px), var(--berge-max));
  margin: 0 auto;
}

.berge-hero__copy {
  max-width: 760px;
  padding: 72px 0 66px;
}

.berge-hero__badge {
  display: inline-flex;
  margin: 0 0 20px !important;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.berge-hero h1 {
  margin: 0 0 24px !important;
  color: #fff;
  font-family: var(--berge-serif);
  font-size: clamp(39px, 4.7vw, 64px);
  line-height: 1.24;
  letter-spacing: .025em;
  text-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.berge-hero h1 strong {
  color: #f6d88d;
  font-size: 1.12em;
}

.berge-hero__lead {
  max-width: 610px;
  margin: 0 0 32px !important;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.95;
}

.berge-hero__proof {
  display: flex;
  gap: 10px 28px;
  margin: 28px 0 0 !important;
  padding: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  flex-wrap: wrap;
}

.berge-hero__proof li::before {
  content: "✓";
  margin-right: 8px;
  color: #cde5d2;
}

.wp-block-buttons.berge-actions { gap: 14px; }

.berge-button .wp-block-button__link,
.berge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.berge-button--primary .wp-block-button__link,
a.berge-button--primary {
  color: #fff;
  background: var(--berge-coral);
  box-shadow: 0 14px 30px rgba(215,92,74,.3);
}

.berge-button--primary .wp-block-button__link:hover,
a.berge-button--primary:hover {
  background: #b94738;
  transform: translateY(-2px);
}

.berge-button--ghost .wp-block-button__link {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.45);
}

.berge-button--green .wp-block-button__link,
a.berge-button--green {
  color: #fff;
  background: var(--berge-green-700);
  box-shadow: 0 12px 28px rgba(40,104,73,.22);
}

.berge-button--light { color: var(--berge-green-900); background: #fff; }
.berge-button--outline-light { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); }

.berge-problem-grid,
.berge-feature-grid,
.berge-step-grid,
.berge-proof-grid,
.berge-fee-grid {
  display: grid !important;
  gap: 22px;
}

.berge-problem-grid { grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
.berge-feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
.berge-step-grid { grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
.berge-proof-grid { grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
.berge-fee-grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

.berge-section:has(.berge-problem-grid) .berge-eyebrow,
.berge-section:has(.berge-problem-grid) .berge-heading,
.berge-section:has(.berge-problem-grid) .berge-problem-grid {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.berge-section:has(.berge-problem-grid) .berge-lead {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.berge-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--berge-line);
  border-radius: var(--berge-radius);
  box-shadow: 0 14px 34px rgba(18,58,43,.06);
}

.berge-card h3 {
  margin: 0 0 12px !important;
  color: var(--berge-green-900);
  font-family: var(--berge-serif);
  font-size: 21px;
  line-height: 1.55;
}

.berge-card p,
.berge-card li {
  color: var(--berge-muted);
  font-size: 14px;
  line-height: 1.9;
}

.berge-card .berge-number {
  width: 44px;
  height: 44px;
  margin: 0 0 20px !important;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--berge-green-700);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.berge-solution {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: center !important;
  gap: clamp(38px, 6vw, 80px);
}

.berge-solution .wp-block-column { margin: 0 !important; }

html.berge-motion-ready .berge-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--berge-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.berge-motion-ready .berge-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html.berge-motion-ready .berge-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.berge-highlight {
  margin: 24px 0 !important;
  padding: 24px 28px;
  background: var(--berge-green-050);
  border-left: 4px solid var(--berge-green-600);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  line-height: 1.85;
}

.berge-portrait-frame {
  padding: 24px 24px 0;
  background: linear-gradient(145deg, #e5efe7, #f8f5ee);
  border-radius: 28px;
  text-align: center;
}

.berge-portrait-frame img {
  width: auto;
  max-height: 440px;
  margin: 0 auto;
  object-fit: contain;
}

.berge-fee-card {
  padding: 30px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--berge-line);
  border-radius: var(--berge-radius);
}

.berge-fee-card strong {
  display: block;
  margin: 10px 0;
  color: var(--berge-coral);
  font-size: 34px;
}

.berge-quote {
  margin: 0;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--berge-line);
  border-radius: var(--berge-radius);
}

.berge-quote p {
  font-family: var(--berge-serif);
  font-size: 17px;
  line-height: 1.9;
}

.berge-quote cite {
  color: var(--berge-muted);
  font-size: 12px;
  font-style: normal;
}

.berge-promise-list {
  counter-reset: promise;
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.berge-promise-list li {
  position: relative;
  min-height: 58px;
  padding: 15px 18px 15px 66px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--berge-line);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.berge-promise-list li::before {
  counter-increment: promise;
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  left: 18px;
  color: var(--berge-green-600);
  font-size: 13px;
  font-weight: 800;
}

.berge-page-hero {
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 78% 28%, rgba(61,130,88,.2), transparent 28%),
    linear-gradient(135deg, var(--berge-green-050), var(--berge-cream));
}

.berge-page-hero h1 {
  max-width: 820px;
  margin: 0 0 18px !important;
  color: var(--berge-green-900);
  font-family: var(--berge-serif);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.35;
}

.berge-page-hero p:not(.berge-eyebrow) {
  max-width: 720px;
  color: var(--berge-muted);
  font-size: 17px;
  line-height: 1.9;
}

.berge-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--berge-line);
  border-radius: 14px;
}

.berge-table th,
.berge-table td {
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--berge-line);
  text-align: left;
  line-height: 1.7;
}

.berge-table tr:last-child th,
.berge-table tr:last-child td { border-bottom: 0; }
.berge-table th { width: 30%; color: var(--berge-green-900); background: var(--berge-green-050); }

.berge-form-shell {
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--berge-line);
  border-radius: 24px;
  box-shadow: var(--berge-shadow);
}

.berge-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.berge-field { display: grid; gap: 8px; }
.berge-field--full { grid-column: 1 / -1; }
.berge-field label { color: var(--berge-green-900); font-size: 13px; font-weight: 700; }
.berge-field em { margin-left: 6px; color: var(--berge-coral); font-size: 11px; font-style: normal; }
.berge-field input,
.berge-field select,
.berge-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--berge-ink);
  background: #fbfcfb;
  border: 1px solid #ccd9d0;
  border-radius: 9px;
  font: inherit;
}
.berge-field textarea { min-height: 120px; resize: vertical; }
.berge-form-note { margin: 24px 0 !important; color: var(--berge-muted); font-size: 12px; line-height: 1.8; }
.berge-form-submit { width: 100%; min-height: 58px; color: #fff; background: var(--berge-green-700); border: 0; border-radius: 999px; font: 700 15px var(--berge-sans); cursor: not-allowed; opacity: .9; }

.berge-global-cta {
  padding: 84px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.1), transparent 28%),
    var(--berge-green-900);
  text-align: center;
}

.berge-global-cta__inner { max-width: 850px; margin: 0 auto; }
.berge-global-cta h2 { margin: 0 0 18px; color: #fff; font-family: var(--berge-serif); font-size: clamp(29px, 4vw, 48px); line-height: 1.45; }
.berge-global-cta p:not(.berge-eyebrow) { margin: 0 auto 28px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.9; }
.berge-global-cta small { display: block; margin-top: 18px; color: rgba(255,255,255,.65); }
.berge-global-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.berge-footer { color: rgba(255,255,255,.74); background: #0b271d; }
.berge-footer__inner { width: min(calc(100% - 48px), var(--berge-max)); margin: 0 auto; padding: 54px 0 40px; display: flex; justify-content: space-between; gap: 48px; }
.berge-footer__brand img { width: 270px; filter: brightness(0) invert(1); opacity: .95; }
.berge-footer__brand p { margin: 10px 0 0; font-size: 12px; }
.berge-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; align-content: center; }
.berge-footer__nav a { color: rgba(255,255,255,.8); font-size: 13px; text-decoration: none; }
.berge-footer__bottom { padding: 18px 24px; display: flex; justify-content: center; gap: 30px; color: rgba(255,255,255,.42); background: #071c15; font-size: 11px; }
.berge-mobile-actions { display: none; }

@media screen and (max-width: 1100px) {
  .berge-nav { display: none; }
  .berge-header__contact { margin-left: auto; }
  .berge-mobile-menu { display: block; position: relative; margin-left: auto; flex: 0 0 auto; }
  .berge-mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--berge-line); border-radius: 50%; cursor: pointer; list-style: none; }
  .berge-mobile-menu summary::-webkit-details-marker { display: none; }
  .berge-mobile-menu summary span { width: 18px; height: 2px; display: block; background: var(--berge-green-900); }
  .berge-mobile-nav { position: absolute; top: 54px; right: 0; width: min(320px, calc(100vw - 32px)); padding: 16px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--berge-line); border-radius: 14px; box-shadow: var(--berge-shadow); }
  .berge-mobile-nav a { padding: 13px 14px; color: var(--berge-ink); font-size: 13px; font-weight: 600; text-decoration: none; border-radius: 8px; }
  .berge-mobile-nav a.is-cta { color: #fff; background: var(--berge-green-700); }
}

@media screen and (max-width: 834px) {
  .admin-bar .berge-header-container { top: 46px; }
  .berge-header__inner { width: min(calc(100% - 32px), var(--berge-max)); min-height: 72px; gap: 12px; }
  .berge-header__brand { width: 235px; }
  .berge-header__brand img { width: 220px; }
  .berge-header__area, .berge-header__company { font-size: 8px; }
  .berge-header__contact { display: none; }
  .berge-section > .wp-block-group__inner-container,
  .berge-page-hero > .wp-block-group__inner-container,
  .berge-hero .wp-block-cover__inner-container { width: min(calc(100% - 32px), var(--berge-max)); }
  .berge-section { padding: 70px 0; }
  .berge-hero { min-height: 650px; }
  .berge-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(13,46,33,.72) 0%, rgba(13,46,33,.9) 70%, rgba(13,46,33,.96) 100%) !important; }
  .berge-hero .wp-block-cover__image-background { object-position: 62% center; }
  .berge-hero__copy { padding: 190px 0 52px; }
  .berge-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .berge-problem-grid,
  .berge-feature-grid,
  .berge-step-grid,
  .berge-proof-grid,
  .berge-fee-grid { grid-template-columns: 1fr; }
  .berge-solution { gap: 34px; }
  .berge-page-hero { padding: 66px 0 58px; }
  .berge-footer__inner { width: min(calc(100% - 32px), var(--berge-max)); flex-direction: column; }
  .berge-footer__nav { grid-template-columns: 1fr; }
  .berge-footer__bottom { padding-bottom: 86px; flex-direction: column; align-items: center; gap: 4px; }
  .berge-mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; height: 64px; display: grid; grid-template-columns: 42% 58%; background: #fff; box-shadow: 0 -8px 26px rgba(18,58,43,.16); }
  .berge-mobile-actions a { display: grid; place-items: center; color: var(--berge-green-900); font-size: 13px; font-weight: 800; text-decoration: none; }
  .berge-mobile-actions a:last-child { color: #fff; background: var(--berge-green-700); }
  .berge-form-grid { grid-template-columns: 1fr; }
  .berge-field--full { grid-column: auto; }
  .berge-table { overflow-x: auto; }
  .berge-table table { min-width: 620px; }
}

@media screen and (max-width: 480px) {
  .berge-header__brand { width: 206px; }
  .berge-header__brand img { width: 198px; }
  .berge-header__company { display: none; }
  .berge-header__inner { min-height: 66px; }
  .berge-section { padding: 58px 0; }
  .berge-heading { font-size: 30px; }
  .berge-hero { min-height: 620px; }
  .berge-hero__copy { padding-top: 176px; }
  .berge-hero__lead { font-size: 15px; }
  .berge-hero__proof { display: grid; gap: 8px; }
  .wp-block-buttons.berge-actions { display: grid; }
  .berge-actions .wp-block-button { width: 100%; }
  .berge-actions .wp-block-button__link { width: 100%; }
  .berge-card { padding: 25px 22px; }
  .berge-footer__brand img { width: 235px; }
  .berge-global-cta { padding: 66px 20px; }
}

.berge-global-cta__actions .berge-button--line{background:#06c755;border:1px solid #06c755;color:#003719;text-decoration:none}
.berge-global-cta__actions .berge-button--line:hover{background:#05ad4a;border-color:#05ad4a;color:#003719}
@media screen and (max-width:700px){.berge-global-cta__actions{display:flex;flex-direction:column;align-items:stretch}.berge-global-cta__actions .berge-button{width:100%;box-sizing:border-box}}

.berge-mobile-actions a.bh-mobile-line{background:#06c755;color:#003719;text-decoration:none}
