/* Variables — GMO Office pattern */
:root {
  --primary: #3075b7;
  --primary-dark: #005bac;
  --primary-light: #e8f4fd;
  --text: #3b414a;
  --text-sub: #666;
  --light: #f6f9f9;
  --border: #e0e6ed;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --transition: .3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Roboto, "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .75; }
table { width: 100%; border-collapse: collapse; }

/* Layout */
.container { width: 90%; max-width: 1280px; margin: 0 auto; }
.section { padding: 80px 0; scroll-margin-top: 100px; }
.section-gray { background-color: var(--light); }

/* Section Head */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en {
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 900;
}
.section-head h2 {
  font-size: 48px;
  font-weight: 900;
  margin-top: 6px;
  line-height: 1.3;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255,255,255,.97);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
  overflow-x: hidden;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100px;
}
.header-logo { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif; }

/* Sub Nav (anchor links next to logo) */
.gnav-sub {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin-left: 20px;
}
.gnav-sub a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: .5px;
  line-height: 1.2;
}
.gnav-sub a:hover { opacity: .7; }
.header-logo-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .5px;
  line-height: 1.2;
}
.header-logo-sub {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-sub);
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 2px;
}
.gnav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}
.gnav-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}
.gnav-list a:hover { color: var(--primary); opacity: 1; }
.gnav-page { font-weight: 700; }
.gnav-en {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .5;
  font-weight: 400;
  margin-top: 2px;
}
.gnav-cta {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: all var(--transition);
}
.gnav-cta:hover {
  background-color: var(--primary-dark) !important;
  opacity: 1 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background-color: var(--primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
  position: absolute;
  left: 10px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Main offset */
.site-main { padding-top: 72px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: .5px;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(48,117,183,.25);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(48,117,183,.3);
  transform: translateY(-1px);
  opacity: 1;
}
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  opacity: 1;
}
.btn-white {
  background-color: var(--white);
  color: var(--primary) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.btn-white:hover {
  background-color: var(--primary-light);
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transform: translateY(-1px);
  opacity: 1;
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--light);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 8px; }

/* Page KV */
.page-kv {
  background: linear-gradient(135deg, #1a3a5c 0%, var(--primary) 40%, #2980b9 70%, #1a3a5c 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-kv::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  opacity: .07;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,192L48,186.7C96,181,192,171,288,186.7C384,203,480,245,576,245.3C672,245,768,203,864,181.3C960,160,1056,160,1152,176C1248,192,1344,224,1392,240L1440,256L1440,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom / 200% auto,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,256L60,240C120,224,240,192,360,181.3C480,171,600,181,720,197.3C840,213,960,235,1080,229.3C1200,224,1320,192,1380,176L1440,160L1440,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom / 180% auto;
  animation: kvWaveFloat 12s ease-in-out infinite alternate;
}
.page-kv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  opacity: .05;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,96L48,112C96,128,192,160,288,154.7C384,149,480,107,576,101.3C672,96,768,128,864,149.3C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,0L0,0Z'/%3E%3C/svg%3E") no-repeat top / 160% auto;
  animation: kvWaveFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes kvWaveFloat {
  0% { background-position-x: 0%; }
  100% { background-position-x: 50%; }
}
.page-kv > * {
  position: relative;
  z-index: 1;
}
.page-kv-content .en {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.page-kv-content h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin-top: 6px;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}

/* Tables (common) */
.company-table,
.contract-table,
.contact-hours,
.contact-property,
.prop-overview-table {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.company-table table,
.contract-table table,
.contact-hours table,
.contact-property table,
.prop-overview-table table {
  border-top: none;
}
.company-table tr,
.contract-table tr,
.contact-hours tr,
.contact-property tr,
.prop-overview-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table tr:last-child,
.contract-table tr:last-child,
.contact-hours tr:last-child,
.contact-property tr:last-child,
.prop-overview-table tr:last-child {
  border-bottom: none;
}
.company-table th,
.contract-table th,
.contact-hours th,
.contact-property th,
.prop-overview-table th {
  width: 160px;
  padding: 20px 24px;
  background-color: var(--light);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}
.company-table td,
.contract-table td,
.contact-hours td,
.contact-property td,
.prop-overview-table td {
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.8;
}
.contract-table tr.total {
  background-color: var(--primary-light);
}
.contract-table tr.total th,
.contract-table tr.total td {
  background-color: var(--primary-light);
}
.contract-note {
  margin-top: 20px;
  padding: 20px 24px;
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 8px rgba(48,117,183,.08);
}
.contract-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* News List */
.news-list, .news-archive { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item:hover { color: var(--primary); opacity: 1; }
.news-date {
  font-size: 15px;
  color: var(--text-sub);
  white-space: nowrap;
  min-width: 90px;
}
.news-title { font-size: 16px; font-weight: 500; }
.section-more { text-align: center; margin-top: 32px; }
.no-post { text-align: center; color: var(--text-sub); padding: 40px 0; }

/* Gallery */
.gallery-placeholder {
  background-color: var(--light);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius);
}

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; }
.map-address { text-align: center; margin-bottom: 20px; font-size: 15px; }
.map-note { text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-sub); }

/* CTA Wave */
.cta-wave {
  line-height: 0;
  overflow: hidden;
  margin-top: -1px;
}
.section .cta-wave {
  margin-top: 48px;
  margin-bottom: -80px;
  position: relative;
  z-index: 1;
}
.cta-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  padding: 0;
  overflow: hidden;
}
.cta-split {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.cta-photo {
  flex: 0 0 380px;
  position: relative;
  overflow: hidden;
}
.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-content {
  flex: 1;
  padding: 56px 48px;
  color: var(--white) !important;
}
.cta-content h2,
.cta-content h3,
.cta-content p,
.cta-content span,
.cta-content a {
  color: var(--white) !important;
}
.cta-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--white) !important; }
.cta-sub { font-size: 15px; opacity: .85; margin-bottom: 32px; color: var(--white) !important; }
.cta-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cta-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 120px;
}
.cta-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: .7;
}
.cta-step-num {
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
}
.cta-step-text {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}
.cta-step-arrow {
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}
.cta-step-note {
  font-size: 12px;
  opacity: .6;
  margin-bottom: 8px;
}
.cta-step-highlight {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--white);
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  transition: opacity var(--transition);
}
.cta-tel:hover { opacity: .8; }
.cta-hours { font-size: 12px; opacity: .6; }

