/*
Theme Name: Tomato SR Theme
Theme URI: http://tomato-sr.com/
Author: Tomato SR Office
Author URI: http://tomato-sr.com/
Description: Custom theme for Tomato SR Office (local development).
Version: 0.1.0
Text Domain: tomato-sr
*/


:root {
  --tomato-ink: #2f2726;
  --tomato-red: #bf4f42;
  --tomato-red-deep: #933428;
  --tomato-sand: #f5f1ec;
  --tomato-line: rgba(47, 39, 38, 0.12);
  --tomato-header: rgba(245, 241, 236, 0.88);
  --tomato-copy-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --tomato-heading-font: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --tomato-latin-heading-font: "Poppins", "Noto Sans JP", sans-serif;
  --tomato-display-font: var(--tomato-heading-font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--tomato-ink);
  background: var(--tomato-sand);
  font-family: var(--tomato-copy-font);
  overflow-x: hidden;
}

.site-stage {
  position: relative;
  z-index: 10;
  width: 1920px;
  margin-inline: auto;
  transform-origin: top center;
}

.services-showcase-bg-host {
  display: none;
  pointer-events: none;
}

.services-showcase-bg-host.is-active {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  display: block;
  clip-path: inset(0);
}

.services-showcase-bg-host__stage {
  width: 1920px;
  height: 100%;
  margin-inline: auto;
  transform-origin: top center;
  will-change: transform;
}

.has-site-stage-scale .services-showcase-bg-host__stage {
  transform: translateX(var(--site-stage-shift-x, 0px)) scaleX(var(--site-stage-scale, 1));
}

.services-showcase-bg-host__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
}

.services-showcase-bg-host__media {
  width: 100%;
  height: 100%;
  background-color: #c0c2c7;
  background-image: var(--services-showcase-bg-image, none);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

body.has-site-stage-scale {
  min-height: 0;
}

body.has-site-stage-scale .site-stage {
  transform: translateX(var(--site-stage-shift-x, 0px)) scale(var(--site-stage-scale, 1));
}

body.is-site-stage-portrait .site-stage {
  width: 100%;
  margin-inline: 0;
  transform: none;
}

body.is-site-stage-portrait .services-showcase-bg-host__stage {
  width: 100%;
  margin-inline: 0;
  transform: none;
}

body.is-site-stage-portrait .services-showcase-bg-host__sticky {
  height: 100vh;
}

body.has-services-showcase-bg-host-active .index-page,
body.has-services-showcase-bg-host-active .service-page,
body.has-services-showcase-bg-host-active .service-detail-page {
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

@media (max-width: 767px) {
  .site-stage {
    width: 100%;
    margin-inline: 0;
    transform: none;
  }

  .services-showcase-bg-host__stage {
    width: 100%;
    margin-inline: 0;
    transform: none;
  }
}

.default-main {
  min-height: calc(100vh - 83px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.default-panel {
  width: min(720px, 100%);
  padding: 48px;
  border: 1px solid var(--tomato-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.default-panel__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(47, 39, 38, 0.68);
}

.default-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  font-family: var(--tomato-heading-font);
}

.default-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .default-panel {
    padding: 32px 24px;
    border-radius: 24px;
  }
}
