/* sinsen2: service items — image full-width below text (match process style) */
#services section { display: block; margin-bottom: 1.4em; }
#services section .image { display: block; width: 100%; margin-top: 0.8em; }
#services section .image img { width: 100% !important; height: auto !important; object-fit: cover !important; max-height: 380px; border-radius: 4px; }
/* process / intro main image fit */
#process .image.main img, #intro .image.main img { max-width: 100% !important; }

/* sinsen2: lighten dark layers */
#bg:before {
    background-image: linear-gradient(to top, rgba(19, 21, 25, 0.22), rgba(19, 21, 25, 0.22)), url("../../images/overlay.png") !important;
}
#main article { background-color: rgba(27, 31, 34, 0.55) !important; }

/* sinsen2: font size tweaks */
#header h1 { font-size: 42px !important; font-weight: 400 !important; }
#header .content p { font-size: 16px !important; }
#header nav ul li a { font-size: 16px !important; }
#main h2 { font-size: 28px !important; }
#main h3 { font-size: 22px !important; }

/* sinsen2: initial state before bg image paints — frosted-glass look, slightly darker than the "About" panel (0.7 vs 0.55) per 昌哥 2026-11-29 */
html, body { background-color: #1b1f22; }
body.is-preload #bg:before { background-color: rgba(27, 31, 34, 0.7) !important; }

/* sinsen2: center + enlarge the C.w logo in the circle */
#header .logo { display: flex; align-items: center; justify-content: center; }
#header .logo img { width: auto !important; height: 60px !important; margin: 0 !important; }

/* sinsen2: footer fine print larger + brighter */
#footer .copyright { font-size: 14px !important; opacity: 1 !important; font-weight: 400 !important; }

/* sinsen2: contact form labels + submit/reset buttons — template locked these at 0.8rem (12.8px), bump to 16px to match input text (PC; mobile block below already 16px) */
#contact .field label, #contact .actions input { font-size: 16px !important; }

/* sinsen2: text shadow on bright bg for legibility */
#header .content p { text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
#footer .copyright { text-shadow: 0 1px 4px rgba(0,0,0,0.55); }

/* sinsen2: mobile — smaller, centered logo in the 4.75rem circle */
@media screen and (max-width: 736px) {
  #header .logo { width: 4.75rem; height: 4.75rem; display: flex; align-items: center; justify-content: center; }
  #header .logo img { height: 40px !important; }
}

/* sinsen2: mobile — bump header subtitle + nav one step (PC unchanged); footer row untouched (昌哥 2026-11-29) */
@media screen and (max-width: 736px) {
  #header .content p { font-size: 18px !important; }
  #header nav ul li a { font-size: 18px !important; }
}

/* sinsen2: mobile — bump inner-page h3 + body text one step (PC unchanged) (昌哥 2026-11-29) */
@media screen and (max-width: 736px) {
  #main h2 { font-size: 34px !important; }
  #main h3 { font-size: 26px !important; }
  #main p, #main li, #main dt, #main dd, #main summary { font-size: 17px !important; }
  #contact .field label, #contact input, #contact textarea { font-size: 17px !important; }
  #contact .actions input { font-size: 17px !important; }
}
