@charset "UTF-8";

/* ========================================
   テナモ LP — PC 1440 / SP 375
   1rem = デザイン上 1px 相当
   ======================================== */

:root {
  --color-navy: #00167a;
  --color-navy-deep: #001056;
  --color-navy-bright: #1a2f9a;
  --color-orange: #ff903e;
  --color-orange-hover: #f07e28;
  --color-orange-soft: #fff4eb;
  --color-orange-mid: #ffe0c4;
  --color-orange-light: #ffcca7;
  --color-white: #ffffff;
  --color-text: #141428;
  --color-muted: #5a5f78;
  --color-gutter: #dfe3ee;
  --color-line: #e4e7f0;
  --color-gray-light: #ededed;
  --header-height: 80rem;
  --section-pad: 120rem;
  --radius-sm: 8rem;
  --radius-md: 16rem;
  --radius-pill: 999rem;
  --radius-card: 20rem;
  --radius-tab: 12rem;
  --shadow-soft: 0 6rem 28rem rgba(0, 22, 122, 0.12);
  --shadow-card: 0 8rem 10rem rgba(0, 22, 122, 0.14);
  --shadow-intro: 0 20rem 50rem rgba(0, 22, 122, 0.12);
  --shadow-btn: 0 8rem 20rem rgba(0, 22, 122, 0.16);
  --shadow-btn-hover: 0 14rem 32rem rgba(0, 22, 122, 0.22);
  --ease: 0.28s ease;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

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

html {
  font-size: min(calc(100vw / 1440), 1px);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16rem);
  background: var(--color-white);
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--color-text);
  background: var(--color-white);
  font-family: var(--font);
  font-size: 16rem;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button,
input {
  font-family: inherit;
}

.lp {
  position: relative;
  width: 1440rem;
  margin: 0 auto;
  background: var(--color-white);
}

.full-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.shell {
  width: 1440rem;
  margin: 0 auto;
}

.u-visually-hidden {
  position: absolute;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin: -1rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  min-height: 56rem;
  padding: 0 36rem;
  border-radius: var(--radius-pill);
  font-size: 16rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18rem rgba(0, 22, 122, 0.18);
}

.btn:hover::before {
  transform: translateX(280%) skewX(-18deg);
}

.btn:focus-visible {
  outline: 2rem solid var(--color-orange);
  outline-offset: 3rem;
}

.btn--sm {
  min-height: 42rem;
  padding: 0 16rem;
  font-size: 16rem;
}

.btn--lg {
  min-height: 56rem;
  width: 260rem;
  padding: 0 28rem;
  font-size: 16rem;
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
  border: 2px solid var(--color-navy);
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
  box-shadow: var(--shadow-btn);
}

.btn--white:hover {
  background: var(--color-orange-soft);
}

.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
}

.btn--orange:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
}

.btn--demo {
  min-height: 48rem;
  padding: 0 22rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
}

.btn__arrow::after {
  content: "";
  width: 7rem;
  height: 7rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: -2rem;
}

.btn--white .btn__arrow,
.btn--outline .btn__arrow {
  background: rgba(0, 22, 122, 0.08);
}

.input-email {
  width: 280rem;
  min-height: 48rem;
  padding: 0 18rem;
  border: 1.5rem solid var(--color-white);
  background: var(--color-white);
  box-shadow: inset 0 2rem 6rem rgba(0, 22, 122, 0.06);
  font-size: 14rem;
  color: var(--color-text);
}

.input-email::placeholder {
  color: #9a9a9a;
}

.input-email:focus {
  background-color: var(--color-gray-light);
  border-radius: 0;
}

/* ------------------------- ヘッダー -------------------------
 ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: 0 4rem 18rem rgba(0, 22, 122, 0.08);
  overflow: visible;
}

.header.full-bleed {
  position: sticky;
  top: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 48rem;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.header__logo img {
  width: auto;
  height: 40rem;
}

.header__toggle {
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30rem;
  font-size: 16rem;
  font-weight: 700;
  color: var(--color-navy);
}

.header__nav a:not(.btn):hover {
  color: var(--color-orange);
}

.header__nav .btn {
  margin-left: 0;
}

.header__nav .btn + .btn {
  margin-left: -16rem;
}

.header__item {
  position: relative;
  padding: 0;
  border-radius: 12rem;
}

.header__item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6rem;
}

.header__item-trigger::after {
  content: "";
  width: 7rem;
  height: 7rem;
  margin-top: -2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.header__item:hover,
.header__item:focus-within {
  z-index: 21;
  background: var(--color-white);
  border-radius: 12rem 12rem 0 0;
  box-shadow: 0 8rem 24rem rgba(0, 22, 122, 0.12);
}

.header__item:hover .header__item-trigger,
.header__item:focus-within .header__item-trigger {
  color: var(--color-orange);
}

.header__item:hover .header__item-trigger::after,
.header__item:focus-within .header__item-trigger::after {
  margin-top: 4rem;
  transform: rotate(-135deg);
}

.header__sub {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  min-width: 148rem;
  padding: 10rem 18rem 14rem;
  background: var(--color-white);
  border-top: 2px solid var(--color-orange);
  border-radius: 0 0 12rem 12rem;
  box-shadow: 0 10rem 24rem rgba(0, 22, 122, 0.12);
}

.header__item:hover .header__sub,
.header__item:focus-within .header__sub {
  display: flex;
}

.header__sub a {
  padding: 8rem 0;
  color: var(--color-navy);
  font-size: 15rem;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
}

.header__sub a:hover {
  color: var(--color-orange);
}

/* ------------------------- FV + Intro wrapper -------------------------
 ------------------------------------------------------------ */
