:root {
  --gold: #c9a55b;
  --light-gold: #e6d3a3;
  --gold-brown: #c29f59;
  --brown: #2c1f1a;
  --navy: #00367f;
}

body {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
  color: #333;
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
  font-family: 'Noto Serif JP', serif;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: 0.08em;
  color : var(--brown);
}

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

.uk-list-primary>::marker{color:var(--light-gold)!important}
.uk-table th {background: rgba(201,165,91,0.2); color: var(--brown); font-weight: bold;vertical-align:middle;font-size:1rem;text-transform:none;}
.uk-table {background: #fff; border: 1px solid var(--light-gold);}
.uk-table-divider tr:not(:first-child) {border-top: 1px solid var(--light-gold)!important;}
.uk-background-muted {background: #f3f1ec!important;}

.uk-heading-bullet::before{border-left:calc(5px + .1em) solid var(--gold);}

.heading_dataword {
  position: relative;
  margin-bottom: 3.5rem;
  text-align: center;
  color : var(--brown);
}
.heading_dataword::before {
  position: absolute;
  top: -.6em;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(201,165,91,0.2);
  font-size: 1.5em;
  content: attr(data-word);
  z-index: -1;
}

.heading_line {
  font-weight: bold;
  border-bottom: 3px solid rgba(201,165,91,0.2);
  padding: 0.3em;
  margin-bottom: 0.3em;
  position: relative;
}
.heading_line::after {
  content: '';
  background-color: #c9a55b;
  width: 2em;
  height: 3px;
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: 1;
}
/* nav */
.uk-navbar-container {
  padding: 0 1em;
  top: 0;
  z-index: 1000;
  background: transparent!important;
  transition: all 0.3s ease;
  border-bottom: 2px solid rgba(201,165,91,0.2);
}

.uk-navbar-nav > li > a {
  color: #222;
}

.uk-navbar-nav > li > a:hover {
  color: var(--gold);
}
li.uk-active a {
  color: var(--gold)!important;
  font-weight: bolder;
}

.uk-sticky-below.uk-navbar-container {
  background: rgba(255,255,255,0.8)!important;
  backdrop-filter: blur(6px);
}

.uk-navbar-item img {height: 50px;}

#offcanvas-nav .uk-offcanvas-bar {
  background:
    linear-gradient(rgba(30,20,15,0.3), rgba(30,20,15,0.75)),
    url("../img/footerbg.png");

  background-size: cover;
  background-position: center;
  color: #fff;
  font-weight: bold;
  padding: 1em;
  border-top: 5px solid rgba(201,165,91,0.4);
}
.uk-nav-default > li > a {
  color: #fff!important;
}

.uk-nav-default > li > a:active {
  color: var(--gold);
}

/* hero */
.hero {
  background:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.5)),
    url("../img/pattern.png"),
    url("../img/hero.png");

  background-size: cover, 300px, cover;
  background-repeat: no-repeat, repeat, no-repeat;
  background-position: center, center, center;
  border-bottom: 2px solid rgba(201,165,91,0.1);
}

.hero-overlay {
  background: rgba(255,255,255,0.0);
  width: 100%;
  padding: 100px 20px;
}

.hero-logo {
  width: 100%;
  max-width: 650px;
  margin: 10px auto;
  opacity: 0;
  animation: fadeUp 1.5s ease forwards;
}

.hero-lead {
  color: var(--navy);
  margin-top: 15px;
  font-size: 1.3em;
  font-weight: 800;
  background: linear-gradient(90deg,rgba(255 255 255/0) 0%, rgba(211 237 251/1) 50%, rgba(255 255 255/0) 100%);
}

.hero-logo-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto 20px;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.5s ease forwards;
}

@media (max-width: 640px) {

  .hero-logo-img {
    max-width: 90%;
  }

}

.breadcrumb {background: #f7f2e4; margin: 0; padding: .5em 1em;}
.uk-breadcrumb{margin: 0;}

/* section */
.concept-section {
  background:
	  linear-gradient(rgba(255,255,255,0.9), rgba(250,250,250,0.9)),
	  url("../img/pattern-dna.png");
  background-repeat:repeat;
  border-top: 1px solid rgba(201,165,91,0.2);
}

.concept-block {
  margin-bottom: 40px;
}

.concept-title {
  color: var(--brown);
  position: relative;
  text-align: center!important;
}

.concept-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 8px auto 0;
}

.concept-text {
  margin-top: 15px;
  font-size: 1rem;
  line-height: 1.8;
}

.image {
  border-radius: 10px;
}


/* contact */
.contact-section {
}

