@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ
Version: 1.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/

License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/


/* MONCH07 integrated image logo */
body #header .c-headLogo,
body #fix_header .c-headLogo {
  width: 225px !important;
  min-width: 225px !important;
  flex: 0 0 225px !important;
}
body #header .c-headLogo__link,
body #fix_header .c-headLogo__link {
  display: block !important;
  width: 225px !important;
  min-width: 225px !important;
  height: 48px !important;
  background: transparent url("https://system.monch07.com/wp-content/uploads/2026/08/monch07-header-logo.png") no-repeat left center / contain !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}
body #header .c-headLogo__link::before, body #header .c-headLogo__link::after,
body #fix_header .c-headLogo__link::before, body #fix_header .c-headLogo__link::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 781px) {
  body #header .c-headLogo, body #fix_header .c-headLogo,
  body #header .c-headLogo__link, body #fix_header .c-headLogo__link {
    width: 185px !important;
    min-width: 185px !important;
    flex-basis: 185px !important;
  }
  body #header .c-headLogo__link, body #fix_header .c-headLogo__link { height: 40px !important; }
}


/* Keep video controls clear of the primary CTA */
body .mon-video-toggle {
  left: auto !important;
  right: 6vw !important;
}
body .mon-scroll-cue {
  right: 2vw !important;
}
@media (max-width: 781px) {
  body .mon-video-toggle {
    left: auto !important;
    right: 24px !important;
    bottom: 18px !important;
  }
  body .mon-scroll-cue { display: none !important; }
}


/* Normalize service-section heading spacing */
body #services > .wp-block-group__inner-container > p:first-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body #services > .wp-block-group__inner-container > h2.wp-block-heading {
  margin-top: 32px !important;
  margin-bottom: 48px !important;
}


/* Compact service-section spacing on phones */
@media (max-width: 781px) {
  body #services {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }
  body #services > .wp-block-group__inner-container > p:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  body #services > .wp-block-group__inner-container > h2.wp-block-heading {
    margin-top: 24px !important;
    margin-bottom: 32px !important;
  }
}


/* Keep the desktop fixed header consistent with the image logo */
@media (min-width: 782px) {
  body #fix_header {
    background: #0b1f1c !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  body #fix_header .l-fixHeader__inner,
  body #fix_header .l-fixHeader__logo {
    height: 64px !important;
    min-height: 64px !important;
    align-items: center !important;
  }
  body #fix_header .l-fixHeader__logo { display: flex !important; }
  body #fix_header .c-gnav,
  body #fix_header .c-gnav > li > a { height: 64px !important; }
  body #fix_header .c-gnav a { color: #fff !important; }
}


/* Fixed-header surface and clipping correction */
@media (min-width: 782px) {
  body #fix_header {
    height: 64px !important;
    min-height: 64px !important;
    overflow: visible !important;
    background: #0b1f1c !important;
  }
  body #fix_header .l-fixHeader__inner {
    height: 64px !important;
    min-height: 64px !important;
    background: #0b1f1c !important;
  }
  body #fix_header .l-fixHeader__logo,
  body #fix_header .c-headLogo {
    height: 64px !important;
    overflow: visible !important;
  }
  body #fix_header .c-headLogo__link {
    width: 206px !important;
    min-width: 206px !important;
    height: 44px !important;
  }
}


/* Compact process-to-about spacing on phones */
@media (max-width: 781px) {
  body #process { padding-bottom: 40px !important; }
  body #about {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }
  body #about .wp-block-column:first-child > p:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  body #about .wp-block-column:first-child > h2.wp-block-heading {
    margin-top: 24px !important;
    margin-bottom: 28px !important;
  }
}


/* Keep the main services heading proportional */
body #services > .wp-block-group__inner-container > h2.wp-block-heading {
  font-size: clamp(34px, 3.6vw, 48px) !important;
  line-height: 1.35 !important;
  padding: 30px 40px !important;
}
@media (max-width: 781px) {
  body #services > .wp-block-group__inner-container > h2.wp-block-heading {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.45 !important;
    padding: 22px 24px !important;
  }
}