.fv-intro-wrapper {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
}

.sec-fv {
  position: relative;
  width: 100%;
  min-height: 800rem;
  background:
    url("../img/FV_back.png") no-repeat center top / 100% auto,
    linear-gradient(180deg, var(--color-orange) 0%, var(--color-white) 60%);
}

.sec-fv__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy visual"
    "intro visual";
  max-width: 1200rem;
  margin: 0 auto;
  gap: 20rem;
  min-height: 800rem;
  align-items: start;
}

.sec-fv__copy {
  position: relative;
  z-index: 2;
  grid-area: copy;
  margin-top: 100rem;
}

.sec-fv__shot {
  position: absolute;
  z-index: 1;
  width: 100%;
  margin-top: 100rem;
}

.sec-fv__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.sec-fv__subtitle {
  margin: 0 0 10rem;
  color: var(--color-navy);
  font-size: 28rem;
  font-weight: 800;
  line-height: 1.4; 
  letter-spacing: 0.02em;
  text-shadow: 1rem 1rem 0 rgba(255, 255, 255, 1);
}

.sec-fv__title {
  display: block; 
  margin-top: 50rem;
  margin-bottom: 30rem;
  color: var(--color-navy);
  font-size: 42rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 2rem 2rem 0 rgba(255, 255, 255, 1);
}

.sec-fv__lead {
  margin: 0 0 32rem;
  color: var(--color-navy);
  font-size: 20rem;
  line-height: 1.6;
  max-width: 560rem;
}

.sec-fv__cta {
  display: flex;
  gap: 16rem;
  flex-wrap: wrap;
}

.sec-fv__cta .btn--lg {
  min-height: 48rem;
  width: 240rem;
  padding: 0 24rem;
  font-size: 15rem;
}

.sec-fv__visual {
  position: relative;
  grid-area: visual;
  min-height: 560rem;
  height: auto;
  overflow: visible;
}

.fv-layer {
  position: absolute;
}

.fv-layer--2 {
  top: 250rem;
  right: -110rem;
  z-index: 2;
  width: 500rem;
  height: 500rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 4rem 12rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(15rem);
}

.fv-layer--3 {
  inset: 0;
  z-index: 3;
  margin-top: 240rem;
  right: -20rem;
}

.fv-chip {
  position: absolute;
  margin: 0;
  padding: 10rem 20rem;
  background: var(--color-orange-light);
  border-radius: 9999rem;
  color: var(--color-navy); 
  font-size: 15rem; 
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4rem 12rem rgba(0, 0, 0, 0.05);
  gap: 10rem;
}

/* 吹き出しの右側の三角形（シッポ）を作成する設定 */
.fv-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10rem;
  transform: translateY(-50%);
  
  /* 透明なボーダーを使って三角形を作ります */
  border-style: solid;
  border-width: 8rem 0 8rem 12rem; /* 三角形の高さと幅 */
  border-color: transparent transparent transparent #ffccaa; /* 左側だけ背景色と同じ色にする */
}

.fv-chip--1 {
  top: 50rem;
  right: 50rem; 
}

.fv-chip--2 {
  top: 105rem;
  right: 50rem; 
}

.fv-chip--3 {
  top: 160rem;
  right: 50rem;
}

.fv-solve {
  position: absolute;
  top: 200rem;
  right: 0rem;
  display: flex;
  align-items: flex-end;
  gap: 8rem;
  margin: 0;
  filter: drop-shadow(0 8rem 18rem rgba(0, 22, 122, 0.18));
}

.logo-tenamo {
  display: block;
  width: 180rem;
  height: auto;
  margin: 20rem auto 0;
}

.fv-solve__text {
  color: var(--color-text);
  font-size: 24rem;
  font-weight: 800;
}

.fv-demo-card {
  position: absolute;
  bottom: -160rem;
  left: 50%;
  right: 0;
  z-index: 5;
  width: 290rem;
  padding: 20rem 16rem 40rem;
  overflow: visible;
  border-radius: 16rem;
}

.fv-demo-card__lead {
  margin: 0 0 14rem;
  color: var(--color-navy);
  font-size: 16rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.fv-demo-card__form {
  display: block;
}

.fv-demo-card__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: stretch;
}

.fv-demo-card__form .input-text,
.fv-demo-card__form .input-email {
  display: block;
  width: 100%;
  min-height: 38rem;
  padding: 0 14rem;
  border: 2rem solid var(--color-navy);
  background: var(--color-white);
  box-shadow: none;
  border-radius: 0;
  font-size: 12rem;
  color: var(--color-text);
}

.fv-demo-card__form .input-text::placeholder,
.fv-demo-card__form .input-email::placeholder {
  color: #9a9a9a;
}

.fv-demo-card__form .input-text:focus,
.fv-demo-card__form .input-email:focus {
  background-color: var(--color-gray-light);
  outline: none;
}

.fv-demo-card__form .btn--demo {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 2;
  min-height: 35rem;
  padding: 0 10rem;
  font-size: 13rem;
  border-radius: 0 0 20rem 20rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8rem;
  width: 100%;
  padding: 8rem;
  overflow: hidden;
  border-radius: 16rem;
  background: var(--color-white);
  box-shadow: 0 6rem 18rem rgba(0, 22, 122, 0.12);
}

