:root {
  --red: #df2b1f;
  --red-dark: #9d201b;
  --black: #050505;
  --blue: #0e2f70;
  --line-blue: #236283;
  --text: #111;
  --content: 930px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 140px;
  color: #fff;
  background: var(--black);
  border-bottom: 2px solid #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 138px;
}

.logo-link {
  position: relative;
  flex: 0 0 auto;
}

.logo-link img {
  width: 88px;
  height: 86px;
  object-fit: contain;
}

.logo-link::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "OSP";
  color: #df3d3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  transform: translate(-50%, -50%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 16px;
  white-space: nowrap;
}

.main-nav a {
  transition: color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #a82828;
}

.menu-button {
  display: none;
  width: 48px;
  height: 42px;
  padding: 7px;
  border: 1px solid #777;
  color: #fff;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.page-main {
  min-height: 540px;
}

.page-brand {
  padding: 12px 0 8px;
}

.page-brand-row {
  display: flex;
  align-items: baseline;
  gap: 35px;
  margin: 0;
  color: #080f6f;
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: 43px;
  font-weight: 400;
}

.page-brand-row span {
  color: #111;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 26px;
}

.blue-rule {
  height: 4px;
  margin-top: 3px;
  background: var(--line-blue);
}

.page-heading {
  margin: 8px 0 26px;
  padding: 0 8px 5px;
  border-bottom: 2px solid var(--line-blue);
  font-size: 32px;
  font-weight: 400;
}

.home-hero {
  color: #fff;
  background: var(--red);
}

.home-hero-inner {
  position: relative;
  min-height: 424px;
  padding-top: 8px;
}

.monitor-visual {
  position: relative;
  width: 375px;
  height: 303px;
  margin: 0 auto;
}

.monitor-frame {
  position: relative;
  z-index: 2;
  width: 375px;
  height: 303px;
  pointer-events: none;
}

.monitor-screen {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 18px;
  width: 339px;
  height: 225px;
  overflow: hidden;
  background: #000;
}

.monitor-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.monitor-screen img.is-visible {
  opacity: 1;
}

.home-hero-copy {
  display: grid;
  align-items: end;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 35px;
  margin-top: -18px;
}

.home-title {
  margin: 0;
  font-size: 31px;
  line-height: 1.35;
}

.home-title strong {
  display: block;
  font-size: 32px;
}

.company-button {
  display: block;
  width: 255px;
  margin: 0 0 10px;
  padding: 12px 20px;
  color: #fff;
  background: #050505;
  text-align: center;
  font-size: 26px;
}

.home-address {
  margin: 0;
  font-family: "Yu Mincho", serif;
  font-size: 18px;
  white-space: nowrap;
}

.home-info {
  min-height: 604px;
  padding: 65px 0 70px;
  background: #fff;
}

.home-info-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
}

.home-message {
  margin: 0 0 100px;
  color: #bd2f2a;
  font-size: 32px;
  line-height: 1.5;
}

.home-message span {
  display: block;
  color: #111;
  font-size: 35px;
}

.ses-message {
  margin: 0;
  font-size: 27px;
  line-height: 1.6;
}

.ses-message strong {
  display: block;
  color: #c92720;
}

.mini-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  margin: 5px 0 55px;
}

.mini-card img {
  width: 168px;
  height: 101px;
  object-fit: cover;
}

.mini-card h2 {
  margin: 13px 0 16px;
  color: #bf4d48;
  font-family: "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 400;
}

.mini-card p {
  margin: 0;
  font-size: 14px;
}

.company-hero {
  color: #000;
  background:
    linear-gradient(rgba(224, 226, 252, 0.72), rgba(224, 226, 252, 0.72)),
    url("assets/images/city.jpg") center / cover no-repeat;
}

.company-title-band {
  padding: 17px 0;
  color: #fff;
  background: var(--red);
}

.company-title-band h1 {
  margin: 0;
  font-size: 45px;
}

.company-title-band span {
  margin-left: 30px;
  font-size: 37px;
  font-weight: 400;
}

