/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* =========================================================
   MACROMAN Modern LP
   すべて .mm-auto 配下に限定し、既存サイトへ影響しにくい設計です。
   ========================================================= */

/* =========================================================
   MACROMAN Modern LP
   すべて .mm-auto 配下に限定し、既存サイトへ影響しにくい設計です。
   ========================================================= */

.mm-auto {
  --mm-main: #e08025;
  --mm-main-dark: #bd6414;
  --mm-main-soft: #fff3e6;
  --mm-accent: #c92b26;
  --mm-accent-dark: #a91f1b;
  --mm-ink: #2b2521;
  --mm-text: #5f5751;
  --mm-muted: #8c8179;
  --mm-line: #eadfd5;
  --mm-white: #ffffff;
  --mm-cream: #fffaf5;
  --mm-cream-strong: #fff3e8;
  --mm-shadow: 0 18px 50px rgba(81, 48, 25, 0.1);
  --mm-shadow-soft: 0 10px 32px rgba(81, 48, 25, 0.07);
  --mm-radius-sm: 12px;
  --mm-radius-md: 20px;
  --mm-radius-lg: 32px;
  --mm-container: 1180px;

  color: var(--mm-ink);
  background: var(--mm-white);
  font-family:
    "BIZ UDPGothic",
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow: clip;
}

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

.mm-auto img,
.mm-auto svg {
  display: block;
}

.mm-auto img {
  max-width: 100%;
}

.mm-auto a {
  color: inherit;
  text-decoration: none;
}

.mm-auto button,
.mm-auto input,
.mm-auto textarea,
.mm-auto select {
  font: inherit;
}

.mm-auto [id] {
  scroll-margin-top: 92px;
}

.mm-auto__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.mm-auto-section {
  padding-block: clamp(72px, 8vw, 124px);
}

.mm-auto-section-label,
.mm-auto-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--mm-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mm-auto-section-label::before,
.mm-auto-eyebrow > span {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--mm-main);
  content: "";
}

.mm-auto-section-title {
  margin: 0;
  color: var(--mm-ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.38;
  text-align: center;
}

.mm-auto-section-title strong {
  color: var(--mm-accent);
}

.mm-auto-section-title > span {
  display: block;
  margin-bottom: 10px;
  color: var(--mm-accent);
  font-size: 0.44em;
  letter-spacing: 0.04em;
}

.mm-auto-section-title--left {
  text-align: left;
}

.mm-auto-section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 70px);
  text-align: center;
}

.mm-auto-section-head .mm-auto-section-label {
  justify-content: center;
}

.mm-auto-section-head > p:last-child {
  margin: 18px 0 0;
  color: var(--mm-text);
}

.mm-auto-section-head--row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
}

.mm-auto-section-head--row .mm-auto-section-label {
  justify-content: flex-start;
}

.mm-auto-btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s ease,
    border-color 0.38s ease;
}

.mm-auto-btn svg,
.mm-auto-text-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mm-auto-btn:hover,
.mm-auto-text-link:hover {
  transform: translateY(-1px);
}

.mm-auto-btn--main {
  color: var(--mm-white);
  background: linear-gradient(135deg, var(--mm-main), #ec9b42);
  box-shadow: 0 12px 28px rgba(224, 128, 37, 0.26);
}

.mm-auto-btn--main:hover {
  box-shadow: 0 16px 34px rgba(224, 128, 37, 0.34);
}

.mm-auto-btn--outline {
  color: var(--mm-accent);
  border-color: rgba(201, 43, 38, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.mm-auto-btn--ghost {
  color: var(--mm-main-dark);
  border-color: rgba(224, 128, 37, 0.26);
  background: var(--mm-white);
}

.mm-auto-btn--small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.8rem;
}

.mm-auto .mm-auto-btn--white {
  color: var(--mm-accent) !important;
  background: var(--mm-white) !important;
  box-shadow: 0 12px 28px rgba(99, 18, 15, 0.18);
  -webkit-text-fill-color: var(--mm-accent);
}

.mm-auto .mm-auto-btn--white svg {
  color: var(--mm-accent) !important;
  stroke: var(--mm-accent) !important;
}

.mm-auto-btn--white-outline {
  color: var(--mm-white);
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.mm-auto-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mm-accent);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

/* Header */
.mm-auto-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 223, 213, 0.8);
  background: rgba(255, 255, 255, 0.96);
}

.mm-auto-header__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 28px;
}

.mm-auto-header__logo {
  display: flex;
  width: 140px;
  flex: 0 0 auto;
  align-items: center;
}

.mm-auto-header__logo img,
.mm-auto-footer__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mm-auto-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}

.mm-auto-header__nav a {
  position: relative;
  padding-block: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.mm-auto-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--mm-main);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.mm-auto-header__nav a:hover::after {
  transform: scaleX(1);
}

.mm-auto-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero */
.mm-auto-hero {
  position: relative;
  padding-block: clamp(64px, 7vw, 108px);
  background:
    radial-gradient(circle at 82% 18%, rgba(224, 128, 37, 0.14), transparent 29%),
    linear-gradient(180deg, #fff 0%, var(--mm-cream) 100%);
}

.mm-auto-hero::after {
  position: absolute;
  right: -5%;
  bottom: -86px;
  left: -5%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: var(--mm-cream-strong);
  content: "";
  transform: translateY(55%);
}

.mm-auto-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
}

.mm-auto-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
}

.mm-auto-hero__title-line {
  display: inline-block;
  white-space: nowrap;
}

.mm-auto-hero__title em {
  color: var(--mm-accent);
  font-style: normal;
}

.mm-auto-hero__lead {
  margin: 28px 0 0;
  color: var(--mm-text);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.85;
}

.mm-auto-check-list {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.mm-auto-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mm-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.mm-auto-check-list svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--mm-white);
  background: var(--mm-main);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.mm-auto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.mm-auto-hero__note {
  margin: 14px 0 0;
  color: var(--mm-muted);
  font-size: 0.76rem;
}

.mm-auto-hero__visual {
  position: relative;
  min-width: 0;
  padding: 28px 36px 50px 0;
}

.mm-auto-dashboard {
  overflow: hidden;
  border: 1px solid rgba(234, 223, 213, 0.9);
  border-radius: var(--mm-radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mm-shadow);
  transform: rotate(-1deg);
}

.mm-auto-dashboard__bar {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid #eee6df;
  background: #fbf8f5;
}

.mm-auto-dashboard__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd1c7;
}

.mm-auto-dashboard__bar span:first-child {
  background: var(--mm-accent);
}

.mm-auto-dashboard__bar strong {
  margin-left: 8px;
  color: #7e736b;
  font-size: 0.66rem;
}

.mm-auto-dashboard__body {
  display: grid;
  min-height: 390px;
  grid-template-columns: 72px 1fr;
}

.mm-auto-dashboard__side {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px 20px;
  background: #fff7ef;
}

.mm-auto-dashboard__side i {
  width: 30px;
  height: 8px;
  border-radius: 999px;
  background: rgba(224, 128, 37, 0.28);
}

.mm-auto-dashboard__side i:first-child {
  height: 30px;
  border-radius: 9px;
  background: var(--mm-main);
}

.mm-auto-dashboard__main {
  padding: 28px;
}

.mm-auto-dashboard__stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.mm-auto-dashboard__stats > div {
  padding: 18px;
  border: 1px solid #eee5dc;
  border-radius: 14px;
  background: #fff;
}

.mm-auto-dashboard__stats small {
  display: block;
  color: #8f8279;
  font-size: 0.64rem;
}

.mm-auto-dashboard__stats b {
  display: block;
  margin-top: 7px;
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: -0.04em;
}

.mm-auto-dashboard__stats em {
  margin-left: 3px;
  color: var(--mm-main);
  font-size: 0.58em;
  font-style: normal;
}

.mm-auto-dashboard__content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  grid-template-columns: 0.75fr 1.25fr;
}

.mm-auto-dashboard__tasks,
.mm-auto-dashboard__chart {
  min-height: 210px;
  border: 1px solid #eee5dc;
  border-radius: 15px;
  background: #fff;
}

.mm-auto-dashboard__tasks {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 20px;
}

.mm-auto-dashboard__tasks span {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3ece6;
}

.mm-auto-dashboard__tasks span::after {
  display: block;
  width: var(--task-width, 68%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mm-main), #f0b26f);
  content: "";
}

.mm-auto-dashboard__tasks span:nth-child(2) {
  --task-width: 45%;
}