.demo-form input {
  width: 100%;
  min-width: 0;
  min-height: 42rem;
  padding: 0 18rem;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 13rem;
  outline: none;
}

.demo-form input::placeholder {
  color: #9aa0b5;
}

.demo-form .btn--demo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  min-height: 42rem;
  padding: 0 20rem;
  border-radius: var(--radius-pill);
  font-size: 13rem;
  box-shadow: none;
}

.demo-form .btn--demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn.btn--demo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18rem rgba(255, 255, 255, 0.28);
}

.btn.btn--demo:hover::before {
  transform: translateX(280%) skewX(-18deg);
}

/* ------------------------- テナモとは -------------------------
 ------------------------------------------------------------ */
.sec-intro {
  position: relative;
  z-index: 1;
  grid-area: intro;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.sec-intro__card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 30rem 0 0;
  border-radius: 4rem;
  text-align: left;
  box-sizing: border-box;
}

.sec-intro__title {
  margin: 0 0 20rem;
  color: var(--color-orange);
  font-size: 28rem;
  font-weight: 800;
}

.sec-intro__lead {
  margin: 0;
  color: var(--color-text);
  font-size: 16rem;
  line-height: 2;
}

/* ------------------------- メリット -------------------------
 ------------------------------------------------------------ */
.sec-merit {
  margin-top: 10rem;
  padding: 40rem 0;
  background: linear-gradient(180deg, var(--color-orange-light) 30%, var(--color-white) 100%);
}

.sec-heading {
  margin: 0 0 30rem;
  color: var(--color-navy);
  font-size: 40rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
}

.merit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32rem 16rem;
  padding: 0;
  max-width: 1100rem;
  margin-left: auto;
  margin-right: auto;
}

.merit-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: calc((100% - 48rem) / 3);
  min-height: 240rem;
  padding: 40rem 28rem 28rem;
  background: var(--color-white);
  border: 1rem solid var(--color-orange-light);
  border-radius: 8rem;
  box-shadow: 0 6rem 18rem rgba(0, 22, 122, 0.06);
  transition: transform var(--ease), box-shadow var(--ease);
  text-align: center;
}

.merit-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(28rem * 1.5 * 2);
  margin-bottom: 12rem;
}

