/* IT: tokens, base, shared layout and components.
 * Edit the existing rule; do not append overrides. Media rules follow their components. */
.rail .brand-icon {
  gap: 15px;
  padding-right: 8px;
}

.rail .brand-icon i:last-child {
  height: 40px;
  background: var(--orange);
  border-radius: 3px;
}

.rail .brand-icon i:last-child::before {
  top: -10px;
  left: -8px;
  width: 26px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
}

@media (max-width: 800px) {
  .rail .brand-icon {
    width: 38px;
    height: 36px;
    padding: 0 5px 0 2px;
    gap: 9px;
    flex: 0 0 38px;
    transform: none;
  }

  .rail .brand-icon i {
    width: 7px;
    height: 21px;
    flex: 0 0 7px;
    border-radius: 2px;
  }

  .rail .brand-icon i::before {
    width: 10px;
    height: 10px;
    left: -1.5px;
    top: -15px;
  }

  .rail .brand-icon i:last-child {
    height: 29px;
    border-radius: 2px;
  }

  .rail .brand-icon i:last-child::before {
    width: 19px;
    height: 7px;
    left: -6px;
    top: -7px;
    border-radius: 2px;
  }
}

:root {
  --ivory: #f7f4eb;
  --green: #142e27;
  --orange: #ff6809;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--green);
  font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
  line-height: 1.9;
}

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

button, input, textarea, select {
  font: inherit;
}

button, a {
  touch-action: manipulation;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  left: 140px;
  top: -80px;
  z-index: 99;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 40px;
}

.rail {
  position: absolute;
  left: 0;
  top: 0;
  width: 110px;
  height: 100svh;
  min-height: 700px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 5;
  padding: 32px 10px;
  gap: 35px;
}

.rail .brand-name {
  font-size: 14px;
  white-space: nowrap;
}

.brand-icon {
  display: flex;
  gap: 9px;
  height: 50px;
  align-items: end;
}

.brand-icon i {
  height: 30px;
  width: 10px;
  background: var(--green);
  border-radius: 4px;
  position: relative;
}

.brand-icon i:before {
  content: '';
  position: absolute;
  top: -20px;
  width: 15px;
  height: 15px;
  left: -2px;
  background: var(--green);
  border-radius: 50%;
}

.brand-icon i:last-child:before {
  background: var(--orange);
}

.rail .vertical {
  writing-mode: vertical-rl;
  letter-spacing: .25em;
  font-size: 11px;
  margin: auto;
}

.rail .dot {
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
}

.site-nav {
  position: absolute;
  right: 40px;
  top: 32px;
  display: flex;
  gap: 30px;
  align-items: center;
  z-index: 10;
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}

.menu-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 10px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: 55px;
  background: var(--ivory);
  color: var(--green);
  padding: 28px;
  width: 300px;
  box-shadow: 0 12px 40px #0003;
}

.menu-panel a {
  display: block;
  padding: 9px;
  border-bottom: 1px solid #142e2720;
}

.menu-panel[hidden] {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 20px 30px;
  border: 0;
  transition: background .2s,transform .2s;
}

.btn:hover {
  background: #e35500;
  transform: translateY(-3px);
}

.btn:after {
  content: '→';
  font-size: 24px;
}

.section {
  padding: 105px 7%;
  scroll-margin-top: 20px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 20px;
}

.section h2 {
  font-size: clamp(30px,4.3vw,62px);
  letter-spacing: -.045em;
  line-height: 1.5;
  margin: 0 0 30px;
}

.lead {
  font-size: 18px;
  max-width: 750px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split p {
  max-width: 650px;
}

.big-word {
  font-size: clamp(65px,9vw,140px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--orange);
}

.dark {
  background: var(--green);
  color: var(--ivory);
}

.dark .eyebrow {
  color: #ff8c43;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.card {
  border: 1px solid #142e2730;
  padding: 35px;
  background: #ffffff50;
  position: relative;
}

.card .num {
  font-size: 12px;
  color: var(--orange);
  letter-spacing: .2em;
}

.card h3 {
  font-size: 23px;
  margin: 14px 0;
  line-height: 1.5;
}

.card p {
  font-size: 15px;
  margin: 0 0 20px;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--orange);
  padding: 8px 0;
  font-weight: 700;
}

.card a:after, .text-link:after {
  content: ' ↗';
  color: var(--orange);
}

.wide-card {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-top: 45px;
}

.steps article {
  border-top: 1px solid #ffffff55;
  padding-top: 25px;
}

