/* GOtomedia common design. Deliberately scoped: existing page/plugin content is untouched. */
.gtutc-gm {
  --gm-ink:#111; --gm-paper:#fff; --gm-soft:#f3f0ed; --gm-accent:#c83e35;
  --gm-line:#dedbd8; --gm-content-max:1440px; --gm-gutter:calc(20px + (64px - 20px) * var(--fluid-progress));
  --gm-card-padding:calc(20px + (28px - 20px) * var(--fluid-progress));
  --gm-card-gap:24px; --gm-card-radius:8px;
  color:var(--gm-ink); font-family:'Work Sans','Noto Sans JP',sans-serif;
  font-size:calc(16px + (17px - 16px) * var(--fluid-progress)); line-height:1.85; text-align:left; -webkit-font-smoothing:antialiased;
}
/* Keep shell defaults outside editor content, including related UI embedded by shortcode. */
:is(.gtutc-gm :where(:not(:is(.gm-publication-body, .post_contents, .gtutc-gm-solution__body) *)), .gtutc-gm-related *) {
  &, &::before, &::after {box-sizing:border-box}
  &:where(h2,p,figure,ul) {margin:0}
  &:is(a) {color:inherit;text-decoration:none}
  &:is(button) {font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal}
  &:where(a,button):focus-visible {outline:3px solid var(--gm-accent);outline-offset:5px}
  &:is(img) {max-width:100%;height:auto}
  &:is(img):where(:not(.wp-block-image img)) {display:block}
}
/* Inner-page width contract: the outer box stays full width and its padding keeps content within 1440px. */
.gtutc-gm .gm-content-width,
.gtutc-gm .gtutc-gm-wrap,
.gtutc-gm .gtutc-gm-related__inner,
.gtutc-gm .gtutc-gm-solution-index__inner,
.gtutc-gm .gtutc-gm-solution__inner {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin-inline:auto;
  padding-inline:max(var(--gm-gutter),calc((100% - var(--gm-content-max)) / 2));
}
.gtutc-gm .gtutc-gm-sp {display:none}
.gtutc-gm-wordmark {display:inline-flex;align-items:center;flex-shrink:0;line-height:1}
.gtutc-gm-wordmark img {width:calc(184px + (226px - 184px) * var(--fluid-progress));height:auto;max-height:76px;object-fit:contain}
.gtutc-gm .gtutc-gm-button {display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:9px 28px;border:1px solid transparent;border-radius:8px;background:var(--gm-accent);color:white;font-size:16px;font-weight:600;line-height:1.4;transition:background .2s}
.gtutc-gm .gtutc-gm-button:hover {background:#a92f28}
.gtutc-gm-button span {font-size:22px;transition:transform .2s}
.gtutc-gm-button:hover span {transform:translate(3px,-2px)}
.gtutc-gm .gtutc-gm-button--outline {background:transparent;border-color:var(--gm-ink);color:var(--gm-ink)}
.gtutc-gm .gtutc-gm-button--outline:hover {background:var(--gm-paper)}
.gtutc-gm .gtutc-gm-round {display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex-shrink:0;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-size:24px;line-height:1}
.gtutc-gm-round:hover {background:var(--gm-ink);color:white}
.gtutc-gm-header {height:calc(88px + (112px - 88px) * var(--fluid-progress));background:#000;color:#fff;z-index:100;width:100%;transition:background .3s,color .3s,box-shadow .3s,border-radius .3s,width .3s; margin-inline:auto}
.gtutc-gm-header--sticky {position:sticky;top:0}
.gtutc-gm-header__inner,.gtutc-gm-header__actions {display:flex;align-items:center;justify-content:space-between;gap:calc(12px + (24px - 12px) * var(--fluid-progress));height:100%}
.gtutc-gm-header .gtutc-gm-wordmark img {filter:brightness(0) invert(1)}
.gtutc-gm-header--scrolled {background:#fff;color:#111;width:calc(100% - 20px);border-radius:10px;box-shadow:0 8px 32px #00000012}
.gtutc-gm-header--sticky.gtutc-gm-header--scrolled {top:10px}
.gtutc-gm-header--scrolled .gtutc-gm-wordmark img {filter:none}
.gtutc-gm .gtutc-gm-menu-button {display:grid;align-content:center;justify-content:center;gap:7px;width:52px;height:52px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;padding:0}
.gtutc-gm-menu-button span {width:22px;height:1px;background:currentColor}
.gtutc-gm-menu-button:hover {background:#8882}
@media(min-width:768px){.gtutc-gm .gtutc-gm-menu-button.gtutc-gm-sp{display:none}}
.gtutc-gm-menu {inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;border:0;padding:calc(24px + (32px - 24px) * var(--fluid-progress)) calc(20px + (96px - 20px) * var(--fluid-progress));background:var(--gm-soft);overflow-y:auto;overscroll-behavior:contain}
.gtutc-gm-menu:not([open]) {display:none}
.gtutc-gm-menu::backdrop {background:#1118}
.gtutc-gm-menu__top {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:calc(28px + (48px - 28px) * var(--fluid-progress))}
.gtutc-gm-menu-list,.gtutc-gm-menu-list .sub-menu {list-style:none;padding:0;margin:0}
.gtutc-gm-menu__links > ul > li {border-bottom:1px solid var(--gm-line)}
.gtutc-gm-menu__links > ul > li > a {display:flex;align-items:baseline;gap:.3em;font-size:calc(18px + (64px - 28px) * var(--fluid-progress));font-weight:500;line-height:1.2;letter-spacing:-.04em;padding:20px 0;overflow-wrap:anywhere}
.gtutc-gm-menu__links > ul > li > a::before {content:"・";flex:0 0 auto}
.gtutc-gm-menu__links a:hover {color:var(--gm-accent)}
.gtutc-gm-menu__links .sub-menu {display:flex;flex-wrap:wrap;gap:calc(4px + (8px - 4px) * var(--fluid-progress)) 0;padding:0 0 20px calc(16px + (24px - 16px) * var(--fluid-progress));font-size:calc(16px + (18px - 16px) * var(--fluid-progress))}
.gtutc-gm-menu__links .sub-menu > li {display:flex;align-items:baseline}
.gtutc-gm-menu__links .sub-menu > li:not(:last-child)::after {content:"/";margin-inline:calc(10px + (14px - 10px) * var(--fluid-progress));color:var(--gm-line)}
.gtutc-gm-menu__links .sub-menu a {display:inline-block;padding:6px 0}
body.gtutc-gm-menu-open {overflow:hidden}
/* Outrank the parent's body.home section spacing on both front and inner pages. */
body section.gtutc-gm.gtutc-gm-contact {background:var(--gm-soft);padding:calc(72px + (120px - 72px) * var(--fluid-progress)) 0}
.gtutc-gm-eyebrow {font-size:14px;font-weight:600;letter-spacing:.08em;line-height:1.6;margin-bottom:24px}
.gtutc-gm-contact__title {position:relative;font-family:inherit;font-size:clamp(56px,7.5vw,112px);font-weight:650;letter-spacing:-.055em;line-height:1.05;text-wrap:balance;overflow-wrap:anywhere}
.gtutc-gm-contact__title > .gtutc-gm-red {position:absolute;right:20px;top:-20px;font-size:180px;font-weight:200}
.gtutc-gm-light {font-weight:300}
.gtutc-gm-red {color:var(--gm-accent)}
.gtutc-gm-contact__bottom {display:flex;align-items:center;justify-content:space-between;gap:calc(32px + (40px - 32px) * var(--fluid-progress));margin-top:calc(32px + (48px - 32px) * var(--fluid-progress))}
.gtutc-gm-contact__bottom > div {min-width:0}
.gtutc-gm-contact__description {font-size:clamp(24px,2.5vw,36px);font-weight:700;line-height:1.45;letter-spacing:.01em}
.gtutc-gm-contact__note {margin-top:16px}
.gtutc-gm-contact__buttons {display:grid;gap:16px;flex-shrink:0;max-width:100%}
.gtutc-gm-contact .gtutc-gm-button {min-width:440px;min-height:calc(84px + (90px - 84px) * var(--fluid-progress));padding:calc(21px + (24px - 21px) * var(--fluid-progress)) calc(28px + (40px - 28px) * var(--fluid-progress));font-size:calc(22px + (24px - 22px) * var(--fluid-progress));gap:calc(20px + (48px - 20px) * var(--fluid-progress));box-shadow:0 12px 30px #c83e3526}
.gtutc-gm-contact .gtutc-gm-button span {font-size:40px;font-weight:300}
.gtutc-gm-footer {padding:calc(48px + (64px - 48px) * var(--fluid-progress)) 0 calc(24px + (32px - 24px) * var(--fluid-progress));background:#fff}
.gtutc-gm-footer__top {display:flex;align-items:flex-start;justify-content:space-between;gap:calc(32px + (48px - 32px) * var(--fluid-progress))}
.gtutc-gm-footer__top > div:first-child {max-width:100%}
.gtutc-gm-footer__top p {margin-top:16px}
.gtutc-gm-footer__nav {display:flex;flex-wrap:wrap;gap:24px 48px}
.gtutc-gm-footer__nav a {display:inline-block;padding:6px 0}
.gtutc-gm-footer__nav a:hover {color:var(--gm-accent)}
.gtutc-gm-footer__nav .sub-menu {padding-left:16px;font-size:14px}
.gtutc-gm-social {display:flex;align-items:center;justify-content:space-between;gap:calc(16px + (24px - 16px) * var(--fluid-progress));border-top:1px solid var(--gm-line);padding-top:calc(24px + (32px - 24px) * var(--fluid-progress));margin-top:calc(40px + (56px - 40px) * var(--fluid-progress))}
.gtutc-gm-social > p {font-size:14px;font-weight:600;letter-spacing:.12em}
.gtutc-gm-social .gt-social-links__list {display:flex;gap:12px;flex-wrap:wrap;padding:0;list-style:none}
.gtutc-gm-social .gt-social-links__link {display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;padding:12px;border:1px solid var(--gm-line);border-radius:8px}
.gtutc-gm-social .gt-social-links__link:hover {background:#111;color:white}
.gtutc-gm-social .gt-social-links__icon {color:inherit}
.gtutc-gm-footer__bottom {border-top:1px solid var(--gm-line);padding-top:24px;margin-top:32px;font-size:14px}
@media(min-width:783px){body.admin-bar .gtutc-gm-header--sticky{top:32px}body.admin-bar .gtutc-gm-header--sticky.gtutc-gm-header--scrolled{top:42px}}
@media(min-width:601px) and (max-width:782px){body.admin-bar .gtutc-gm-header--sticky{top:46px}body.admin-bar .gtutc-gm-header--sticky.gtutc-gm-header--scrolled{top:56px}}
@media(max-width:1100px){.gtutc-gm-contact__title > .gtutc-gm-red{font-size:140px}}
@media(max-width:1023px){.gtutc-gm-contact__bottom{flex-wrap:wrap}.gtutc-gm-footer__top{flex-wrap:wrap}.gtutc-gm-contact .gtutc-gm-button{min-width:380px;min-height:80px}}
@media(max-width:767px){
  .gtutc-gm .gtutc-gm-pc{display:none}.gtutc-gm .gtutc-gm-sp{display:block}
  .gtutc-gm .gtutc-gm-header__contact{display:none}
  .gtutc-gm .gtutc-gm-menu-button.gtutc-gm-sp{display:grid}.gtutc-gm .gtutc-gm-menu-button.gtutc-gm-pc{display:none}
  .gtutc-gm-contact__title{font-size:clamp(44px,11vw,72px)}
  .gtutc-gm-contact__title > .gtutc-gm-red{font-size:70px;right:0;top:5px}
  .gtutc-gm-contact__buttons{width:100%}.gtutc-gm-contact .gtutc-gm-button{width:100%;min-width:0}
  .gtutc-gm-footer__nav{width:100%}.gtutc-gm-footer__top>.gtutc-gm-round{margin-left:auto}
  .gtutc-gm-social{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.gtutc-gm *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Shared CTA typography: match the homepage on every page and viewport. */
body .gtutc-gm-contact .gtutc-gm-contact__title{font-size:calc(30px + (56px - 30px) * var(--fluid-progress));line-height:1.55;letter-spacing:0;padding-right:calc(48px + (80px - 48px) * var(--fluid-progress))}
body .gtutc-gm-contact .gtutc-gm-contact__title>.gtutc-gm-red{position:absolute;right:0;top:0;font-size:1.3em;line-height:1}
body .gtutc-gm-contact .gtutc-gm-contact__description{font-size:18px;line-height:1.9;max-width:780px}