/* Unified eyebrow + heading-band system */
body #services > .wp-block-group__inner-container > p:first-child,
body #project .wp-block-column:first-child > p:first-child,
body #about .wp-block-column:first-child > p:first-child {
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: .14em !important;
  margin: 0 !important;
}
body #services > .wp-block-group__inner-container > h2.wp-block-heading,
body #project .wp-block-column:first-child > h2.wp-block-heading,
body #about .wp-block-column:first-child > h2.wp-block-heading {
  font-size: clamp(30px, 2.3vw, 36px) !important;
  line-height: 1.45 !important;
  padding: 24px 32px !important;
  margin-top: 28px !important;
  margin-bottom: 36px !important;
  text-wrap: balance;
}
@media (max-width: 781px) {
  body #services > .wp-block-group__inner-container > h2.wp-block-heading,
  body #project .wp-block-column:first-child > h2.wp-block-heading,
  body #about .wp-block-column:first-child > h2.wp-block-heading {
    font-size: clamp(25px, 7.2vw, 28px) !important;
    line-height: 1.5 !important;
    padding: 20px 22px !important;
    margin-top: 22px !important;
    margin-bottom: 28px !important;
  }
}


/* Align primary section headers to the full content width */
@media (min-width: 782px) {
  body #project .wp-block-columns,
  body #about .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 30px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }
  body #project .wp-block-column:first-child,
  body #about .wp-block-column:first-child {
    display: contents !important;
  }
  body #project .wp-block-column:first-child > p:first-child,
  body #about .wp-block-column:first-child > p:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  body #project .wp-block-column:first-child > h2.wp-block-heading,
  body #about .wp-block-column:first-child > h2.wp-block-heading {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
  }
  body #project .wp-block-column:first-child > p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0 !important;
  }
  body #project .wp-block-column:first-child > p:nth-of-type(3) {
    grid-column: 1;
    grid-row: 4;
  }
  body #project .wp-block-column:nth-child(2) {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin: 0 !important;
  }
  body #about .wp-block-column:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 3;
    width: min(100%, 860px);
    margin: 0 !important;
  }
  body #about .wp-block-column:nth-child(2) > p:first-child {
    margin-top: 0 !important;
  }
}


/* Match PROJECT and ABOUT to the SERVICES content rails */
@media (min-width: 782px) {
  body #project > .wp-block-group__inner-container,
  body #about > .wp-block-group__inner-container {
    width: min(calc(100% - 48px), 1068px) !important;
    max-width: 1068px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Refined cinematic hero treatment */
body .mon-hero > .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(2, 17, 16, .74) 0%, rgba(4, 31, 29, .48) 42%, rgba(5, 48, 49, .30) 100%) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}
body .mon-hero > video.wp-block-cover__video-background {
  filter: brightness(.92) saturate(.82) contrast(1.06) hue-rotate(5deg) !important;
}
body .mon-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(rgba(220, 255, 245, .18) .55px, transparent .75px);
  background-size: 3px 3px;
  opacity: .20;
  mix-blend-mode: soft-light;
}
body .mon-hero > .wp-block-cover__inner-container {
  position: relative;
  z-index: 3 !important;
}
body .mon-scroll-cue {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 24px !important;
  width: 92px;
  height: 54px;
  margin: 0 !important;
  padding: 0 0 1px !important;
  transform: translateX(-50%) !important;
  writing-mode: horizontal-tb !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
  text-align: center !important;
  cursor: pointer;
  opacity: .92 !important;
  z-index: 5 !important;
  transition: color .25s ease, opacity .25s ease;
}
body .mon-scroll-cue::before,
body .mon-scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border-right: 1.5px solid #d8ff2f;
  border-bottom: 1.5px solid #d8ff2f;
  transform: translateX(-50%) rotate(45deg);
  animation: mon-scroll-arrow 1.8s ease-in-out infinite;
}
body .mon-scroll-cue::before { top: 3px; }
body .mon-scroll-cue::after { top: 11px; animation-delay: .16s; opacity: .55; }
body .mon-scroll-cue:hover,
body .mon-scroll-cue:focus-visible {
  color: #d8ff2f !important;
  opacity: 1 !important;
  outline: none;
}
body .mon-scroll-cue:focus-visible {
  box-shadow: 0 0 0 1px rgba(216,255,47,.75);
}
@keyframes mon-scroll-arrow {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .35; }
  45% { transform: translate(-50%, 5px) rotate(45deg); opacity: 1; }
}
@media (max-width: 781px) {
  body .mon-scroll-cue {
    display: flex !important;
    bottom: 16px !important;
    width: 84px;
    height: 50px;
    font-size: 10px !important;
  }
}
@media (min-width: 782px) {
  body #about .wp-block-column:first-child > h2.wp-block-heading br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .mon-scroll-cue::before,
  body .mon-scroll-cue::after { animation: none; }
}