.mm-auto-dashboard__tasks span:nth-child(3) {
  --task-width: 82%;
}

.mm-auto-dashboard__tasks span:nth-child(4) {
  --task-width: 58%;
}

.mm-auto-dashboard__chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
  padding: 28px 22px 22px;
  overflow: hidden;
}

.mm-auto-dashboard__chart i {
  width: 17px;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: rgba(224, 128, 37, 0.18);
}

.mm-auto-dashboard__chart svg {
  position: absolute;
  inset: 24px 18px 28px;
  width: calc(100% - 36px);
  height: calc(100% - 52px);
}

.mm-auto-dashboard__chart path {
  fill: none;
  stroke: var(--mm-accent);
  stroke-linecap: round;
  stroke-width: 4;
}

.mm-auto-hero__mascot {
  position: absolute;
  right: -16px;
  bottom: -12px;
  width: clamp(104px, 14vw, 160px);
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(70, 35, 20, 0.12));
}

.mm-auto-floating-card {
  position: absolute;
  display: grid;
  min-width: 128px;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(234, 223, 213, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mm-shadow-soft);
  backdrop-filter: blur(8px);
}

.mm-auto-floating-card span {
  color: var(--mm-muted);
  font-size: 0.66rem;
}

.mm-auto-floating-card strong {
  color: var(--mm-accent);
  font-size: 1.05rem;
}

.mm-auto-floating-card--time {
  top: 4px;
  right: 14px;
}

.mm-auto-floating-card--free {
  bottom: 20px;
  left: -28px;
}

