:root{
  --main-green:#2F7D32;
  --dark-green:#1F5A22;
  --text:#222;
  --muted:#666;
  --border:#ddd;
  --bg:#fff;
}
*{ box-sizing:border-box; }
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Noto Sans JP","Helvetica Neue",Arial,sans-serif;
  margin:0;
  color:var(--text);
  background:var(--bg);
  line-height:1.85;
}
.container{ max-width:980px; margin:0 auto; padding:0 18px; }
header{
  border-bottom:3px solid var(--main-green);
  padding:20px 0 14px;
}
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ width:110px; height:auto; }
.brand h1{ margin:0; font-size:26px; letter-spacing:0.3px; }
.brand .tagline{ margin-top:4px; color:var(--muted); font-size:14px; }
nav{ margin-top:14px; display:flex; gap:16px; flex-wrap:wrap; }
nav a{
  text-decoration:none;
  color:var(--dark-green);
  font-weight:800;
  padding:6px 0;
}
nav a[aria-current="page"]{ text-decoration:underline; }
nav a:hover{ text-decoration:underline; }
main{ padding:28px 0 8px; }
.kv{
  margin-top:14px;
  padding:16px 16px;
  border:1px solid var(--border);
  border-radius:14px;
}
h2{
  margin:40px 0 12px;
  border-left:6px solid var(--main-green);
  padding-left:10px;
  font-size:18px;
}
.card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  background:#fff;
}
small.note{ display:block; margin-top:10px; color:var(--muted); }
ul{ margin:10px 0 0 18px; }
li{ margin:6px 0; }
.button{
  display:inline-block;
  border:2px solid var(--main-green);
  color:var(--dark-green);
  font-weight:900;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
}
.button:hover{ background:var(--main-green); color:#fff; }
label{ font-weight:800; }
input, textarea{
  width:100%;
  padding:10px;
  margin-top:6px;
  margin-bottom:14px;
  border:1px solid var(--border);
  border-radius:10px;
  font:inherit;
}
footer{
  margin-top:70px;
  padding:22px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:14px;
}
hr.sep{ border:none; border-top:1px solid var(--border); margin:18px 0; }
pre.plain{
  white-space:pre-wrap;
  word-break:break-word;
  margin:0;
  font-family:inherit;
}


/* Home enhancements */
.grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.tile img{
  width:100%;
  max-width:180px;
  height:auto;
  display:block;
  margin:0 auto 10px;
}
.tile h3{
  margin:6px 0 8px;
  font-size:16px;
}
.kv h2{ margin:10px 0 10px; font-size:22px; }

/* ---- Service text height alignment (minimal adjustment) ---- */
.service-equalize{
  display:flex;
  gap:16px;
}
.service-equalize > div{
  flex:1;
  display:flex;
  flex-direction:column;
}
.service-equalize h3{
  min-height:3em;   /* unify title height */
  line-height:1.5;
}
.service-equalize p{
  flex-grow:1;      /* equalize body height */
}
@media (max-width:820px){
  .service-equalize{
    flex-direction:column;
  }
}


/* ---- Home service cards: align image + text heights ---- */
.card.tile {
  display:flex;
  flex-direction:column;
  height:100%;
}
.card.tile img {
  display:block;
  width:72px;
  height: 88px;            /* unify image height */
  object-fit:contain;
  margin-bottom:8px;
}
.card.tile h3 {
  margin:0 0 10px;
  min-height:3em;         /* unify title height (2 lines) */
  line-height:1.5;
}
.card.tile p {
  margin:0;
  flex-grow:1;            /* equalize body height */
}



/* ---- Forest background (subtle photographic) ---- */
header{
  position:relative;
  background-image: url("forest_bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

header::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.75); /* controls strength */
}

header .container{
  position:relative;
  z-index:1;
}

footer{
  position:relative;
  background-image: url("forest_bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.80); /* slightly stronger fade */
}

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


/* --- A mode refinement: sharper header --- */
header .container{
  padding-top:18px;
  padding-bottom:18px;
}

/* lighter overall typography feel */
body{
  letter-spacing:0.02em;
}

/* reduce card shadow for cleaner look */
.card{
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* more whitespace between sections */
main h2{
  margin-top:60px;
}

/* --- Service card spacing refinement --- */
.grid{
  gap:24px;
}

/* --- Tent logo blending --- */
header img{
  height:64px;
  width:auto;
  border-radius:18px;            /* soften square edge */
  padding:6px;
  background:rgba(255,255,255,0.6);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* remove harsh edges on small screens */
@media (max-width:820px){
  header img{
    height:54px;
  }
}