/* Stack the scroll chevrons above the label */
body .mon-scroll-cue {
  flex-direction: column !important;
  justify-content: flex-end !important;
}


/* Prevent mobile hero controls from competing for the same space */
body:has(#mon-cookie-consent:not([hidden])) .mon-scroll-cue {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 781px) {
  body .mon-hero > .mon-scroll-cue {
    left: 50% !important;
    right: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }
}


/* SERVICES statement: one line on desktop, semantic two lines on phones */
body #services .mon-services-mobile-break {
  display: none;
}
@media (max-width: 781px) {
  body #services .mon-services-mobile-break {
    display: block;
  }
}


/* Keep the hero statement on two intentional lines on phones */
@media (max-width: 781px) {
  body .mon-hero h1.wp-block-heading {
    font-size: clamp(29px, 8.7vw, 34px) !important;
    line-height: 1.35 !important;
    white-space: nowrap;
  }
}


/* Keep the contact message field compact on phones */
@media (max-width: 781px) {
  body #contact textarea[name="your-message"] {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 260px;
    resize: vertical;
  }
}


/* Keep the hero and SCROLL inside the visible viewport */
body .mon-hero {
  height: 100svh !important;
  min-height: 100svh !important;
}
body.logged-in .mon-hero {
  height: calc(100svh - 32px) !important;
  min-height: calc(100svh - 32px) !important;
}
@media (max-width: 782px) {
  body.logged-in .mon-hero {
    height: calc(100svh - 46px) !important;
    min-height: calc(100svh - 46px) !important;
  }
}


/* WordPress removes its login body class here, so detect the admin bar itself */
body:has(#wpadminbar) .mon-hero {
  height: calc(100svh - 32px) !important;
  min-height: calc(100svh - 32px) !important;
}
@media (max-width: 782px) {
  body:has(#wpadminbar) .mon-hero {
    height: calc(100svh - 46px) !important;
    min-height: calc(100svh - 46px) !important;
  }
}


/* Separate the mobile SCROLL arrows from the label */
@media (max-width: 781px) {
  body .mon-scroll-cue::before { top: -4px; }
  body .mon-scroll-cue::after { top: 4px; }
}


/* Tighten the web-service label-to-title gap on phones */
@media (max-width: 781px) {
  body .mon-web-service h3.wp-block-heading {
    margin-top: 28px !important;
  }
}


/* Scale the hero subtly on wide screens */
@media (min-width: 1800px) {
  body .mon-hero .wp-block-cover__inner-container > p:first-child {
    font-size: 13.5px !important;
  }
  body .mon-hero h1.wp-block-heading {
    font-size: 90px !important;
    line-height: 1.16 !important;
  }
  body .mon-hero p.is-style-default {
    font-size: 18px !important;
    line-height: 2 !important;
  }
  body .mon-hero .wp-block-button__link {
    font-size: 17px !important;
    padding: 18px 32px !important;
  }
  body #header .c-headLogo__link {
    transform: scale(1.06);
    transform-origin: left center;
  }
  body #header .c-gnav a {
    font-size: 16px !important;
  }
  body .mon-scroll-cue {
    width: 100px;
    height: 58px;
    font-size: 12px !important;
  }
}


/* Align the PROJECT top spacing with other mobile sections */
@media (max-width: 781px) {
  body #project {
    padding-top: 48px !important;
  }
}