/* Footer */
.site-footer {
  background-color: var(--light);
  color: var(--text);
  padding: 48px 0 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-info {
  display: flex;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-name-ja { font-size: 12px; }
.footer-detail { font-size: 15px; line-height: 1.9; }
.footer-detail a { color: var(--text-sub); }
.footer-detail a:hover { color: var(--primary); }
.footer-nav { margin-bottom: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.footer-nav a { color: var(--text-sub); font-size: 14px; }
.footer-nav a:hover { color: var(--primary); opacity: 1; }
.footer-copy {
  font-size: 12px;
  text-align: center;
  color: var(--text-sub);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Fixed CTA */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 8px 12px;
  background-color: rgba(255,255,255,.95);
  box-shadow: 0 -2px 8px rgba(0,0,0,.1);
}
.fixed-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  text-align: center;
}
.fixed-cta-btn:hover { background-color: var(--primary-dark); opacity: 1; }

/* Single */
.single-meta { margin-bottom: 12px; }
.single-meta time { font-size: 14px; color: var(--text-sub); }
.single-title { font-size: 24px; font-weight: 700; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--primary); }
.single-body { line-height: 2; font-size: 15px; }
.single-body p { margin-bottom: 1.5em; }
.single-nav { text-align: center; margin-top: 48px; }

/* Pagination */
.pagination { text-align: center; margin-top: 40px; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}
.pagination .page-numbers.current {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SP */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; }

  /* Header SP */
  .header-inner { padding: 0 16px; height: 64px; }
  .header-logo-main { font-size: 13px; letter-spacing: .5px; }
  .header-logo-sub { font-size: 9px; }
  .gnav-sub { display: none; }
  .hamburger { display: block; }
  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -4px 0 16px rgba(0,0,0,.1);
    transition: right var(--transition);
    z-index: 1000;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }
  .gnav.is-open { right: 0; }
  .gnav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .gnav-list li { width: 100%; border-bottom: 1px solid var(--border); }
  .gnav-list a { display: block; padding: 16px 0; font-size: 15px; }
  .gnav-cta {
    margin-top: 16px;
    text-align: center !important;
    display: block !important;
  }
  .gnav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .gnav-overlay.is-visible { opacity: 1; visibility: visible; }

  /* Table SP */
  .company-table th,
  .contract-table th,
  .contact-hours th,
  .contact-property th,
  .prop-overview-table th {
    width: 110px;
    padding: 12px;
    font-size: 13px;
  }
  .company-table td,
  .contract-table td,
  .contact-hours td,
  .contact-property td,
  .prop-overview-table td {
    padding: 12px;
    font-size: 14px;
  }

  /* Footer SP */
  .footer-info { flex-direction: column; gap: 20px; }
  .footer-nav ul { flex-direction: column; gap: 12px; }

  /* Fixed CTA visible on SP */
  .fixed-cta { display: block; width: 100%; max-width: 100vw; box-sizing: border-box; }
  .site-footer { padding-bottom: 80px; }

  /* Page KV SP */
  .page-kv { padding: 40px 0; }
  .page-kv-content h1 { font-size: 22px; }

  /* CTA SP */
  .cta-split { flex-direction: column; }
  .cta-photo { flex: none; }
  .cta-photo img { max-height: 280px; }
  .cta-content { padding: 32px 20px; }
  .cta-title { font-size: 22px; }
  .cta-steps { flex-wrap: wrap; justify-content: center; }
  .cta-step { min-width: 90px; padding: 12px 14px; }
  .cta-step-num { font-size: 22px; }
  .cta-tel { font-size: 28px; }

  /* News SP */
  .news-item { flex-direction: column; gap: 4px; }
}

/* Disclaimer */
.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-sub);
}
.footer-disclaimer p { margin-bottom: 4px; }
.gallery-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-sub);
}
.contact-disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--light);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(0.55, 0, 0.1, 1), transform .6s cubic-bezier(0.55, 0, 0.1, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

/* Button Light Sweep */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s cubic-bezier(0.55, 0, 0.1, 1);
}
.btn:hover::before { left: 100%; }

/* Footer Shimmer */
@keyframes textShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.footer-shimmer {
  background: linear-gradient(90deg, var(--text), var(--primary), var(--text));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s ease-in-out infinite;
}

/* Hero Float */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* heroFloat disabled */