.mm-auto-hero__dots {
  position: absolute;
  width: 170px;
  height: 170px;
  opacity: 0.5;
  background-image: radial-gradient(var(--mm-main) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
}

.mm-auto-hero__dots--left {
  bottom: 20px;
  left: -58px;
}

.mm-auto-hero__dots--right {
  top: 20px;
  right: -30px;
}

/* About */
.mm-auto-about {
  position: relative;
  z-index: 2;
  background: var(--mm-cream-strong);
}

.mm-auto-about__grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.mm-auto-about__copy > p:not(.mm-auto-section-label) {
  margin: 22px 0 0;
  color: var(--mm-text);
}

.mm-auto-about__copy .mm-auto-text-link {
  margin-top: 28px;
}

/* ========================================
   YouTube動画カード
   ======================================== */

.mm-auto .mm-auto-video-card {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  box-shadow: var(--mm-shadow);
}

.mm-auto .mm-auto-video-cover {
  cursor: pointer;
}

.mm-auto .mm-auto-video-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.mm-auto .mm-auto-video-cover:hover .mm-auto-video-cover__image {
  filter: brightness(0.92);
  transform: scale(1.015);
}

.mm-auto .mm-auto-video-cover__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 52px;
  border-radius: 15px;
  background: #ff0033;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  place-items: center;
  transform: translate(-50%, -50%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mm-auto .mm-auto-video-cover__play::after {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
  content: "";
}

.mm-auto .mm-auto-video-cover:hover .mm-auto-video-cover__play {
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) scale(1.04);
}

.mm-auto .mm-auto-video-card iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 古い仮表示パーツを無効化 */
.mm-auto .mm-auto-video-card__placeholder,
.mm-auto .mm-auto-video-card__embed,
.mm-auto .mm-auto-video-card > p {
  display: none;
}

.mm-auto .mm-auto-video-card.is-playing iframe {
  display: block;
}
/* YouTube再生時の細い黒縁を隠す */
.mm-auto .mm-auto-video-card {
  background: #fff !important;
  isolation: isolate;
  clip-path: inset(0 round 24px);
}

.mm-auto .mm-auto-video-card.is-playing iframe {
  position: absolute;
  inset: -2px !important;
  width: calc(100% + 4px) !important;
  height: calc(100% + 4px) !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
/* Features */
.mm-auto-features {
  position: relative;
  z-index: 2;
  background: var(--mm-white);
}

.mm-auto-feature-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-auto-feature-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-md);
  background: var(--mm-white);
  box-shadow: 0 7px 22px rgba(79, 49, 29, 0.04);
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.mm-auto-feature-card:hover {
  border-color: rgba(224, 128, 37, 0.38);
  background: #fffdfb;
  box-shadow: 0 7px 22px rgba(79, 49, 29, 0.04);
  transform: none;
}

.mm-auto-icon-box {
  display: grid;
  width: 68px;
  height: 68px;
  border-radius: 19px;
  color: var(--mm-main);
  place-items: center;
  background: var(--mm-main-soft);
}

.mm-auto-icon-box svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.mm-auto-feature-card:nth-child(3n + 2) .mm-auto-icon-box {
  color: var(--mm-accent);
  background: #fff0ef;
}

.mm-auto-feature-card h3 {
  margin: 22px 0 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.55;
}

.mm-auto-feature-card p {
  margin: 12px 0 0;
  color: var(--mm-text);
  font-size: 0.84rem;
  line-height: 1.75;
}

.mm-auto-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.mm-auto-chip-list span {
  padding: 8px 16px;
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  color: var(--mm-text);
  background: var(--mm-white);
  font-size: 0.76rem;
  font-weight: 700;
}

/* Proof */
.mm-auto-proof {
  padding-bottom: clamp(72px, 8vw, 120px);
  background: var(--mm-white);
}

.mm-auto-proof__box {
  display: grid;
  position: relative;
  align-items: center;
  gap: 30px;
  padding: 28px clamp(28px, 5vw, 60px);
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  color: var(--mm-white);
  background:
    radial-gradient(circle at 93% 50%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(135deg, var(--mm-main) 0%, var(--mm-accent) 100%);
  box-shadow: 0 22px 50px rgba(201, 43, 38, 0.18);
  grid-template-columns: 110px minmax(220px, 0.8fr) minmax(360px, 1.4fr);
}

.mm-auto-proof__box > img {
  width: 96px;
  height: auto;
  align-self: end;
  margin-bottom: -35px;
}

.mm-auto-proof__headline span {
  font-size: 0.8rem;
  font-weight: 800;
}

.mm-auto-proof__headline strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.mm-auto-proof__headline small {
  margin-left: 4px;
  font-size: 0.42em;
}

.mm-auto-proof__headline p {
  margin: 8px 0 0;
  font-size: 0.74rem;
  opacity: 0.82;
}

.mm-auto-proof__logos {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mm-auto-proof__logos span {
  display: grid;
  min-height: 54px;
  padding: 10px;
  border-radius: 10px;
  color: #6d5448;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

/* Tools */
.mm-auto-tool-grid {
  display: grid;
  max-width: 820px;
  margin-inline: auto;
  justify-content: center;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-auto-tool {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: var(--mm-white);
  box-shadow: 0 6px 16px rgba(76, 49, 31, 0.04);
  text-align: center;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.mm-auto-tool:hover {
  border-color: rgba(224, 128, 37, 0.3);
  background: #fffdfb;
  box-shadow: 0 10px 24px rgba(81, 48, 25, 0.06);
}

.mm-auto-tool span {
  color: var(--mm-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.mm-auto-tools__note {
  margin: 30px 0 0;
  color: var(--mm-text);
  font-size: 0.78rem;
  text-align: center;
}

/* Cases */
.mm-auto-cases {
  background:
    linear-gradient(180deg, rgba(255, 243, 232, 0.86), rgba(255, 250, 245, 0.65));
}

.mm-auto-case-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-auto-case-card {
  overflow: hidden;
  border: 1px solid rgba(234, 223, 213, 0.9);
  border-radius: var(--mm-radius-md);
  background: var(--mm-white);
  box-shadow: var(--mm-shadow-soft);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-auto-case-card:hover {
  box-shadow: 0 16px 42px rgba(81, 48, 25, 0.11);
  transform: translateY(-2px);
}

.mm-auto-case-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.mm-auto-case-card__media {
  display: grid;
  aspect-ratio: 1.55;
  overflow: hidden;
  place-items: center;
  background: #f4eee8;
}

.mm-auto-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-auto-case-card:hover .mm-auto-case-card__media img {
  transform: scale(1.012);
}

.mm-auto-case-card__media svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mm-auto-case-card__media--1 {
  background: linear-gradient(135deg, #ecaa65, #d66d20);
}

.mm-auto-case-card__media--2 {
  background: linear-gradient(135deg, #d8625e, #9e2421);
}

.mm-auto-case-card__media--3 {
  background: linear-gradient(135deg, #6f8da2, #39596c);
}

.mm-auto-case-card__media--4 {
  background: linear-gradient(135deg, #7f9e73, #4d7244);
}

.mm-auto-case-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.mm-auto-case-card__body > span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--mm-accent);
  background: #fff0ef;
  font-size: 0.65rem;
  font-weight: 800;
}

.mm-auto-case-card h3 {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.65;
}

.mm-auto-case-card p {
  margin: 14px 0 0;
  color: var(--mm-muted);
  font-size: 0.72rem;
}

.mm-auto-case-card__body > b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--mm-accent);
  font-size: 0.74rem;
  font-weight: 900;
}

.mm-auto-case-card__body > b svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Support */
.mm-auto-support {
  background: var(--mm-white);
}

.mm-auto-support__layout {
  position: relative;
  display: grid;
  gap: 22px;
  padding-right: 150px;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
}

.mm-auto-support-grid {
  display: grid;
  align-items: stretch;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mm-auto-support-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-md);
  background: var(--mm-cream);
}

.mm-auto-support-card__number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(201, 43, 38, 0.15);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.mm-auto-support-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  place-items: center;
  background: var(--mm-white);
  box-shadow: 0 8px 18px rgba(68, 43, 28, 0.08);
  font-size: 1.8rem;
}

.mm-auto-support-card h3 {
  margin: 22px 0 0;
  font-size: 1rem;
  font-weight: 900;
}

.mm-auto-support-card p {
  margin: 12px 0 0;
  color: var(--mm-text);
  font-size: 0.8rem;
}

.mm-auto-support-menu {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mm-auto-support-menu a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  background: var(--mm-white);
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    border-color 0.38s ease,
    background 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-auto-support-menu a:hover {
  border-color: rgba(224, 128, 37, 0.58);
  background: var(--mm-main-soft);
  transform: translateX(2px);
}

.mm-auto-support-menu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--mm-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mm-auto-support__mascot {
  position: absolute;
  right: -22px;
  bottom: -20px;
  width: 160px;
  height: auto;
}

/* CTA */
.mm-auto-cta {
  padding-block: 30px clamp(74px, 8vw, 110px);
  background: var(--mm-white);
}

.mm-auto-cta__box {
  position: relative;
  display: grid;
  align-items: center;
  gap: 28px;
  min-height: 210px;
  padding: 34px clamp(28px, 5vw, 62px) 34px 170px;
  overflow: hidden;
  border-radius: var(--mm-radius-lg);
  color: var(--mm-white);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--mm-accent), #e6472f 58%, var(--mm-main));
  box-shadow: 0 22px 54px rgba(201, 43, 38, 0.2);
  grid-template-columns: minmax(0, 1fr) auto;
}

.mm-auto-cta__box > img {
  position: absolute;
  bottom: -28px;
  left: 26px;
  width: 120px;
  height: auto;
}

.mm-auto-cta__copy p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  opacity: 0.86;
}

.mm-auto-cta__copy h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.mm-auto-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FAQ */
.mm-auto-faq {
  background: var(--mm-cream);
}

.mm-auto-faq__grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
}

.mm-auto-faq__intro {
  margin: 20px 0 0;
  color: var(--mm-text);
  font-size: 0.88rem;
}

.mm-auto-faq__list {
  display: grid;
  gap: 12px;
}

.mm-auto-faq details {
  overflow: hidden;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: var(--mm-white);
}

.mm-auto-faq summary {
  display: grid;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 17px 56px 17px 20px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  grid-template-columns: 30px 1fr;
  list-style: none;
}

.mm-auto-faq summary::-webkit-details-marker {
  display: none;
}

.mm-auto-faq summary > span,
.mm-auto-faq__answer > span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--mm-white);
  place-items: center;
  background: var(--mm-accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.mm-auto-faq summary i {
  position: absolute;
  right: 22px;
  width: 16px;
  height: 16px;
}

.mm-auto-faq summary {
  position: relative;
}

.mm-auto-faq summary i::before,
.mm-auto-faq summary i::after {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--mm-main);
  content: "";
  transition: transform 0.2s ease;
}

.mm-auto-faq summary i::after {
  transform: rotate(90deg);
}

.mm-auto-faq details[open] summary i::after {
  transform: rotate(0);
}

.mm-auto-faq__answer {
  display: grid;
  gap: 14px;
  padding: 0 20px 22px;
  color: var(--mm-text);
  grid-template-columns: 30px 1fr;
}

.mm-auto-faq__answer > span {
  color: var(--mm-accent);
  background: #fff0ef;
}

.mm-auto-faq__answer p {
  margin: 2px 0 0;
  font-size: 0.84rem;
}

/* Download guide */
.mm-auto-document {
  padding-block: clamp(72px, 8vw, 110px);
  background: var(--mm-white);
}

.mm-auto-download-guide {
  display: grid;
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(224, 128, 37, 0.24);
  border-radius: var(--mm-radius-lg);
  background:
    radial-gradient(circle at 94% 10%, rgba(224, 128, 37, 0.13), transparent 28%),
    var(--mm-main-soft);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.mm-auto-download-guide__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.mm-auto-download-guide__head > p:last-child {
  margin: 18px 0 0;
  color: var(--mm-text);
  font-size: 0.86rem;
}

.mm-auto-download-guide__specs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-auto-download-guide__specs li {
  display: grid;
  gap: 5px 14px;
  padding: 15px 17px;
  border: 1px solid rgba(234, 223, 213, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  grid-template-columns: 90px 1fr;
}

.mm-auto-download-guide__specs strong {
  color: var(--mm-accent);
  font-size: 0.75rem;
}

.mm-auto-download-guide__specs span {
  color: var(--mm-text);
  font-size: 0.75rem;
  line-height: 1.65;
}


/* Footer */
.mm-auto-footer {
  padding-block: 46px 24px;
  border-top: 1px solid var(--mm-line);
  background: #fffaf6;
}

.mm-auto-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.mm-auto-footer__logo {
  width: 150px;
  flex: 0 0 auto;
}

.mm-auto-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  max-width: 720px;
}

.mm-auto-footer__links a {
  color: var(--mm-text);
  font-size: 0.72rem;
  font-weight: 700;
}

.mm-auto-footer__copy {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--mm-line);
  color: var(--mm-muted);
  font-size: 0.66rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 1080px) {
  .mm-auto-header__nav {
    display: none;
  }

  .mm-auto-header__actions {
    margin-left: auto;
  }

  .mm-auto-hero__inner,
  .mm-auto-about__grid {
    grid-template-columns: 1fr;
  }

  .mm-auto-hero__copy {
    max-width: 720px;
  }

  .mm-auto-hero__visual {
    max-width: 760px;
    margin-inline: auto;
  }

  .mm-auto-feature-grid,
  .mm-auto-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-auto-proof__box {
    grid-template-columns: 90px 1fr;
  }

  .mm-auto-proof__logos {
    grid-column: 1 / -1;
  }

  .mm-auto-support__layout {
    padding-right: 0;
    grid-template-columns: 1fr;
  }

  .mm-auto-support__mascot {
    display: none;
  }
}

@media (max-width: 760px) {
  .mm-auto {
    font-size: 15px;
  }

  .mm-auto-container {
    width: min(calc(100% - 28px), var(--mm-container));
  }

  .mm-auto-header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .mm-auto-header__logo {
    width: 118px;
  }

  .mm-auto-header__actions .mm-auto-btn--ghost {
    display: none;
  }

  .mm-auto-btn--small {
    min-height: 38px;
    padding: 8px 14px;
  }

  .mm-auto-hero {
    padding-top: 48px;
  }

  .mm-auto-hero__inner {
    gap: 34px;
  }

  .mm-auto-hero__title {
    font-size: clamp(2.05rem, 10.2vw, 3rem);
  }

  .mm-auto-hero__actions .mm-auto-btn {
    width: 100%;
  }

  .mm-auto-hero__visual {
    padding: 18px 18px 48px 0;
  }

  .mm-auto-dashboard__body {
    min-height: 300px;
    grid-template-columns: 48px 1fr;
  }

  .mm-auto-dashboard__side {
    gap: 14px;
    padding: 20px 12px;
  }

  .mm-auto-dashboard__side i {
    width: 24px;
  }

  .mm-auto-dashboard__main {
    padding: 16px;
  }

  .mm-auto-dashboard__stats {
    gap: 7px;
  }

  .mm-auto-dashboard__stats > div {
    padding: 10px;
  }

  .mm-auto-dashboard__content {
    grid-template-columns: 1fr;
  }

  .mm-auto-dashboard__tasks {
    display: none;
  }

  .mm-auto-dashboard__chart {
    min-height: 150px;
  }

  .mm-auto-hero__mascot {
    right: -12px;
    width: 96px;
  }

  .mm-auto-floating-card {
    min-width: 106px;
    padding: 9px 12px;
  }

  .mm-auto-floating-card--time {
    top: -8px;
    right: 0;
  }

  .mm-auto-floating-card--free {
    bottom: 10px;
    left: -8px;
  }

  .mm-auto-about__grid {
    gap: 36px;
  }

  .mm-auto-video-card {
    min-height: 280px;
  }

  .mm-auto-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-auto-download-guide {
    grid-template-columns: 1fr;
  }

  .mm-auto-feature-grid,
  .mm-auto-case-grid,
  .mm-auto-support-grid {
    grid-template-columns: 1fr;
  }

  .mm-auto-feature-card {
    display: grid;
    align-items: start;
    gap: 0 18px;
    grid-template-columns: 60px 1fr;
  }

  .mm-auto-icon-box {
    width: 60px;
    height: 60px;
    grid-row: 1 / 3;
  }

  .mm-auto-feature-card h3 {
    margin-top: 2px;
  }

  .mm-auto-feature-card p {
    margin-top: 8px;
  }

  .mm-auto-section-head--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-auto-proof__box {
    gap: 18px;
    padding: 26px 20px;
    grid-template-columns: 70px 1fr;
  }

  .mm-auto-proof__box > img {
    width: 70px;
  }

  .mm-auto-proof__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-auto-tool {
    min-width: 0;
  }

  .mm-auto-cta__box {
    padding: 34px 22px 34px 104px;
    grid-template-columns: 1fr;
  }

  .mm-auto-cta__box > img {
    bottom: -20px;
    left: 8px;
    width: 92px;
  }

  .mm-auto-cta__actions {
    align-items: stretch;
  }

  .mm-auto-faq__grid {
    grid-template-columns: 1fr;
  }

  .mm-auto-footer__top {
    flex-direction: column;
  }

  .mm-auto-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .mm-auto-header__actions .mm-auto-btn {
    font-size: 0.72rem;
  }

  .mm-auto-dashboard__stats > div:nth-child(3) {
    display: none;
  }

  .mm-auto-dashboard__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mm-auto-tool-grid {
    grid-template-columns: 1fr;
  }

  .mm-auto-tool {
    min-width: 0;
  }

  .mm-auto-download-guide__specs li {
    grid-template-columns: 1fr;
  }

  .mm-auto-cta__box {
    padding: 30px 20px 120px;
  }

  .mm-auto-cta__box > img {
    right: 18px;
    bottom: -16px;
    left: auto;
    width: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-auto *,
  .mm-auto *::before,
  .mm-auto *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   v3追加調整
   ========================================================= */

/* 本文は最低16px。注釈・ラベル・タグのみ小さくしています。 */
.mm-auto p:not(.mm-auto-hero__note):not(.mm-auto-proof__headline p):not(.mm-auto-video-card > p):not(.mm-auto-footer__copy):not(.mm-auto-download-form__setup-note),
.mm-auto .mm-auto-feature-card p,
.mm-auto .mm-auto-case-card p,
.mm-auto .mm-auto-support-card p,
.mm-auto .mm-auto-faq__intro,
.mm-auto .mm-auto-faq summary,
.mm-auto .mm-auto-faq__answer p,
.mm-auto .mm-auto-download-guide__head > p:last-child,
.mm-auto .mm-auto-download-guide__specs span {
  font-size: 16px;
}

.mm-auto .mm-auto-feature-card h3,
.mm-auto .mm-auto-case-card h3,
.mm-auto .mm-auto-support-card h3,
.mm-auto .mm-auto-download-form__heading h3 {
  font-size: max(1rem, 16px);
}

.mm-auto .mm-auto-tool span,
.mm-auto .mm-auto-support-menu a {
  font-size: 16px;
}

/* フォーム全体 */
.mm-auto-download-form {
  grid-column: 1 / -1;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(234, 223, 213, 0.95);
  border-radius: 24px;
  background: var(--mm-white);
  box-shadow: 0 14px 38px rgba(81, 48, 25, 0.07);
}

.mm-auto-download-form__heading {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mm-line);
}

.mm-auto-download-form__heading > span {
  color: var(--mm-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mm-auto-download-form__heading h3 {
  margin: 7px 0 0;
  font-weight: 900;
  line-height: 1.5;
}

.mm-auto-download-form__heading p {
  margin: 8px 0 0;
  color: var(--mm-text);
}

.mm-auto-download-form__embed {
  min-height: 220px;
}

/* HubSpotフォーム */
.mm-auto-download-form .hs-form {
  display: grid;
  gap: 20px;
}

.mm-auto-download-form .hs-form-field {
  margin: 0 0 18px;
}

.mm-auto-download-form .hs-form-field > label,
.mm-auto-download-form .hs-form-field label:not(.hs-error-msg),
.mm-auto-download-form .hs-form input,
.mm-auto-download-form .hs-form select,
.mm-auto-download-form .hs-form textarea,
.mm-auto-download-form .hs-form .inputs-list label,
.mm-auto-download-form .hs-submit .hs-button {
  font-size: 16px !important;
}

.mm-auto-download-form .hs-form-field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--mm-ink);
  font-weight: 800;
}

.mm-auto-download-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  min-height: 52px;
  padding: 12px 14px !important;
  border: 1px solid #d9cec5 !important;
  border-radius: 10px !important;
  color: var(--mm-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.mm-auto-download-form textarea.hs-input {
  min-height: 130px;
  resize: vertical;
}

.mm-auto-download-form .hs-input:focus {
  border-color: var(--mm-main) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(224, 128, 37, 0.12) !important;
}

.mm-auto-download-form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-auto-download-form .inputs-list label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.7;
}

.mm-auto-download-form input[type="checkbox"],
.mm-auto-download-form input[type="radio"] {
  flex: 0 0 auto;
  margin-top: 6px;
}

.mm-auto-download-form .hs-submit {
  margin-top: 26px;
}

.mm-auto-download-form .hs-submit .hs-button {
  min-height: 58px;
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--mm-main), #ec9b42) !important;
  box-shadow: 0 12px 28px rgba(224, 128, 37, 0.24) !important;
  font-weight: 900 !important;
  cursor: pointer;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-auto-download-form .hs-submit .hs-button:hover {
  box-shadow: 0 15px 34px rgba(224, 128, 37, 0.3) !important;
  transform: translateY(-1px);
}

.mm-auto-download-form .hs-error-msg,
.mm-auto-download-form .hs-error-msgs,
.mm-auto-download-form .legal-consent-container,
.mm-auto-download-form .legal-consent-container p,
.mm-auto-download-form .hs-richtext,
.mm-auto-download-form .hs-richtext p {
  font-size: 13px !important;
  line-height: 1.75;
}

.mm-auto-download-form__setup-note {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--mm-muted);
  background: #f8f4f0;
  font-size: 12px;
  line-height: 1.7;
}

.mm-auto-download-form__setup-note code {
  font-size: inherit;
}

.mm-auto-download-form__empty {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px;
  border: 2px dashed rgba(224, 128, 37, 0.35);
  border-radius: 16px;
  color: var(--mm-text);
  text-align: center;
  background: var(--mm-main-soft);
}

.mm-auto-download-form__empty strong {
  color: var(--mm-ink);
  font-size: 16px;
}

.mm-auto-download-form__empty span {
  max-width: 560px;
  font-size: 14px;
}

/* ツールカードにも、移動しない柔らかなホバーを追加 */
.mm-auto-tool {
  transition:
    border-color 0.38s ease,
    background 0.38s ease,
    box-shadow 0.38s ease;
}

.mm-auto-tool:hover {
  border-color: rgba(224, 128, 37, 0.4);
  background: #fffdfb;
  box-shadow: 0 10px 26px rgba(81, 48, 25, 0.07);
}

/* スクロール表示 */
.mm-auto.mm-auto--reveal-ready .mm-auto-reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s ease;
  transition-delay: var(--mm-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.mm-auto.mm-auto--reveal-ready .mm-auto-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 760px) {
  .mm-auto-download-form {
    padding: 24px 18px;
  }

  .mm-auto-download-form .hs-form .form-columns-2,
  .mm-auto-download-form .hs-form .form-columns-3 {
    display: block;
    max-width: none;
  }

  .mm-auto-download-form .hs-form .form-columns-2 .hs-form-field,
  .mm-auto-download-form .hs-form .form-columns-3 .hs-form-field {
    width: 100% !important;
    float: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-auto.mm-auto--reveal-ready .mm-auto-reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   リンクのふわっとホバー
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

  /* ヘッダー・フッター・通常テキストリンク */
  .mm-auto-header__nav a,
  .mm-auto-footer__links a,
  .mm-auto-text-link {
    display: inline-flex;
    align-items: center;
    transition:
      color 0.3s ease,
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mm-auto-header__nav a:hover,
  .mm-auto-footer__links a:hover,
  .mm-auto-text-link:hover {
    color: var(--mm-main);
    transform: translateY(-3px);
  }

  /* ボタン */
  .mm-auto-btn {
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s ease,
      background 0.4s ease,
      border-color 0.4s ease,
      opacity 0.4s ease;
  }

  .mm-auto-btn:hover {
    transform: translateY(-4px);
  }

  .mm-auto-btn:active {
    transform: translateY(-1px) scale(0.98);
  }

  /* サポートメニュー */
  .mm-auto-support-menu a {
    transition:
      color 0.35s ease,
      border-color 0.35s ease,
      background 0.35s ease,
      box-shadow 0.35s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mm-auto-support-menu a:hover {
    color: var(--mm-accent);
    border-color: rgba(224, 128, 37, 0.45);
    background: var(--mm-main-soft);
    box-shadow: 0 10px 26px rgba(81, 48, 25, 0.08);
    transform: translateX(5px);
  }

  /* 導入事例カード */
  .mm-auto-case-card {
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }

  .mm-auto-case-card:hover {
    border-color: rgba(224, 128, 37, 0.35);
    box-shadow: 0 18px 42px rgba(81, 48, 25, 0.12);
    transform: translateY(-6px);
  }

  /* カード内の矢印も少し前進 */
  .mm-auto-case-card__body > b svg,
  .mm-auto-text-link svg,
  .mm-auto-support-menu svg {
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mm-auto-case-card:hover .mm-auto-case-card__body > b svg,
  .mm-auto-text-link:hover svg,
  .mm-auto-support-menu a:hover svg {
    transform: translateX(4px);
  }
}
/* =========================================================
   top_test 直接反映用
   モジュールCSSのキャッシュ影響を避けるためHTML内に配置
   ========================================================= */

/* アンカー移動後の見出し位置 */
.mm-auto [id] {
  scroll-margin-top: 28px;
}

/* ボタンはごく控えめに浮かせる */
.mm-auto a.mm-auto-btn {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease !important;
}

.mm-auto a.mm-auto-btn:hover {
  opacity: 0.96;
  transform: translateY(-1px) !important;
}

/* テキストリンクは色と矢印だけ動かす */
.mm-auto a.mm-auto-text-link {
  transition:
    color 0.22s ease,
    opacity 0.22s ease !important;
}

.mm-auto a.mm-auto-text-link:hover {
  color: #e08025 !important;
  opacity: 0.9;
}

.mm-auto a.mm-auto-text-link svg,
.mm-auto .mm-auto-case-card__body > b svg,
.mm-auto .mm-auto-support-menu svg {
  transition: transform 0.22s ease !important;
}

.mm-auto a.mm-auto-text-link:hover svg,
.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__body > b svg,
.mm-auto .mm-auto-support-menu a:hover svg {
  transform: translateX(2px) !important;
}

/* ヘッダー・フッターは色だけ変える */
.mm-auto .mm-auto-header__nav a,
.mm-auto .mm-auto-footer__links a {
  transition:
    color 0.22s ease,
    opacity 0.22s ease !important;
}

.mm-auto .mm-auto-header__nav a:hover,
.mm-auto .mm-auto-footer__links a:hover {
  color: #e08025 !important;
  opacity: 0.86;
}

/* 導入事例カードはほぼ動かさず、影だけ柔らかく変化 */
.mm-auto .mm-auto-case-card {
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease !important;
}

.mm-auto .mm-auto-case-card:hover {
  border-color: rgba(224, 128, 37, 0.28) !important;
  box-shadow: 0 13px 30px rgba(81, 48, 25, 0.09) !important;
  transform: translateY(-2px) !important;
}

.mm-auto .mm-auto-case-card__media img {
  transition: transform 0.28s ease !important;
}

.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__media img {
  transform: scale(1.006) !important;
}

/* サポートメニューは背景色の変化を中心に */
.mm-auto .mm-auto-support-menu a {
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease !important;
}

.mm-auto .mm-auto-support-menu a:hover {
  color: #c92b26 !important;
  border-color: rgba(224, 128, 37, 0.3) !important;
  background-color: #fffaf5 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .mm-auto a,
  .mm-auto .mm-auto-case-card,
  .mm-auto .mm-auto-case-card__media img {
    transition: none !important;
    transform: none !important;
  }
}
/* ========================================
   ヘッダー固定表示
   ======================================== */

.mm-auto .mm-auto-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(81, 48, 25, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 固定ヘッダーとページ内リンクの重なり防止 */
.mm-auto [id] {
  scroll-margin-top: 94px !important;
}

@media (max-width: 760px) {
  
.mm-auto [id] {
    scroll-margin-top: 78px !important;
  }
}
/* ========================================
   導入事例カードのふわっとホバー
   ======================================== */

.mm-auto .mm-auto-case-card {
  position: relative;
  top: 0;
  transition:
    top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    box-shadow 0.32s ease !important;
}

.mm-auto .mm-auto-case-card__media img {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.mm-auto .mm-auto-case-card__body > b svg {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.mm-auto .mm-auto-case-card:hover {
  top: -4px;
  border-color: rgba(224, 128, 37, 0.32) !important;
  box-shadow: 0 15px 34px rgba(81, 48, 25, 0.11) !important;
}

.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__media img {
  transform: scale(1.025) !important;
}

.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__body > b svg {
  transform: translateX(3px);
}
/* ========================================
   サポートエリア調整
   キャラクターなし・左右の高さ統一
   ======================================== */

.mm-auto .mm-auto-support__layout {
  align-items: stretch;
  padding-right: 0 !important;
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(300px, 0.85fr);
}

/* 左側3カードの高さを統一 */
.mm-auto .mm-auto-support-grid {
  align-items: stretch;
}

.mm-auto .mm-auto-support-card {
  height: 100%;
}

/* 右側4ボタンを縦いっぱいに均等配置 */
.mm-auto .mm-auto-support-menu {
  height: 100%;
  align-content: stretch !important;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.mm-auto .mm-auto-support-menu a {
  height: 100%;
  min-height: 0;
}

/* 念のためキャラクターを非表示 */
.mm-auto .mm-auto-support__mascot {
  display: none !important;
}

@media (max-width: 1080px) {
  .mm-auto .mm-auto-support__layout {
    grid-template-columns: 1fr;
  }

  .mm-auto .mm-auto-support-menu a {
    min-height: 56px;
  }
}
/* =========================================================
   MACROMAN LP 最終調整
   HubSpotのモジュールCSS反映問題を避けるためHTML内に配置
   ========================================================= */

/* -------------------------
   固定ヘッダー
   ------------------------- */

.mm-auto .mm-auto-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 14px rgba(81, 48, 25, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mm-auto [id] {
  scroll-margin-top: 94px !important;
}

/* -------------------------
   ボタン・リンク
   ------------------------- */

.mm-auto a.mm-auto-btn {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease !important;
}

.mm-auto a.mm-auto-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px) !important;
}

.mm-auto a.mm-auto-text-link {
  transition:
    color 0.22s ease,
    opacity 0.22s ease !important;
}

.mm-auto a.mm-auto-text-link:hover {
  color: #e08025 !important;
  opacity: 0.9;
}

.mm-auto a.mm-auto-text-link svg {
  transition: transform 0.22s ease !important;
}

.mm-auto a.mm-auto-text-link:hover svg {
  transform: translateX(2px) !important;
}

/* -------------------------
   導入事例カード
   ------------------------- */

.mm-auto .mm-auto-case-card {
  position: relative;
  top: 0;
  transform: none !important;
  transition:
    top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

.mm-auto .mm-auto-case-card:hover {
  top: -4px;
  transform: none !important;
  border-color: rgba(224, 128, 37, 0.32) !important;
  box-shadow: 0 15px 34px rgba(81, 48, 25, 0.11) !important;
}

.mm-auto .mm-auto-case-card__media img {
  transform: scale(1);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__media img {
  transform: scale(1.02) !important;
}

.mm-auto .mm-auto-case-card__body > b svg {
  transition: transform 0.3s ease !important;
}

.mm-auto .mm-auto-case-card:hover .mm-auto-case-card__body > b svg {
  transform: translateX(3px) !important;
}

/* -------------------------
   サポートエリア
   ------------------------- */

.mm-auto .mm-auto-support__layout {
  align-items: stretch !important;
  padding-right: 0 !important;
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(300px, 0.85fr) !important;
}

.mm-auto .mm-auto-support-grid {
  align-items: stretch !important;
}

.mm-auto .mm-auto-support-card {
  height: 100%;
}

.mm-auto .mm-auto-support-menu {
  display: grid !important;
  height: 100% !important;
  align-content: stretch !important;
  grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
}

.mm-auto .mm-auto-support-menu a {
  height: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

.mm-auto .mm-auto-support-menu a:hover {
  color: #c92b26 !important;
  border-color: rgba(224, 128, 37, 0.32) !important;
  background: #fffaf5 !important;
  box-shadow: 0 7px 18px rgba(81, 48, 25, 0.06) !important;
  transform: none !important;
}

.mm-auto .mm-auto-support-menu svg {
  transition: transform 0.22s ease !important;
}

.mm-auto .mm-auto-support-menu a:hover svg {
  transform: translateX(2px) !important;
}

/* キャラクターは完全に削除 */
.mm-auto .mm-auto-support__mascot {
  display: none !important;
}

/* -------------------------
   ダウンロードフォーム枠
   ------------------------- */

.mm-auto .mm-auto-download-form {
  grid-column: 1 / -1;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(234, 223, 213, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(81, 48, 25, 0.07);
}

.mm-auto .mm-auto-download-form__heading {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eadfd5;
}

.mm-auto .mm-auto-download-form__embed {
  width: 100%;
  min-height: 220px;
}

.mm-auto .mm-auto-download-form .hs-form {
  width: 100% !important;
}

.mm-auto .mm-auto-download-form .hs-form-field {
  margin-bottom: 18px !important;
}

.mm-auto .mm-auto-download-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  min-height: 52px;
  padding: 12px 14px !important;
  border: 1px solid #d9cec5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.mm-auto .mm-auto-download-form .hs-input:focus {
  border-color: #e08025 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(224, 128, 37, 0.12) !important;
}

/* -------------------------
   レスポンシブ
   ------------------------- */

@media (max-width: 1080px) {
  .mm-auto .mm-auto-support__layout {
    grid-template-columns: 1fr !important;
  }

  .mm-auto .mm-auto-support-menu {
    height: auto !important;
    grid-template-rows: none !important;
  }

  .mm-auto .mm-auto-support-menu a {
    min-height: 56px !important;
  }
}

@media (max-width: 760px) {
  
.mm-auto [id] {
    scroll-margin-top: 78px !important;
  }

  .mm-auto .mm-auto-download-form {
    padding: 24px 18px;
  }

  .mm-auto .mm-auto-case-card:hover {
    top: 0;
  }

  .mm-auto .mm-auto-case-card:hover .mm-auto-case-card__media img {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-auto a,
  .mm-auto .mm-auto-case-card,
  .mm-auto .mm-auto-case-card__media img,
  .mm-auto .mm-auto-support-menu svg {
    transition: none !important;
  }
}
/* ========================================
   リンクがないカードはホバー変化なし
   ======================================== */

/* 「こうしたい」カード */
.mm-auto .mm-auto-feature-card {
  cursor: default;
}

.mm-auto .mm-auto-feature-card:hover {
  border-color: var(--mm-line) !important;
  background: var(--mm-white) !important;
  box-shadow: 0 7px 22px rgba(79, 49, 29, 0.04) !important;
  transform: none !important;
}

/* 対応ツールカード */
.mm-auto .mm-auto-tool {
  cursor: default;
}

.mm-auto .mm-auto-tool:hover {
  border-color: var(--mm-line) !important;
  background: var(--mm-white) !important;
  box-shadow: 0 6px 16px rgba(76, 49, 31, 0.04) !important;
  transform: none !important;
}

/* サポート内容の左3カード */
.mm-auto .mm-auto-support-card {
  cursor: default;
}

.mm-auto .mm-auto-support-card:hover {
  border-color: var(--mm-line) !important;
  background: var(--mm-cream) !important;
  box-shadow: none !important;
  transform: none !important;
}
/* ==============================
   利用業種・導入実績
============================== */

.mm-auto-industries {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 8vw, 120px) 24px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(224, 128, 37, 0.12),
      transparent 32%
    ),
    #fff8f1;
}

.mm-auto-industries::before {
  content: "M";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  color: rgba(224, 128, 37, 0.045);
  font-size: clamp(280px, 42vw, 620px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.mm-auto-industries__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.mm-auto-industries__head {
  max-width: 820px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.mm-auto-industries__head .mm-auto-section__lead {
  max-width: 760px;
  margin: 24px auto 0;
  line-height: 1.9;
}

/* 実績数値 */

.mm-auto-industries__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.mm-auto-industries__stat {
  position: relative;
  min-width: 0;
  padding: 34px 20px 30px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(224, 128, 37, 0.2);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(80, 55, 33, 0.08);
}

.mm-auto-industries__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 4px;
  background: linear-gradient(90deg, #e08025, #c92b26);
  border-radius: 0 0 10px 10px;
}

.mm-auto-industries__stat-label {
  margin: 0 0 14px;
  color: #776a60;
  font-size: 15px;
  font-weight: 700;
}

.mm-auto-industries__stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #c92b26;
  white-space: nowrap;
}

.mm-auto-industries__stat-number strong {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mm-auto-industries__stat-number span {
  font-size: 17px;
  font-weight: 700;
}

.mm-auto-industries__stat-note {
  margin: 14px 0 0;
  color: #2b2521;
  font-size: 16px;
  font-weight: 700;
}

/* 業種一覧 */

.mm-auto-industries__content {
  padding: clamp(30px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(80, 55, 33, 0.08);
}

.mm-auto-industries__content-head {
  margin-bottom: 30px;
  text-align: center;
}

.mm-auto-industries__content-head h3 {
  margin: 0;
  color: #2b2521;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
}

.mm-auto-industries__content-head p {
  margin: 12px 0 0;
  color: #776a60;
  font-size: 16px;
  line-height: 1.8;
}

.mm-auto-industries__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-auto-industries__list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px 12px 43px;
  color: #2b2521;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  background: #fffaf5;
  border: 1px solid rgba(224, 128, 37, 0.15);
  border-radius: 12px;
}

.mm-auto-industries__list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #e08025;
  border-radius: 50%;
}

.mm-auto-industries__date {
  margin: 18px 4px 0;
  color: #8c8077;
  font-size: 13px;
  text-align: right;
}

.mm-auto-sp-only {
  display: none;
}

/* タブレット */

@media (max-width: 960px) {
  .mm-auto-industries__stats {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }

  .mm-auto-industries__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */

@media (max-width: 640px) {
  .mm-auto-industries {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mm-auto-sp-only {
    display: block;
  }

  .mm-auto-industries__content {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .mm-auto-industries__list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .mm-auto-industries__list li {
    min-height: 52px;
    font-size: 14px;
  }

  .mm-auto-industries__date {
    text-align: left;
  }
}
/* USERSセクション：見出し部分の補完 */
.mm-auto-industries .mm-auto-section__label {
  margin: 0 0 14px;
  color: #e08025;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mm-auto-industries .mm-auto-section__title {
  margin: 0;
  color: #2b2521;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.mm-auto-industries .mm-auto-section__lead {
  max-width: 880px;
  margin: 22px auto 0;
  color: #655b54;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}

@media (max-width: 640px) {
  .mm-auto-industries .mm-auto-section__label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .mm-auto-industries .mm-auto-section__title {
    font-size: 26px;
    line-height: 1.5;
  }

  .mm-auto-industries .mm-auto-section__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.85;
    text-align: left;
  }
}
/* =================================
   業種別活用イメージ：吹き出し版
================================= */

.mm-auto-industries__list {
  position: relative;
}

.mm-auto-industries__list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px 12px 43px;
  overflow: visible;
  cursor: default;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mm-auto-industries__name {
  display: block;
  color: #2b2521;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s ease;
}

/* 活用例の吹き出し */
.mm-auto-industries__example {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 12px);
  left: 50%;
  width: max-content;
  max-width: 290px;
  padding: 12px 15px;
  color: #55483f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
  pointer-events: none;
  background: #fff;
  border: 1px solid rgba(224, 128, 37, 0.3);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(80, 55, 33, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* 吹き出しの三角 */
.mm-auto-industries__example::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid rgba(224, 128, 37, 0.3);
  border-bottom: 1px solid rgba(224, 128, 37, 0.3);
  transform: translate(-50%, -5px) rotate(45deg);
}

/* 活用イメージラベル */
.mm-auto-industries__example::before {
  content: "活用イメージ";
  display: block;
  margin-bottom: 3px;
  color: #e08025;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* オンマウス */
.mm-auto-industries__list li:hover {
  z-index: 10;
  background: #fff;
  border-color: rgba(224, 128, 37, 0.45);
  box-shadow: 0 7px 18px rgba(80, 55, 33, 0.09);
}

.mm-auto-industries__list li:hover::before {
  background: #c92b26;
}

.mm-auto-industries__list li:hover .mm-auto-industries__name {
  color: #c92b26;
}

.mm-auto-industries__list li:hover .mm-auto-industries__example {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 注釈 */
.mm-auto-industries__example-note {
  margin: 18px 0 0;
  color: #8c8077;
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

/* スマホ・タッチ端末では業種名の下に常時表示 */
@media (hover: none), (max-width: 640px) {
  .mm-auto-industries__list li {
    display: block;
    min-height: auto;
    padding: 14px 14px 14px 43px;
    overflow: hidden;
  }

  .mm-auto-industries__example {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 5px;
    padding: 0;
    color: #8c4b16;
    font-size: 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mm-auto-industries__example::before {
    display: inline;
    margin: 0;
  }

  .mm-auto-industries__example::before {
    content: "活用イメージ｜";
  }

  .mm-auto-industries__example::after {
    display: none;
  }

  .mm-auto-industries__example-note {
    font-size: 12px;
    text-align: left;
  }
}
/* 「マクロマンでできること」を白背景＋オレンジ枠ボタンに */
.mm-auto .mm-auto-about__copy a.mm-auto-text-link {
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid #e08025;
  border-radius: 999px;
  background: #fff;
  color: #e08025 !important;
  box-shadow: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(.22, 1, .36, 1),
    box-shadow 0.3s ease !important;
}

.mm-auto .mm-auto-about__copy a.mm-auto-text-link:hover {
  background: #fff8f1;
  color: #c96e18 !important;
  border-color: #c96e18;
  opacity: 1;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(224, 128, 37, 0.16);
}

.mm-auto .mm-auto-about__copy a.mm-auto-text-link svg {
  color: currentColor;
  stroke: currentColor;
}

/* =========================================================
   HERO 最終版
   PC画面 ＋ 受賞アイコン ＋ マクロマン
   ========================================================= */


/* ========================================
   ビジュアル全体
======================================== */

.mm-auto .mm-auto-hero__visual {
  position: relative;
  min-width: 0;
  padding: 10px 0 30px !important;
}

.mm-auto .mm-auto-hero-product {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  padding-bottom: 85px;
}


/* ========================================
   PC画面
======================================== */

.mm-auto .mm-auto-hero-product__screen {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mm-auto .mm-auto-hero-product__screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 22px 30px rgba(70, 40, 20, 0.10))
    drop-shadow(0 5px 10px rgba(70, 40, 20, 0.08));
}


/* ========================================
   受賞アイコン
======================================== */

.mm-auto .mm-auto-hero-awards {
  position: absolute;
  z-index: 6;

  bottom: 32px;
  left: -5px;

  display: flex;
  align-items: flex-end;
  gap: 0;
}

.mm-auto .mm-auto-hero-award {
  position: relative;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  flex: 0 0 auto;
}

.mm-auto .mm-auto-hero-award img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;

  filter:
    drop-shadow(0 7px 10px rgba(70, 40, 20, 0.12));
}


/* 1位 */
.mm-auto .mm-auto-hero-award:nth-child(1) {
  width: 126px;
  height: 126px;
}


/* BOXIL */
.mm-auto .mm-auto-hero-award:nth-child(2) {
  width: 116px;
  height: 116px;
}


/* 10,000件 */
.mm-auto .mm-auto-hero-award:nth-child(3) {
  width: 124px;
  height: 124px;
}


/* ※1 ※2 */
.mm-auto .mm-auto-hero-award span {
  position: absolute;

  right: -1px;
  bottom: 3px;

  color: #8c8179;

  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}


/* ========================================
   マクロマン
======================================== */

.mm-auto .mm-auto-hero-product__mascot {
  position: absolute !important;
  z-index: 10 !important;

  right: -30px !important;
  bottom: 20px !important;

  display: block !important;

  width: 210px !important;
  max-width: none !important;
  height: auto !important;

  object-fit: contain;

  filter:
    drop-shadow(0 12px 16px rgba(70, 35, 20, 0.14));
}


/* ========================================
   注釈
======================================== */

.mm-auto .mm-auto-hero-awards__notes {
  position: absolute;
  z-index: 8;

  right: 145px;
  bottom: 26px;

  width: 245px;
}

.mm-auto .mm-auto-hero-awards__notes p {
  margin: 1px 0 !important;

  color: #786f68;

  font-size: 9px !important;
  font-weight: 500;
  line-height: 1.45;
}


/* ========================================
   背景装飾
======================================== */

.mm-auto .mm-auto-hero-product::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: 4%;
  right: -7%;

  width: 90%;
  height: 80%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(224, 128, 37, 0.13),
      rgba(224, 128, 37, 0.04) 50%,
      transparent 72%
    );

  pointer-events: none;
}


/* =========================================================
   タブレット
========================================================= */

@media (max-width: 1080px) {

  .mm-auto .mm-auto-hero-product {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

}


/* =========================================================
   スマホ
========================================================= */

@media (max-width: 760px) {

  .mm-auto .mm-auto-hero__visual {
    padding: 10px 0 20px !important;
  }

  .mm-auto .mm-auto-hero-product {
    max-width: 520px;
    padding-bottom: 105px;
  }


  /* 受賞アイコン */

  .mm-auto .mm-auto-hero-awards {
    bottom: 43px;
    left: 0;
  }

  .mm-auto .mm-auto-hero-award:nth-child(1) {
    width: 82px;
    height: 82px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(2) {
    width: 76px;
    height: 76px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(3) {
    width: 82px;
    height: 82px;
  }

  .mm-auto .mm-auto-hero-award span {
    right: -2px;
    bottom: 0;

    font-size: 8px;
  }


  /* マクロマン */

  .mm-auto .mm-auto-hero-product__mascot {
    right: -10px !important;
    bottom: 20px !important;

    width: 128px !important;
  }


  /* 注釈 */

  .mm-auto .mm-auto-hero-awards__notes {
    right: auto;
    bottom: 0;
    left: 0;

    width: calc(100% - 110px);
  }

  .mm-auto .mm-auto-hero-awards__notes p {
    font-size: 8px !important;
    line-height: 1.4;
  }

}


/* =========================================================
   小さいスマホ
========================================================= */

@media (max-width: 430px) {

  .mm-auto .mm-auto-hero-product {
    padding-bottom: 100px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(1) {
    width: 72px;
    height: 72px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(2) {
    width: 68px;
    height: 68px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(3) {
    width: 72px;
    height: 72px;
  }

  .mm-auto .mm-auto-hero-product__mascot {
    right: -5px !important;
    width: 112px !important;
  }

  .mm-auto .mm-auto-hero-awards__notes {
    width: calc(100% - 95px);
  }

}

/* ========================================
   HERO下部の配置調整
   受賞アイコンと注釈を重ねない
======================================== */

.mm-auto .mm-auto-hero-product {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;

  /* 注釈用のスペースを確保 */
  padding-bottom: 125px;
}


/* 受賞アイコン */
.mm-auto .mm-auto-hero-awards {
  position: absolute;
  z-index: 6;

  left: -5px;
  bottom: 58px;

  display: flex;
  align-items: flex-end;
  gap: 0;
}


/* マクロマン */
.mm-auto .mm-auto-hero-product__mascot {
  position: absolute !important;
  z-index: 10 !important;

  right: -30px !important;
  bottom: 18px !important;

  display: block !important;

  width: 210px !important;
  max-width: none !important;
  height: auto !important;

  object-fit: contain;

  filter:
    drop-shadow(0 12px 16px rgba(70, 35, 20, 0.14));
}


/* 注釈 */
.mm-auto .mm-auto-hero-awards__notes {
  position: absolute;
  z-index: 8;

  /* アイコンの真下へ */
  left: 135px;
  right: auto;
  bottom: 5px;

  width: 330px;
}

.mm-auto .mm-auto-hero-awards__notes p {
  margin: 2px 0 !important;

  color: #786f68;

  font-size: 9px !important;
  font-weight: 500;

/* ========================================
   ダウンロードフォーム中央寄せ
======================================== */

.mm-auto .mm-auto-download-form__embed {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.mm-auto .mm-auto-download-form__embed .hs-form {
  width: 100% !important;
  max-width: 720px !important;
  margin-inline: auto !important;
}
  line-height: 1.5;
}

.mm-auto .mm-auto-download-form__heading {
  text-align: center;
}

.mm-auto .mm-auto-download-form__embed {
  width: 100%;
}

.mm-auto #mm-auto-hubspot-form {
  width: min(720px, 100%);
  margin-inline: auto;
}

.mm-auto #mm-auto-hubspot-form .hbspt-form,
.mm-auto #mm-auto-hubspot-form form {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

/* =========================================================
   HERO スマホ最終調整
   注釈・受賞アイコン・マクロマン
========================================================= */

@media (max-width: 760px) {

  .mm-auto .mm-auto-hero-product {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    padding-bottom: 120px;
  }

  /* 受賞アイコン */
  .mm-auto .mm-auto-hero-awards {
    left: 0 !important;
    bottom: 52px !important;
  }

  .mm-auto .mm-auto-hero-award:nth-child(1) {
    width: 82px;
    height: 82px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(2) {
    width: 76px;
    height: 76px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(3) {
    width: 82px;
    height: 82px;
  }

  /* マクロマン */
  .mm-auto .mm-auto-hero-product__mascot {
    right: -8px !important;
    bottom: 16px !important;
    width: 128px !important;
  }

  /* 注釈 */
  .mm-auto .mm-auto-hero-awards__notes {
    position: absolute !important;

    left: 0 !important;
    right: 120px !important;
    bottom: 0 !important;

    width: auto !important;
    max-width: none !important;
  }

  .mm-auto .mm-auto-hero-awards__notes p {
    margin: 1px 0 !important;
    color: #786f68;
    font-size: 8px !important;
    font-weight: 500;
    line-height: 1.45 !important;
  }
}


/* さらに小さいスマホ */
@media (max-width: 430px) {

  .mm-auto .mm-auto-hero-product {
    padding-bottom: 115px;
  }

  .mm-auto .mm-auto-hero-awards {
    bottom: 52px !important;
  }

  .mm-auto .mm-auto-hero-award:nth-child(1) {
    width: 72px;
    height: 72px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(2) {
    width: 68px;
    height: 68px;
  }

  .mm-auto .mm-auto-hero-award:nth-child(3) {
    width: 72px;
    height: 72px;
  }

  .mm-auto .mm-auto-hero-product__mascot {
    right: -4px !important;
    bottom: 14px !important;
    width: 112px !important;
  }

  .mm-auto .mm-auto-hero-awards__notes {
    left: 0 !important;
    right: 102px !important;
    bottom: 0 !important;
    width: auto !important;
  }

  .mm-auto .mm-auto-hero-awards__notes p {
    font-size: 7.5px !important;
  }
}

/* HEROタイトル：スマホ調整 */
@media (max-width: 760px) {
  .mm-auto .mm-auto-hero__title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.22;
  }
}

@media (max-width: 430px) {
  .mm-auto .mm-auto-hero__title {
    font-size: clamp(1.7rem, 7.7vw, 2.25rem) !important;
  }
}

/* ========================================
  NEWS
======================================== */

.mm-top-news {
  position: relative;
  padding: 88px 0 96px;
  background: #fff;
  font-family:
    "BIZ UDPGothic",
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
}

.mm-top-news,
.mm-top-news * {
  box-sizing: border-box;
}

.mm-top-news__inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 72px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* ========================================
  見出し
======================================== */

.mm-top-news__heading {
  position: relative;
  padding-top: 2px;
}

.mm-top-news__eyebrow {
  margin: 0 0 10px;
  color: #e08025;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

.mm-top-news__title {
  margin: 0;
  color: #171717;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}


/* ========================================
  一覧を見る
======================================== */

.mm-top-news__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 0;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mm-top-news__more-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #fff;
  background: #e08025;
  border-radius: 50%;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.mm-top-news__more:hover {
  color: #e08025;
}

.mm-top-news__more:hover .mm-top-news__more-arrow {
  background: #c92b26;
  transform: translateX(4px);
}

.mm-top-news__more--sp {
  display: none;
}


/* ========================================
  NEWS LIST
======================================== */

.mm-top-news__content {
  min-width: 0;
  border-top: 1px solid #e9dfd7;
}

.mm-top-news a.mm-top-news__item {
  position: relative;
  display: grid;
  grid-template-columns:
    112px
    136px
    minmax(0, 1fr)
    42px;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 92px;
  padding: 22px 8px;
  color: #171717;
  background: transparent;
  border-bottom: 1px solid #e9dfd7;
  text-decoration: none;

  /*
    paddingやwidthはhoverで変更しない。
    改行位置が変わってガタつく原因になるため。
  */
  transition:
    background-color 0.25s ease;
}

.mm-top-news a.mm-top-news__item:hover {
  background: #fffaf5;
}


/* ========================================
  日付
======================================== */

.mm-top-news__date {
  display: block;
  color: #67615c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


/* ========================================
  タグ
======================================== */

.mm-top-news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  min-height: 32px;
  padding: 6px 10px;
  color: #d56612;
  background: #fff3e8;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}


/* ========================================
  記事タイトル
======================================== */

.mm-top-news__post-title {
  min-width: 0;
  color: #171717;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  transition: color 0.25s ease;
}

.mm-top-news__item:hover .mm-top-news__post-title {
  color: #d56612;
}


/* ========================================
  右矢印
======================================== */

.mm-top-news__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  flex-shrink: 0;
  color: #e08025;
  border: 1px solid #eadfd6;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.mm-top-news__item:hover .mm-top-news__arrow {
  color: #fff;
  background: #e08025;
  border-color: #e08025;
  transform: translateX(4px);
}


/* ========================================
  TABLET
======================================== */

@media (max-width: 980px) {

  .mm-top-news {
    padding: 80px 0;
  }

  .mm-top-news__inner {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }

  .mm-top-news a.mm-top-news__item {
    grid-template-columns:
      105px
      minmax(0, 1fr)
      38px;
    gap: 14px 18px;
    padding: 22px 6px;
  }

  .mm-top-news__date {
    grid-column: 1;
    grid-row: 1;
  }

  .mm-top-news__tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: auto;
  }

  .mm-top-news__post-title {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .mm-top-news__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }
}


/* ========================================
  SP
======================================== */

@media (max-width: 767px) {

  .mm-top-news {
    padding: 64px 0 72px;
  }

  .mm-top-news__inner {
    display: block;
    width: min(100% - 32px, 1180px);
  }

  .mm-top-news__heading {
    margin-bottom: 30px;
  }

  .mm-top-news__eyebrow {
    margin-bottom: 8px;
  }

  .mm-top-news__title {
    font-size: 32px;
  }

  .mm-top-news__heading > .mm-top-news__more {
    display: none;
  }

  .mm-top-news a.mm-top-news__item {
    display: grid;
    grid-template-columns:
      auto
      minmax(0, 1fr)
      36px;
    gap: 10px 12px;
    min-height: 0;
    padding: 22px 4px;
  }

  .mm-top-news__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 16px;
  }

  .mm-top-news__tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: auto;
    min-height: 28px;
    padding: 4px 10px;
    font-size: 14px;
  }

  .mm-top-news__post-title {
    grid-column: 1 / 3;
    grid-row: 2;
    font-size: 16px;
    line-height: 1.7;
  }

  .mm-top-news__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    width: 34px;
    height: 34px;
  }

  .mm-top-news__more--sp {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
  }
}
</style>