/* Repair the web-service desktop title without changing the shared content rail */
@media (min-width: 1200px) {
  body .mon-web-service h3.wp-block-heading {
    margin-top: 64px !important;
    font-size: clamp(29px, 2.4vw, 42px) !important;
    line-height: 1.35 !important;
    white-space: nowrap;
  }
  body .mon-web-service h3.wp-block-heading br {
    display: none;
  }
}

/* Keep the desktop contact message field compact */
@media (min-width: 782px) {
  body #contact textarea[name="your-message"] {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 420px;
    resize: vertical;
  }
}


/* Full-width case study page (page ID 73) */
#body_wrap.id_73 #content {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
#body_wrap.id_73 #main_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
#body_wrap.id_73 .c-pageTitle {
  display: none !important;
}
#body_wrap.id_73 .post_content {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}
#body_wrap.id_73 .post_content > .wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 781px) {
  #body_wrap.id_73 .wp-block-group.alignfull {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }
}


/* Restore the intentional two-line web-service title on desktop */
@media (min-width: 1200px) {
  body .mon-web-service h3.wp-block-heading {
    margin-top: 64px !important;
    font-size: clamp(36px, 2.8vw, 42px) !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    max-width: 100%;
  }
  body .mon-web-service h3.wp-block-heading br {
    display: initial !important;
  }
}


/* Homepage detail alignment pass */
/* Equal-height service cards within each two-column row */
#services .wp-block-columns > .wp-block-column {
  display: flex;
}
#services .wp-block-columns > .wp-block-column > .wp-block-group.has-border-color {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Use a clear top-to-bottom reading order for website production */
@media (min-width: 1200px) {
  body .mon-web-service .wp-block-columns {
    display: block !important;
  }
  body .mon-web-service .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
  }
  body .mon-web-service h3.wp-block-heading {
    margin-top: 30px !important;
    font-size: clamp(36px, 2.8vw, 42px) !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }
  body .mon-web-service .wp-block-column + .wp-block-column {
    margin-top: 28px !important;
  }
  body .mon-web-service .wp-block-column:last-child > p {
    max-width: 980px;
    margin: 0 !important;
    text-wrap: pretty;
  }
}

/* Keep the ABOUT copy in one readable text rail on desktop */
@media (min-width: 782px) {
  body #about .wp-block-columns {
    display: block !important;
  }
  body #about .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
  }
  body #about .wp-block-column + .wp-block-column {
    margin-top: 32px !important;
  }
  body #about .wp-block-column:last-child > p {
    max-width: 980px;
    margin: 0 !important;
    text-wrap: pretty;
  }
}

/* WP Armour's English test panel is admin-only; hide the panel without disabling honeypot protection */
.wpa-test-msg {
  display: none !important;
}


/* Keep the website-service title on one line on desktop; retain the authored break on phones */
@media (min-width: 1200px) {
  body .mon-web-service h3.wp-block-heading br {
    display: none !important;
  }
}


/* Restore the WP Armour administrator test panel */
.wpa-test-msg {
  display: block !important;
}


/* Restrict service-card flex behavior to the four bordered cards */
#services .wp-block-columns > .wp-block-column {
  display: block;
}
#services > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column {
  display: flex;
}

/* Restore a single vertical reading flow for the website-service panel on phones */
@media (max-width: 781px) {
  body .mon-web-service .wp-block-columns,
  body .mon-web-service .wp-block-column {
    display: block !important;
    width: 100% !important;
    flex-basis: auto !important;
  }
  body .mon-web-service .wp-block-column + .wp-block-column {
    margin-top: 28px !important;
  }
  body .mon-web-service h3.wp-block-heading {
    margin-top: 24px !important;
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }
  body .mon-web-service .wp-block-buttons,
  body .mon-web-service .wp-block-button {
    display: block !important;
    width: auto !important;
  }
  body .mon-web-service .wp-block-button__link {
    display: inline-block !important;
    width: auto !important;
    max-width: 100%;
    padding: 14px 18px !important;
    white-space: normal;
  }
}


/* Ensure every case-study section band has readable white text */
#body_wrap.id_73 .post_content h2.wp-block-heading {
  color: #fff !important;
}