.company-content {
  min-height: 1140px;
  padding: 32px 55px 65px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.company-content p {
  margin: 0 0 34px;
}

.company-content .indent {
  padding-left: 98px;
}

.company-content .deep-indent {
  padding-left: 130px;
}

.company-content .product-history {
  line-height: 1.5;
}

.standard-page {
  padding: 0 0 95px;
}

.content-box {
  padding: 0 10px;
}

.greeting-layout {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 45px;
}

.president-photo img {
  width: 146px;
  height: 184px;
  object-fit: cover;
}

.president-photo p {
  margin: 22px 0 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}

.greeting-text {
  font-size: 16px;
  line-height: 1.42;
}

.greeting-text .lead {
  margin-top: 0;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.greeting-text h2 {
  margin: 45px 0 22px;
  font-size: 17px;
}

.product-page {
  min-height: 1320px;
  padding: 0 0 80px;
}

.product-sheet {
  width: 600px;
  margin: 0;
}

.product-sheet + .product-sheet {
  margin-top: 100px;
}

.product-series {
  width: 600px;
  margin-top: 28px;
}

.free-page {
  min-height: 1230px;
  padding: 60px 0 150px;
  background: url("assets/images/free-bg.jpg") center / cover fixed;
}

.free-card {
  width: 600px;
  min-height: 560px;
  margin: 0 auto;
  padding: 70px 60px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.free-card h1 {
  margin: 0 0 26px;
  color: #eee;
  font-family: Georgia, serif;
  font-size: 55px;
  font-weight: 400;
}

.free-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.download-button {
  display: block;
  width: 210px;
  margin: 130px auto 0;
  padding: 10px;
  color: #fff;
  background: #df6b62;
}

.download-note {
  margin-top: 15px !important;
  color: #555;
  font-size: 13px !important;
}

.recruit-lead {
  margin: 0 0 65px 8px;
  font-size: 25px;
}

.recruit-section {
  margin: 0 8px 78px;
  font-size: 16px;
  white-space: pre-line;
}

.recruit-section h2 {
  margin: 0 0 2px;
  font-size: 17px;
}

.contact-title-band {
  padding: 9px 0 16px;
  background: var(--red);
}

.contact-title-band .page-brand-row {
  color: #0d287c;
}

.contact-page {
  padding: 40px 0 70px;
}

.contact-intro {
  margin: 0 0 38px 28px;
  font-size: 18px;
}

.google-form-wrap {
  width: min(100%, 760px);
  margin-left: 3px;
}

.google-form {
  width: 100%;
  height: 1100px;
  border: 0;
}

.google-form-link {
  margin: 12px 0 0;
  text-align: right;
}

.google-form-link a {
  color: #8f201b;
  text-decoration: underline;
}

.site-footer {
  color: #fff;
  background: #050505;
  border-top: 3px solid #92291f;
}

.footer-main {
  display: grid;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  min-height: 151px;
}

.footer-company {
  font-size: 13px;
  line-height: 1.45;
}

.footer-company strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.footer-company a {
  text-decoration: underline;
}

.cafe-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
}

.cafe-link img {
  width: 74px;
  height: 83px;
  object-fit: contain;
}

.home-cafe-support {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.home-cafe-support img {
  flex: 0 0 auto;
  width: 74px;
  height: 83px;
  object-fit: contain;
}

.home-cafe-support strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.home-cafe-support p {
  margin: 0 0 4px;
}

.home-cafe-official {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.home-cafe-support:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.copyright-bar {
  padding: 11px 0;
  color: #fff;
  background: #444;
  font-size: 11px;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    background: rgba(0, 0, 0, 0.97);
    visibility: hidden;
    opacity: 0;
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .main-nav a {
    font-size: 21px;
  }

  .menu-button {
    position: relative;
    z-index: 101;
    display: block;
  }

  .home-hero-copy {
    gap: 25px;
  }

  .company-content {
    padding-inline: 25px;
  }
}

@media (max-width: 680px) {
  .site-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header,
  .header-inner {
    min-height: 94px;
  }

  .logo-link img {
    width: 70px;
    height: 69px;
  }

  .home-hero-inner {
    min-height: auto;
    padding-bottom: 35px;
  }

  .monitor-visual {
    width: 330px;
    height: 267px;
    transform-origin: top center;
  }

  .monitor-frame {
    width: 330px;
    height: 267px;
  }

  .monitor-screen {
    top: 9px;
    left: 16px;
    width: 298px;
    height: 198px;
  }

  .home-hero-copy,
  .home-info-grid,
  .footer-main,
  .greeting-layout {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    margin-top: -5px;
    text-align: center;
  }

  .home-title,
  .home-title strong {
    font-size: 27px;
  }

  .company-button {
    margin-inline: auto;
  }

  .home-address {
    font-size: 17px;
    white-space: normal;
  }

  .home-info {
    padding-top: 45px;
  }

  .home-message {
    margin-bottom: 55px;
    font-size: 25px;
  }

  .home-message span {
    font-size: 27px;
  }

  .mini-card {
    grid-template-columns: 125px 1fr;
    gap: 18px;
  }

  .mini-card img {
    width: 125px;
    height: 88px;
  }

  .page-brand-row {
    gap: 15px;
    font-size: 35px;
  }

  .page-brand-row span {
    font-size: 19px;
  }

  .page-heading {
    font-size: 27px;
  }

  .company-title-band h1 {
    font-size: 35px;
  }

  .company-title-band span {
    display: block;
    margin-left: 0;
    font-size: 24px;
  }

  .company-content {
    min-height: 0;
    padding: 30px 4px 55px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .company-content .indent,
  .company-content .deep-indent {
    padding-left: 20px;
  }

  .greeting-layout {
    gap: 30px;
  }

  .president-photo {
    display: flex;
    align-items: end;
    gap: 25px;
  }

  .president-photo p {
    margin: 0 0 10px;
  }

  .product-page {
    min-height: 0;
  }

  .product-sheet,
  .product-series {
    width: 100%;
  }

  .product-sheet + .product-sheet {
    margin-top: 50px;
  }

  .free-page {
    min-height: 850px;
    padding: 45px 0 100px;
    background-attachment: scroll;
  }

  .free-card {
    width: 100%;
    min-height: 510px;
    padding: 50px 25px;
  }

  .free-card h1 {
    font-size: 44px;
  }

  .download-button {
    margin-top: 90px;
  }

  .recruit-lead {
    margin-bottom: 45px;
    font-size: 20px;
  }

  .recruit-section {
    margin-bottom: 50px;
    font-size: 14px;
  }

  .contact-intro {
    margin-left: 0;
    font-size: 16px;
  }

  .google-form-wrap {
    width: 100%;
    margin-left: 0;
  }

  .google-form {
    height: 1200px;
  }

  .footer-main {
    gap: 25px;
    padding: 28px 0;
  }

  .cafe-link {
    justify-content: flex-start;
  }

  .home-cafe-support {
    align-items: flex-start;
  }
}