.steps span {
  color: var(--orange);
  font-size: 28px;
}

.steps h3 {
  font-size: 22px;
}

.cta {
  background: var(--orange);
  color: var(--green);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta .btn {
  background: var(--green);
  white-space: nowrap;
}

.page-head {
  background: var(--green);
  color: var(--ivory);
  padding: 140px 7% 65px;
}

.page-head h1 {
  font-size: clamp(35px,5vw,70px);
  line-height: 1.4;
  margin: 20px 0;
}

.page-head p {
  max-width: 780px;
}

.crumb {
  font-size: 12px;
  color: #ffffffaa;
}

.body-copy {
  max-width: 900px;
  margin: auto;
}

.body-copy h2 {
  font-size: 32px;
}

.body-copy h3 {
  font-size: 23px;
  margin-top: 35px;
}

.body-copy p {
  margin: 0 0 25px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th, .company-table td {
  text-align: left;
  border-bottom: 1px solid #142e2730;
  padding: 23px 12px;
  vertical-align: top;
}

.company-table th {
  width: 25%;
}

.site-footer {
  padding: 60px 7% 25px;
  background: var(--green);
  color: var(--ivory);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-top .footer-brand {
  font-size: 25px;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-footer small {
  display: block;
  border-top: 1px solid #ffffff30;
  margin-top: 35px;
  padding-top: 20px;
  font-size: 11px;
}

.reveal {
  opacity: 1;
}

.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s,transform .7s;
}

.motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.wpcf7 input:not([type=submit]), .wpcf7 textarea, .wpcf7 select {
  width: 100%;
  padding: 14px;
  border: 1px solid #142e2740;
  background: white;
}

.wpcf7 input[type=submit] {
  background: var(--orange);
  color: white;
  padding: 14px 40px;
  border: 0;
  cursor: pointer;
}

.wpcf7 label {
  display: block;
  margin: 20px 0;
}

body.admin-bar .site-nav, body.admin-bar .rail {
  top: 32px;
}

@media(max-width:800px) {
  .rail {
    position: relative;
    width: 100%;
    height: 76px;
    min-height: 0;
    flex-direction: row;
    padding: 15px 20px;
    gap: 18px;
  }

  .brand-icon {
    height: 36px;
    transform: scale(.65);
    transform-origin: left center;
    width: 30px;
  }

  .rail .vertical, .rail .dot {
    display: none;
  }

  .site-nav {
    top: 18px;
    right: 20px;
    color: var(--green);
    gap: 12px;
  }

  .site-nav>a {
    display: none;
  }

  .site-main, .site-footer {
    margin-left: 0;
  }

  .section {
    padding: 65px 6%;
  }

  .split, .grid, .steps, .wide-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .wide-card {
    display: block;
  }

  .card {
    padding: 25px;
  }

  .split {
    gap: 40px;
  }

  .cta {
    display: block;
  }

  .cta .btn {
    margin-top: 25px;
  }

  .footer-top {
    display: block;
  }

  .footer-links {
    margin-top: 25px;
  }

  .page-head {
    padding: 65px 6% 45px;
  }

  .company-table th, .company-table td {
    padding: 18px 5px;
    font-size: 14px;
  }

  .company-table th {
    width: 30%;
  }

  body.admin-bar .rail {
    top: 0;
  }

  body.admin-bar .site-nav {
    top: 64px;
  }

  .lead {
    font-size: 16px;
  }

  .menu-panel {
    max-width: calc(100vw - 40px);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *:before, *:after {
    animation: none!important;
    transition: none!important;
  }

  .motion .reveal {
    opacity: 1;
    transform: none;
  }
}

.site-main, .site-footer {
  margin-left: 0;
}

.page-head {
  margin-left: 110px;
}

@media(max-width:800px) {
  .page-head {
    margin-left: 0;
  }
}

.it-site:not(.page-id-7) .rail {
  height: 680px;
  min-height: 680px;
}

.card {
  transition: background .3s,transform .3s,border-color .3s;
}

.card:hover {
  background: #ffffff90;
  border-color: #ff680970;
  transform: translateY(-4px);
}

@media(max-width:800px) {
  .it-site:not(.page-id-7) .rail {
    height: 76px;
    min-height: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .card:hover {
    transform: none;
  }
}

.site-footer .brand-reading {
  font-size: 13px;
}

.scene-entered .big-word:before {
  transform: rotate(20deg);
}

.rail .brand-name, .footer-top .footer-brand {
  font-weight: 700;
}