.merit-card__num {
  position: absolute;
  top: -10rem;
  left: 18rem;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 60rem;
  height: 50rem;
  padding-top: 10rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 20rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.merit-card__title {
  margin: 0;
  color: var(--color-navy);
  font-size: 24rem;
  font-weight: 600;
  line-height: 1.5;
}

.u-num-lg {
  font-size: 28rem;
  font-weight: 800;
}

.mark-adobe,
.mark-m365 {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.mark-adobe {
  background-image: linear-gradient(transparent 48%, #b7d6ff 48%);
}

.mark-m365 {
  background-image: linear-gradient(transparent 48%, #ffc4d4 48%);
}

.merit-card__text {
  margin: 0;
  color: var(--color-text);
  font-size: 16rem;
  line-height: 1.8;
}

.sec-merit__cta {
  margin-top: 48rem;
  text-align: center;
}

/* ------------------------- 30秒診断（フローティング） -------------------------
 ------------------------------------------------------------ */
.diag-float {
  position: fixed;
  right: 8rem;
  bottom: 8rem;
  z-index: 950;
  width: 400rem;
  max-width: calc(100vw - 16rem);
  max-height: calc(100vh - 16rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16rem);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

.diag-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.diag-float__tab {
  position: fixed;
  right: 0;
  bottom: 120rem;
  z-index: 951;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18rem 20rem;
  border: 0;
  border-radius: 12rem 0 0 12rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: inherit;
  font-size: 16rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: -4rem 0 12rem rgba(0, 22, 122, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(110%);
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.diag-float__tab-text {
  display: block;
}

.diag-float.is-collapsed .diag-float__tab {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.diag-float:not(.is-visible) .diag-widget,
.diag-float:not(.is-visible) .diag-float__tab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.diag-widget {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 16rem);
  padding-top: 20rem;
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.diag-float.is-collapsed .diag-widget {
  transform: translateX(calc(100% + 24rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.diag-widget__collapse {
  position: absolute;
  top: 28rem;
  right: 16rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50rem;
  height: 50rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-navy);
  font-family: inherit;
  font-size: 36rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -6rem;
  cursor: pointer;
  transition: color var(--ease), transform 0.2s ease;
}

.diag-widget__collapse:hover {
  color: var(--color-orange);
  transform: scale(1.08);
}

.diag-widget__collapse span {
  display: block;
  pointer-events: none;
}

.diag-widget__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  margin: 0;
  padding: 8rem 22rem;
  background: var(--color-white);
  border: 2rem solid var(--color-navy);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-size: 14rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translate(-50%, 0);
}

.diag-widget__badge span {
  display: block;
}

.diag-widget__badge::after {
  content: "";
  position: absolute;
  bottom: -9rem;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 9rem 7rem 0 7rem;
  border-color: var(--color-navy) transparent transparent transparent;
}

.diag-widget__badge::before {
  content: "";
  position: absolute;
  bottom: -6rem;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 7rem 5rem 0 5rem;
  border-color: var(--color-white) transparent transparent transparent;
}

.diag-widget__card {
  border: 2rem solid var(--color-navy);
  border-radius: 100rem 0 0 0;
  overflow: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 60rem);
  background: var(--color-white);
  box-shadow: 0 8rem 32rem rgba(0, 22, 122, 0.18);
}

.diag-widget__card.is-quiz .diag-screen--question:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-height: 400rem;
}

.diag-widget__card.is-quiz .diag-screen--question:not([hidden]) .diag-widget__foot {
  flex: 1;
}

.diag-screen[hidden] {
  display: none;
}

.diag-screen:not([hidden]) {
  animation: diag-fade-in 0.3s ease;
}

@keyframes diag-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.diag-widget__head {
  position: relative;
  padding: 30rem 40rem 0 40rem;
  background: var(--color-white);
}

.diag-widget__foot {
  padding: 28rem 24rem 32rem;
  background: var(--color-navy);
  border-top-left-radius: 120rem;
}

.diag-widget__foot--start {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 120rem;
  padding-top: 20rem;
  padding-bottom: 28rem;
}

.diag-start {
  display: flex;
  align-items: center;
  gap: 16rem;
  padding-right: 8rem;
}

.diag-start__illust {
  flex-shrink: 0;
  width: 100rem;
  margin: 0;
}

.diag-start__illust .widget-icon {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.diag-start__title {
  margin: 0;
  color: var(--color-navy);
  font-size: 24rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.diag-start__btn {
  display: inline-flex;
  align-items: center;
  gap: 12rem;
  min-height: 52rem;
  padding: 0 20rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-family: inherit;
  font-size: 18rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow var(--ease);
}

.diag-start__btn:hover {
  background-color: var(--color-gray-light);
}

.diag-start__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28rem;
  height: 28rem;
  border: 2rem solid var(--color-navy);
  border-radius: 50%;
  font-size: 14rem;
  line-height: 1;
}

.diag-question__head {
  display: flex;
  align-items: flex-start;
  gap: 14rem;
  padding-right: 8rem;
}

.diag-question__num {
  flex-shrink: 0;
  margin: 0;
  color: var(--color-navy);
  font-size: 32rem;
  font-weight: 800;
  line-height: 1;
  align-self: center;
}

.diag-question__text {
  margin: 8rem 0 0;
  color: var(--color-navy);
  font-size: 16rem;
  font-weight: 800;
  line-height: 1.65;
  text-align: left;
}

.diag-choices {
  display: flex;
  flex-direction: column;
  gap: 12rem;
}

.diag-choice {
  display: flex;
  align-items: flex-start;
  gap: 8rem;
  width: 100%;
  padding: 14rem 18rem;
  border: 1.5rem solid var(--color-text);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease),
    transform 0.2s ease;
}

.diag-choice:hover {
  border-color: var(--color-navy);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1rem);
}

.diag-choice__label {
  flex-shrink: 0;
  font-weight: 700;
}

.diag-choice__text {
  flex: 1;
}

.diag-result__message {
  margin: 12rem 0 0;
  padding-right: 8rem;
  color: var(--color-navy);
  font-size: 20rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.diag-result__message strong {
  color: var(--color-orange);
  font-size: 44rem;
  font-weight: 800;
  line-height: 1.1;
}

.diag-widget__foot--result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16rem;
  padding-top: 24rem;
}

.diag-result__kicker {
  margin: 0;
  color: var(--color-white);
  font-size: 16rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.diag-result__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380rem;
  min-height: 52rem;
  padding: 12rem 24rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 16rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition: transform 0.2s ease, box-shadow var(--ease);
}

.diag-result__cta:hover {
  background: var(--color-orange);
  }

.diag-result__retry {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-white);
  font-family: inherit;
  font-size: 13rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3rem;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity var(--ease);
}

.diag-result__retry:hover {
  opacity: 1;
}

/* ------------------------- 機能 -------------------------
 ------------------------------------------------------------ */
.sec-functions {
  padding: 30rem 0;
  background: var(--color-white);
}

.fn-block {
  position: relative;
  width: 100%;
  max-width: calc(100% - 330rem);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32rem;
  padding: 80rem 40rem 36rem;
  background: var(--color-white);
  border: 2rem solid var(--color-navy);
  box-shadow: none;
}

.fn-block__tag {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  z-index: 0;
  margin: 0;
  padding: 15rem 60rem 50rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 32rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 0;
  line-height: 1.4;
  border-radius: 0 0 100rem 0;
}

.fn-block--basic {
  overflow: visible;
}

.fn-block--basic .fn-block__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24rem 18rem;
  position: relative;
  z-index: 10;
}

.fn-block--basic .fn-card--basic {
  position: relative;
  overflow: visible;
  width: calc((100% - 40rem) / 3);
  box-sizing: border-box;
  padding: 0 0 10rem;
  border-radius: 70rem 0 0 0;
}

.fn-block--basic .fn-card__head {
  display: flex;
  align-items: center;
  gap: 40rem;
  margin: 0;
}

.fn-block--basic .fn-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80rem;
  height: 80rem;
  margin: 0;
  flex-shrink: 0;
  border: 2rem solid var(--color-orange);
  border-radius: 50%;
  background: var(--color-white);
}

.fn-block--basic .fn-card__icon img {
  width: 60rem;
  height: 60rem;
  object-fit: contain;
}

.fn-block--basic .fn-card h4 {
  margin: 0;
}

.fn-block--basic .fn-card p {
  text-align: center;
  padding: 5rem 15rem 10rem;
}

.fn-block--manage {
  overflow: visible;
}

.fn-block--manage .fn-block__cards--manage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28rem 24rem;
  margin-top: 24rem;
  position: relative;
  z-index: 1;
}

.fn-block--manage .fn-card--manage {
  position: relative;
  overflow: visible;
  width: calc((100% - 24rem) / 2);
  max-width: 500rem;
  box-sizing: border-box;
  padding: 0 0 24rem;
  border-radius: 70rem 0 0 0;
}

.fn-block--manage .fn-card__head {
  display: flex;
  align-items: center;
  gap: 20rem;
  margin: 0;
}

.fn-block--manage .fn-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80rem;
  height: 80rem;
  margin: 0;
  flex-shrink: 0;
  border: 2rem solid var(--color-orange);
  border-radius: 50%;
  background: var(--color-white);
}

.fn-block--manage .fn-card__icon img {
  width: 60rem;
  height: 60rem;
  object-fit: contain;
}

.fn-block--manage .fn-card h4 {
  margin: 0;
}

.fn-block--manage .fn-card p {
  text-align: center;
  padding: 10rem 24rem;
}

.fn-block__pills {
  display: flex;
  justify-content: center;
  top: -30rem;
  left: 50rem;
  gap: 12rem;
  flex-wrap: wrap;
  margin-bottom: 20rem;
  position: relative;
  z-index: 1;
}

.fn-block__pills span {
  padding: 6rem 18rem;
  border: 1.5rem solid var(--color-navy);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-size: 16rem;
  font-weight: 700;
}

.fn-block__catch {
  margin: -20rem 0 30rem;
  color: var(--color-navy);
  font-size: 22rem;
  font-weight: 800;
  text-align: center;
}

.fn-block__catch-br {
  display: none;
}

.fn-block__catch strong {
  display: inline-block;
  background-image: linear-gradient(transparent 30%, var(--color-orange-light) 100%);
  font-size: 28rem;
  font-weight: 800;
}

.fn-block__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10rem;
}