.contact-card {
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f2ebdd 100%
  );
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  text-align: left;
  border-bottom: 3px solid rgba(201,165,91,0.2);
}

.contact-card h3 {
  margin-bottom: 8px;
  color: var(--brown);
}

.contact-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* ホバー */
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);

  background: linear-gradient(
    135deg,
    #fffdf7 0%,
    #e7dbc0 100%
  );
  color: var(--navy);
}

.uk-button-default.btn {
	background-color: rgba(230 211 163/0.5);
    border: 1px solid var(--gold);
    color: var(--brown);
	margin: .5em;
	padding: .5em 1em;
	font-size: 1.2em;
}
.uk-button-default.btn:hover{
    background: var(--gold);
    color: #fff!important;
	border-color:var(--light-gold);
	font-weight: bolder;
}
.uk-button-default.btn.uk-active,.uk-button-default.btn:active{
	background-color:--gold;
	color:#fff;
	border-color:var(--light-gold);
}



/* nav-list */
.custom-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom-nav-list a {
  display: block;
  padding: 15px 20px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  background-color: rgba(230 211 163/0.5); 
  border-radius: 8px; 
  transition: all 0.2s ease-in-out;
}

.custom-nav-list a:hover {
  background-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(230 211 163/0.15); 
}


/* news */
.news {
  margin: 1em 1em 3em;
  padding: 1.5em;
  max-height: 12em;
  overflow-y: auto;
}
.news li {
  margin: 1em 0.5em 1em;
  padding: .5em 0 0;
}
.news li:first-child {
  background: none;
}
.news li .date {
  display: inline-block;
  width: 8.5em;
}
.nlabel {
  width: 6em;
  text-align: center;
  display: inline-block;
  font-size: 0.9rem;
  padding: 5px 5px;
  line-height: 1;
  background: #ea8562;
  color: #fff;
  border-radius: 3px;
  vertical-align: top;
  margin: 0 0 0 1em;
}
.nlabel-news {
  background: #6da99d;
}
.nlabel-warning {
  background: #fb9d42;
}
.news li .title {
  display: inline-block;
  vertical-align: top;
  line-height: 1.5;
  flex: 1;
}
.news li .title, .news_sub li .title {
  font-size: 1.6rem;
}