.fn-card {
  display: block;
  padding: 24rem 20rem;
  border: 2rem solid var(--color-orange);
  color: var(--color-text);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), color var(--ease);
}

.fn-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-orange);
  margin-bottom: 14rem;
}

.fn-card__icon img,
.fn-card__icon svg {
  width: 80rem;
  height: 80rem;
}

.fn-card h4,
.fn-mini h4 {
  margin: 0 0 10rem;
  color: var(--color-navy);
  font-size: 24rem;
  font-weight: 800;
  line-height: 1.4;
}

.fn-card__sub {
  font-size: 15rem;
  font-weight: 700;
}

.fn-card p,
.fn-mini p {
  margin: 0;
  color: var(--color-text);
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.8;
}

.fn-block__link {
  margin: 28rem 0 0;
  text-align: center;
  color: var(--color-navy);
  font-size: 16rem;
}

.fn-block__link a {
  color: var(--color-navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4rem;
  transition: color var(--ease);
  font-size: 18rem;
}

.fn-block__link a:hover {
  color: var(--color-orange);
}

.fn-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10rem;
  position: relative;
  z-index: 1;
}

.fn-mini {
  padding: 20rem 12rem;
  border: 2rem solid var(--color-orange);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  text-align: center;
}

/* ----------------------------------------
   CV
   ---------------------------------------- */
.cv {
  padding: 40rem 0 50rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffe7d2 42%, var(--color-orange) 100%);
}
  
  .cv__shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    padding: 0;
    max-width: 1280rem;
  }
  
  .cv-card {
    display: flex;
    align-items: center;
    gap: 0rem;
    min-height: 220rem;
    padding: 36rem 40rem;
    border: 2px solid var(--color-orange);
    border-radius: 20rem;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }
  
  .cv-card--demo {
    display: block;
    background: #ffebd8;
  }
  
  .cv-card__visual {
    flex-shrink: 0;
    width: 280rem;
  }
  
  .cv-card__visual img {
    display: block;
    width: 80%;
    height: auto;
  }
  
  .cv-card__note {
    margin-bottom: 18rem;
    color: var(--color-navy);
    font-size: 18rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: center;
  }
  
  .cv-card--dl .btn {
    min-width: 260rem;
  }
  
  .cv-card__title {
    margin-bottom: 10rem;
    color: var(--color-navy);
    font-size: 22rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
  }
  
  .cv-card__text {
    margin-bottom: 20rem;
    color: var(--color-navy);
    font-size: 15rem;
    font-weight: 700;
    text-align: center;
  }
  
  .demo-form--cv {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: var(--radius-pill);
    margin-bottom: 12rem;
  }

  .demo-form--cv input {
    min-width: 0;
    width: auto;
    min-height: 40rem;
    padding: 0 12rem;
    font-size: 12rem;
  }

  .demo-form--cv input[name="company"] {
    flex: 2 1 0;
  }

  .demo-form--cv input[name="email"] {
    flex: 3 1 0;
    border-left: 1px solid rgba(0, 22, 122, 0.12);
  }

  .demo-form--cv .btn--demo {
    width: auto;
    flex-shrink: 0;
    min-width: 128rem;
    min-height: 40rem;
    padding: 0 16rem;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  }
  
  .cv-card__disclaimer {
    color: var(--color-navy);
    font-size: 12rem;
    font-weight: 500;
    margin-left: 20rem;
  }

/* ----------------------------------------
   会社概要
   ---------------------------------------- */
.sec-company {
  padding: 48rem 0 60rem;
  background: var(--color-white);
}

.company-table {
  width: 800rem;
  max-width: calc(100% - 40rem);
  margin: 0 auto;
  text-align: left;
}

.company-table__row {
  display: grid;
  grid-template-columns: 200rem 1fr;
  gap: 32rem;
  align-items: baseline;
  margin: 0;
  padding: 20rem 0 20rem 100rem;
  border-bottom: 1px solid var(--color-line);
}

.company-table__row:first-child {
  border-top: 1px solid var(--color-line);
}

.company-table__row dt,
.company-table__row dd {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-size: 16rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: left;
}

.company-table__row dd a {
  color: #1a5fd4;
  text-decoration: underline;
  text-underline-offset: 3rem;
}

.company-table__row dd a:hover {
  color: var(--color-navy);
}

/* ------------------------- フッター -------------------------
 ------------------------------------------------------------ */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80rem;
  min-height: 180rem;
  padding: 48rem 120rem;
}

.footer__name {
  margin-bottom: 8rem;
  font-size: 36rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer__dept {
  margin-bottom: 10rem;
  font-size: 20rem;
  font-weight: 700;
}

.footer__tel {
  font-size: 32rem;
  font-weight: 700;
}

.footer__tel span {
  margin-left: 8rem;
  font-size: 16rem;
  font-weight: 500;
}

.footer__bsol {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500rem;
  min-height: 100rem;
  margin-left: 88rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.footer__bsol img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer__bsol:hover {
  transform: translateY(-2rem);
  box-shadow: var(--shadow-btn-hover);
}

.footer__bsol span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44rem;
  padding: 0 36rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  font-size: 18rem;
  font-weight: 800;
}

/* ----- Back to top / modal ----- */
.back-to-top {
  position: fixed;
  right: 28rem;
  bottom: 28rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  background: var(--color-white);
  border: 2rem solid var(--color-navy);
  color: var(--color-navy);
  font-size: 18rem;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  transition: background var(--ease), color var(--ease);
}

.back-to-top:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

body.diag-float-open .back-to-top {
  bottom: calc(8rem + min(320rem, 45vh));
}

/* ========================================
  SP（375基準）
   ======================================== */
@media (max-width: 767px) {
  :root {
    --header-height: 64rem;
  }

  html {
    font-size: calc(100vw / 375);
  }

  .lp,
  .shell {
    width: 100%;
    max-width: 100%;
  }

  .full-bleed {
    width: 100%;
    margin-left: 0;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header__inner {
    padding: 0 16rem;
  }

  .header__logo img {
    height: 32rem;
  }

  .header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44rem;
    height: 44rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .header__toggle span,
  .header__toggle span::before,
  .header__toggle span::after {
    display: block;
    width: 22rem;
    height: 2rem;
    background: var(--color-navy);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .header__toggle span {
    position: relative;
  }

  .header__toggle span::before,
  .header__toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .header__toggle span::before {
    top: -7rem;
  }

  .header__toggle span::after {
    top: 7rem;
  }

  .header.is-open .header__toggle span {
    background: transparent;
  }

  .header.is-open .header__toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header.is-open .header__toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12rem 16rem 20rem;
    background: var(--color-white);
    box-shadow: 0 12rem 24rem rgba(0, 22, 122, 0.12);
  }

  .header.is-open .header__nav {
    display: flex;
  }

  .header__nav > a:not(.btn) {
    display: block;
    padding: 12rem 0;
    border-bottom: 1px solid var(--color-line);
    text-align: center;
  }

  .header__item {
    width: 100%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--color-line);
  }

  .header__item:hover,
  .header__item:focus-within {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
  }

  .header__item-trigger {
    display: block;
    width: 100%;
    padding: 12rem 0;
    text-align: center;
  }

  .header__item-trigger::after {
    display: none;
  }

  .header__sub {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10rem;
    width: 100%;
    min-width: 0;
    padding: 0 16rem 12rem;
    justify-content: center;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
  }

  .header__sub a {
    flex: 1;
    max-width: calc(50% - 5rem);
    padding: 5rem 8rem;
    border: 1rem solid var(--color-navy);
    border-radius: var(--radius-pill);
    text-align: center;
    font-size: 14rem;
    white-space: normal;
  }

  .header__sub a:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
  }

  .header__nav .btn {
    margin: 8rem 0 0;
    width: 100%;
  }

  .btn {
    min-height: 44rem;
    padding: 0 18rem;
    font-size: 14rem;
  }

  .btn--sm {
    min-height: 38rem;
    padding: 0 12rem;
    font-size: 13rem;
  }

  .btn--lg {
    min-height: 44rem;
    width: auto;
    padding: 0 16rem;
    font-size: 14rem;
  }

  .sec-fv {
    min-height: 0;
    overflow: hidden;
  }

  .sec-fv__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "intro";
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 16rem 16rem 24rem;
    gap: 30rem;
  }

  .sec-fv__copy {
    margin-top: 12rem;
  }

  .sec-fv__subtitle {
    margin: 0 0 8rem;
    font-size: 16rem;
    line-height: 1.6;
  }

  .sec-fv__title {
    display: block;
    margin-top: 12rem;
    margin-bottom: 16rem;
    font-size: 24rem;
    line-height: 1.45;
  }

  .sec-fv__lead {
    margin: 0 0 20rem;
    max-width: none;
    font-size: 13rem;
    line-height: 1.7;
  }

  .sec-fv__cta {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8rem;
  }

  .sec-fv__cta .btn {
    flex: 1;
    width: auto;
    min-width: 0;
    min-height: 40rem;
    padding: 0 10rem;
    font-size: 13rem;
  }



  .sec-fv__visual {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .sec-fv__shot {
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    width: 88%;
    max-width: 100%;
    z-index: 1;
  }

  .fv-layer--1,
  .fv-layer--2 {
    display: none;
  }

  .fv-layer--3 {
    position: static;
    inset: auto;
    margin-top: 0;
    right: auto;
  }

  .fv-chip {
    z-index: 5;
    font-size: 11rem;
    padding: 6rem 12rem;
  }

  .fv-chip--1 {
    top: 25rem;
    right: 0;
  }

  .fv-chip--2 {
    top: 60rem;
    right: 0;
  }

  .fv-chip--3 {
    top: 95rem;
    right: 0;
  }

  .fv-solve {
    position: absolute;
    top: 122rem;
    right: 0;
    left: auto;
    z-index: 5;
    margin: 0;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .fv-solve img {
    width: 50%;
    height: auto;
  }

  .logo-tenamo {
    width: 96rem;
  }

  .fv-solve__text {
    font-size: 18rem;
  }

  .fv-demo-card {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    z-index: 2;
    width: 80%;
    margin-top: 8rem;
    margin-left: auto;
    margin-right: auto;
    padding: 12rem 0 24rem;
  }

  .fv-demo-card__field {
    gap: 4rem;
  }

  .fv-demo-card__form .input-text,
  .fv-demo-card__form .input-email {
    width: 100%;
    font-size: 13rem;
    padding: 0 14rem;
  }

  .fv-demo-card__form .btn--demo {
    min-height: 30rem;
    width: auto;
    font-size: 12rem;
    padding: 5rem;
  }

  .fv-demo-card__lead {
    font-size: 14rem;
  }

  .sec-intro {
    position: relative;
    z-index: 4;
    margin-top: 8rem;
    padding: 0 0 8rem;
  }

  .sec-intro__card {
    padding: 0;
  }

  .sec-intro__title {
    font-size: 18rem;
  }

  .sec-intro__lead {
    font-size: 13rem;
    line-height: 1.8;
    text-align: left;
  }

  .sec-heading {
    font-size: 26rem;
    margin-bottom: 0rem;
  }

  .sec-merit {
    padding: 20rem 0;
  }

  .merit-grid {
    padding: 24rem 16rem 0;
    gap: 16rem 10rem;
  }

  .merit-card {
    width: calc((100% - 10rem) / 2);
    min-height: 0;
    padding: 28rem 10rem 14rem;
  }

  .merit-card__header {
    min-height: calc(15rem * 1.4 * 2);
    margin-bottom: 8rem;
  }

  .merit-card__num {
    top: -6rem;
    left: 8rem;
    width: 32rem;
    height: 32rem;
    padding-top: 6rem;
    font-size: 12rem;
  }

  .merit-card__title {
    font-size: 14rem;
    line-height: 1.4;
  }

  .merit-card__title .u-num-lg {
    font-size: 16rem;
  }

  .merit-card__text {
    font-size: 12rem;
    line-height: 1.65;
  }

  .sec-merit__cta {
    margin-top: 20rem;
    text-align: center;
  }

  .diag-float {
    display: none !important;
  }

  .diag-float__tab {
    bottom: 80rem;
    padding: 14rem 8rem;
    font-size: 12rem;
  }

  .diag-widget {
    max-height: calc(100vh - 16rem);
    padding-top: 16rem;
  }

  .diag-widget__card.is-quiz .diag-screen--question:not([hidden]) {
    min-height: 380rem;
  }

  .diag-widget__collapse {
    top: 24rem;
    right: 12rem;
    width: 32rem;
    height: 32rem;
    font-size: 18rem;
  }

  .diag-widget__badge {
    font-size: 14rem;
    padding: 6rem 16rem;
  }

  .diag-widget__head {
    padding: 32rem 44rem 22rem 18rem;
  }

  .diag-widget__foot {
    padding: 22rem 16rem 26rem;
    border-top-left-radius: 80rem;
  }

  .diag-start {
    flex-direction: column;
    align-items: center;
    padding-right: 0;
    text-align: center;
  }

  .diag-start__illust {
    width: 96rem;
  }

  .diag-start__title {
    font-size: 22rem;
    text-align: center;
  }

  .diag-widget__foot--start {
    min-height: 100rem;
    justify-content: center;
  }

  .diag-start__btn {
    width: 100%;
    justify-content: center;
    font-size: 16rem;
  }

  .diag-question__head {
    flex-direction: column;
    gap: 8rem;
    padding-right: 28rem;
  }

  .diag-question__num {
    font-size: 40rem;
  }

  .diag-question__text {
    margin: 0;
    font-size: 14rem;
  }

  .diag-choice {
    padding: 12rem 14rem;
    font-size: 13rem;
    border-radius: 999rem;
  }

  .diag-result__message {
    font-size: 18rem;
    padding-right: 0;
  }

  .diag-result__message strong {
    font-size: 44rem;
  }

  .diag-result__cta {
    font-size: 13rem;
    min-height: 48rem;
  }

  .demo-form {
    flex-direction: column;
    border-radius: 16rem;
    padding: 8rem;
    gap: 8rem;
  }

  .demo-form input,
  .demo-form .btn--demo {
    width: 100%;
    min-height: 44rem;
    height: 44rem;
  }

  .demo-form--cv {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    gap: 0;
    border-radius: var(--radius-pill);
  }

  .demo-form--cv input {
    flex: 1;
    min-width: 0;
    width: auto;
    min-height: 38rem;
    height: 38rem;
    padding: 0 8rem;
    font-size: 11rem;
  }

  .demo-form--cv input[name="company"] {
    flex: 2 1 0;
  }

  .demo-form--cv input[name="email"] {
    flex: 3 1 0;
    border-left: 1px solid rgba(0, 22, 122, 0.12);
  }

  .demo-form--cv .btn--demo {
    flex: 0 0 auto;
    width: auto;
    min-width: 96rem;
    min-height: 38rem;
    height: 38rem;
    padding: 0 10rem;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    font-size: 11rem;
  }

  .sec-functions {
    padding: 48rem 0 40rem;
  }

  .fn-block {
    width: auto;
    max-width: none;
    margin: 0 16rem 20rem;
    padding: 48rem 14rem 20rem;
  }

  .fn-block__tag {
    padding: 10rem 30rem 30rem;
    font-size: 22rem;
  }

  .fn-block--basic .fn-block__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10rem;
    margin-top: 0;
  }

  .fn-block--manage .fn-block__cards--manage {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10rem;
    margin-top: 0;
  }

  .fn-block--basic .fn-card--basic {
    width: auto;
    flex: none;
    max-width: none;
    padding: 10rem 6rem;
    border-radius: 0;
  }

  .fn-block--basic .fn-card--basic:first-child {
    grid-column: 1 / -1;
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .fn-block--manage .fn-card--manage {
    width: calc(50% - 5rem);
    flex: 1;
    max-width: none;
    padding: 10rem 6rem;
    border-radius: 0;
  }

  .fn-block--basic .fn-card__head {
    flex-direction: column;
    align-items: center;
    gap: 8rem;
    margin: 0 0 8rem;
    text-align: center;
  }

  .fn-block--manage .fn-card__head {
    flex-direction: column;
    align-items: center;
    gap: 8rem;
    margin: 0 0 8rem;
    text-align: center;
  }

  .fn-block--basic .fn-card__icon,
  .fn-block--manage .fn-card__icon {
    width: 55rem;
    height: 55rem;
  }

  .fn-block--basic .fn-card__icon img,
  .fn-block--manage .fn-card__icon img {
    width: 30rem;
    height: 30rem;
  }

  .fn-block--manage .fn-card h4 {
    font-size: 16rem;
  }

  .fn-block--basic .fn-card h4 {
    font-size: 16rem;
  }

  .fn-block--basic .fn-card p {
    padding: 0 4rem 6rem;
    font-size: 11rem;
    line-height: 1.6;
  }

  .fn-block--basic .fn-card p br {
    display: none;
  }

  .fn-block--manage .fn-card p {
    padding: 0 4rem 6rem;
    font-size: 11rem;
    line-height: 1.6;
  }

  .fn-block__cards {
    grid-template-columns: 1fr;
  }

  .fn-other-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
  }

  .fn-mini {
    padding: 14rem 8rem;
  }

  .fn-mini h4 {
    margin: 0 0 6rem;
    font-size: 16rem;
  }

  .fn-mini p {
    font-size: 12rem;
    line-height: 1.6;
  }

  .fn-mini p br {
    display: none;
  }

  .fn-block__pills {
    top: 20rem;
    left: 0;
    gap: 8rem;
    margin-bottom: 12rem;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    justify-items: center;
  }

  .fn-block__pills span {
    padding: 4rem 10rem;
    font-size: 12rem;
  }

  .fn-block__pills span:first-child {
    grid-column: 1 / -1;
  }

  .fn-block__catch {
    margin: 30rem 0 20rem;
    font-size: 16rem;
    line-height: 1.6;
  }

  .fn-block__catch-br {
    display: block;
  }

  .fn-block__catch strong {
    font-size: 20rem;
  }

  /* CV */
  .cv {
    padding: 40rem 0 40rem;
  }

  .cv__shell {
    display: flex;
    flex-direction: column;
    gap: 16rem;
    padding: 0 16rem;
  }

  .cv-card {
    flex-direction: column;
    gap: 16rem;
    min-height: 0;
    padding: 24rem 18rem;
  }

  .cv-card__visual {
    width: 180rem;
  }

  .cv-card__note,
  .cv-card__title {
    font-size: 14rem;
  }

  .cv-card__text {
    font-size: 12rem;
  }

  .cv-card--dl .btn,
  .cv-card .btn {
    width: 100%;
    min-width: 0;
  }

  .cv-card__disclaimer {
    font-size: 11rem;
  }

  .sec-company {
    padding: 32rem 0 40rem;
  }

  .company-table {
    width: 100%;
    max-width: none;
    padding: 0 20rem;
    margin: 0 auto;
    text-align: left;
  }

  .company-table__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    padding: 14rem 40rem;
  }

  .company-table__row dt,
  .company-table__row dd {
    font-size: 13rem;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .company-table__row dt {
    color: var(--color-muted);
    font-size: 12rem;
    font-weight: 700;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24rem;
    min-height: 0;
    padding: 32rem 20rem 40rem;
  }

  .footer__name {
    font-size: 20rem;
  }

  .footer__dept {
    font-size: 15rem;
  }

  .footer__tel {
    font-size: 16rem;
  }

  .footer__tel span {
    display: block;
    margin: 6rem 0 0;
    font-size: 12rem;
  }

  .footer__bsol {
    width: 100%;
    min-height: 72rem;
    margin-left: 0;
  }

  .footer__bsol span {
    font-size: 14rem;
    padding: 0 20rem;
  }

  .back-to-top {
    display: none;
  }
}