/* footer */
.footer {
  background:
    linear-gradient(rgba(30,20,15,0.6), rgba(30,20,15,0.95)),
    url("../img/footerbg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(201,165,91,0.4);
}

.footer-title {
  color: var(--gold);
  margin-bottom: .5em;
  font-size: 1.2rem;
}

.footer-text {
  margin: .5em 1.5em 1.5em 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.footer-note {
  font-size: 0.85rem;
  color: #eee;
  margin-top: 10px;
}

.footer .uk-container {
  position: relative;
  z-index: 2;
}

.uk-button-default.footer-btn {
	background-color: rgba(201,165,91,0.2);
    margin-top: 10px;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.uk-button-default.footer-btn:hover{
    background: var(--brown);
    color: var(--light-gold);
	border-color:var(--light-gold);
	font-weight: bolder;
}
.uk-button-default.footer-btn.uk-active,.uk-button-default.footer-btn:active{
	background-color:--gold;
	color:#fff;
	border-color:var(--light-gold);
}

.map iframe {
  border-radius: 8px;
  margin-top: 10px;
}

.footer-line {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 40px 0 20px;
}

.copyright {
  font-size: 0.8rem;
  color: #eee;
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0;
  }
}

/* ==============================
   Free Consultation Switcher
============================== */

.free-consultation-switch {
  position: relative;
  overflow: hidden;
}

.free-consultation-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.free-consultation-switch .uk-container {
  position: relative;
  z-index: 1;
}

.section-label {
  margin-bottom: 12px;
  color: #b59658;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.section-title {
  margin: 0;
  color: #3b3027;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.45;
}

.section-lead {
  margin-top: 20px;
  color: #6d6258;
  font-size: 16px;
  line-height: 1.9;
}

/* switch button */
.consultation-switch-wrap {
  position: relative;
}

.consultation-switch {
  display: inline-flex;
  gap: 0;
  padding: 6px;
  margin: 0;
  border: 1px solid rgba(201, 169, 110, 0.36);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(72, 54, 34, 0.08);
  backdrop-filter: blur(8px);
}

.consultation-switch.uk-subnav > * {
  padding-left: 0;
}

.consultation-switch.uk-subnav-pill > li > a {
  min-width: 180px;
  padding: 13px 26px;
  border-radius: 999px;
  color: #fff!important;
  background:  var(--light-gold);
  text-align: center!important;
  transition: all 0.25s ease;
  text-transform: none;
  display: block;
}

.consultation-switch.uk-subnav-pill > li > a:hover {
  color: #4a3c30!important;
  background: var(--light-gold);
}

.consultation-switch.uk-subnav-pill > .uk-active > a {
  color: #fff;
  background: linear-gradient(135deg, #a9823f 0%, #d6b46f 52%, #b38b45 100%);
  box-shadow: 0 8px 22px rgba(169, 130, 63, 0.26);
}

.switch-main {
  display: block;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.4;
}

.switch-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* content panel */
.consultation-switcher-content {
  margin-top: 32px;
}

.consultation-panel {
  border: 1px solid rgba(201, 169, 110, 0.25);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(72, 54, 34, 0.1);
  overflow: hidden;
}

.consultation-panel .uk-card-body {
  padding: clamp(28px, 5vw, 56px);
}

.panel-kicker {
  margin-bottom: 12px;
  color: #b59658;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
}

.panel-title {
  margin: 0 0 18px;
  color: #3b3027;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.5;
}

.panel-text {
  color: #62584f;
  font-size: 16px;
  line-height: 1.95;
}

.consultation-points {
  margin-top: 26px;
}

.consultation-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d443c;
  font-size: 15px;
  line-height: 1.8;
}

.consultation-points .uk-icon {
  margin-top: 4px;
  color: #b59658;
  flex: 0 0 auto;
}

/* CTA box */
.consultation-cta-box {
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(250, 247, 240, 0.95), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(201, 169, 110, 0.28);
  text-align: center;
}

.cta-label {
  margin-bottom: 18px;
  color: #4a3c30;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.consultation-button {
  width: 100%;
  padding: 0 18px;
  min-height: 52px;
  line-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f6b35 0%, #c9a96e 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(143, 107, 53, 0.24);
}

.consultation-button:hover {
  background: linear-gradient(135deg, #7d5d2d 0%, #b99658 100%);
  color: #fff;
}

.cta-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: #7a6b5d;
  font-size: 13px;
  line-height: 1.7;
}

/* responsive */
@media (max-width: 640px) {
  .consultation-switch {
    width: 100%;
  }

  .consultation-switch.uk-subnav-pill > li {
    width: 50%;
  }

  .consultation-switch.uk-subnav-pill > li > a {
    min-width: auto;
    width: 100%;
    padding: 11px 8px;
    box-sizing: border-box;
  }

  .switch-main {
    font-size: 14px;
  }

  .switch-sub {
    font-size: 10px;
  }

  .consultation-panel .uk-card-body {
    padding: 26px 20px;
  }

  .consultation-cta-box {
    margin-top: 8px;
    padding: 22px 18px;
  }
}


/* ======================
   ToTopボタン
====================== */
.totop-btn {
  position: fixed;
  right: 20px;
  bottom: 100px; /* CTAより上 */

  width: 44px;
  height: 44px;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3ede2 100%
  );

  border: 1px solid #d8c8a0;
  color: #8a6b2d;

  box-shadow: 0 4px 12px rgba(0,0,0,0.12);

  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.totop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}


/* ======================
   固定CTA
====================== */
.fixed-cta {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 1000;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 18px;

  background: linear-gradient(
    135deg,
    #caa85a 0%,
    #b89545 100%
  );

  color: #fff;
  text-decoration: none;

  border-radius: 30px;
  font-size: 14px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.2);

  transition: all 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 640px) {

  .hero {
    height: auto;
    padding: 10px 0;
  }

  .hero-logo {
    max-width: 90%;
  }

  .hero-logo text {
    font-size: 20px;
    letter-spacing: 0.1em;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .uk-section {
    padding: 40px 0;
  }

  .card {
    padding: 20px;
  }

  .cta-fixed {
    right: 15px;
    bottom: 15px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

/* ===== Scroll Animation ===== */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: 
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

@media (min-width: 768px) {
  .fade-up.show {
    transition: 
      opacity 1.1s ease,
      transform 1.1s ease,
      filter 1.1s ease;
  }
}


/* blink */
.blink {
  -webkit-animation: blink 1.5s ease-in-out infinite alternate;
  -moz-animation: blink 1.5s ease-in-out infinite alternate;
  animation: blink 1.5s ease-in-out infinite alternate;
  background-color: #5db2fc !important;
}
@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.uk-badge.blink {
  background: #00a2e5;
  font-size: .65rem;
  font-weight: bolder;
  padding: .25rem .5rem;
}

