﻿@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=M+PLUS+1:wght@700;800&family=M+PLUS+Rounded+1c:wght@700;800&display=swap");

/* ==========================================================
   EZSeminar website styles
   ========================================================== */

:root {
  --color-primary: #0075c4;
  --color-pink-strong: #ffadb3;
  --color-pink-text: #ed798c;
  --color-text: #4a4a4a;
  --color-text-muted: #6b6b6b;
  --color-border: #e2e2e6;
  --shell-width: 1080px;
  /* 機能一覧／環境・セキュリティページの斜めストライプ背景で共通使用 */
  --stripe-gradient: linear-gradient(to right, transparent 0, transparent 10px, rgba(255, 173, 179, 0.35) 10px, rgba(255, 173, 179, 0.35) 42px, transparent 42px, transparent calc(100% - 42px), rgba(255, 173, 179, 0.35) calc(100% - 42px), rgba(255, 173, 179, 0.35) calc(100% - 10px), transparent calc(100% - 10px));
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  background: #ffffff;
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ヘッダー・フッターを除く本文(main)用フォント */
.wf-mplus1p {
  font-family: "M PLUS 1p", "Meiryo UI", Meiryo, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  margin: 0 0 0.6em;
  line-height: 1.5;
  color: var(--color-text);
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: min(var(--shell-width), 100%);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--color-primary);
  padding: 0.6em 1em;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Pipe-separated nav lists ---------- */

.pipe-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.pipe-list li {
  display: flex;
  align-items: center;
}

.pipe-list li + li::before {
  content: "|";
  color: #ccc;
  margin: 0 15px;
}

.pipe-list a {
  color: var(--color-text);
  font-weight: 500;
  white-space: nowrap;
}

.pipe-list a[aria-current="page"] {
  color: var(--color-primary);
}

/* ---------- Buttons ---------- */

.btn-para {
  display: inline-block;
  background-image: url("../image/common/btn_parallelogram_blue_bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.btn-para span {
  display: inline-block;
  font-family: "Meiryo UI", Meiryo, sans-serif;
  /* 画面幅に応じて連続的に縮小させる（固定ブレークポイントでの離散的な上書きを廃止） */
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #fff;
  font-weight: 700;
  padding: clamp(10px, 2.5vw, 16px) clamp(24px, 6vw, 60px);
  white-space: nowrap;
}

.btn-para:hover {
  text-decoration: none;
  opacity: 0.85;
}

.btn-para--sm span {
  padding: 0.6em 1.4em;
  font-size: 0.9rem;
}

.feature-section .section-cta .btn-para,
.flow-section .section-cta .btn-para {
  background-image: url("../image/common/btn_parallelogram_blue_bg_flat.png");
}

.btn-flat {
  display: inline-block;
  background: #fff;
  border: 0px solid #cfcfcf;
  color: var(--color-text);
  font-weight: bold;
  font-size: clamp(0.85rem, 2.4vw, 1.3rem);
  width: 70%;
  border-radius: 4px;
}

.section-cta {
  text-align: center;
  margin-top: 2.8em;
}

/* ---------- Diagonal transition bands ---------- */

.diagonal-band {
  height: 27px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.diagonal-band--blue-pink {
  background-image: url("../image/common/divider_band_blue_to_pink.png");
  margin: 26px 0;
}

.diagonal-band--pink-blue {
  background-image: url("../image/common/divider_band_pink_to_blue.png");
}

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  margin: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ナビ展開中は三本線を×に変形させる */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.global-nav {
  align-items: center;
  flex: 1;
  gap: 60px;
  flex-wrap: wrap;
}



.global-nav .pipe-list a {
  padding: 0.4em 0;
  font-size: 1rem;
}

.nav-cta {
  flex-shrink: 0;
  align-self: center;
}

.nav-cta span {
  font-weight: 700;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  padding: clamp(8px, 2vw, 16px) clamp(16px, 5vw, 60px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 5% 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/top/hero_background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.hero-inner {
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  color: var(--color-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  margin-bottom: 0.6em;
  font-size: clamp(1rem, 4.2vw, 1.7rem);
  letter-spacing: 0.2em;
}

.hero-title {
  position: relative;
  display: inline-block;
  margin: 0 auto 1rem;
  padding: 2% 0 2%;
  /*font-family: "Montserrat", sans-serif;*/
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.375rem, 6vw, 3.375rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--color-text);
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  font-weight: 700;
}

.hero-title::before,
.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  max-width: 90vw;
  height: 14px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.hero-title::before {
  top: 0;
  background-image: url("../image/top/hero_title_bar_top.png");
}

.hero-title::after {
  bottom: 0;
  background-image: url("../image/top/hero_title_bar_bottom.png");
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  /* 固定max-widthのみだと幅100%指定が無く縮小されず、狭い画面で見切れていたため width:100% を追加 */
  width: 100%;
  max-width: 836px;
  margin: 0 auto;
}

.hero-bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.hero-bubbles li {
  background: #fff;
  border: 2px solid var(--color-pink-strong);
  border-radius: 20px;
  padding: 14px 16px;
}

.hero-bubbles strong {
  display: block;
  color: var(--color-pink-text);
  font-size: 0.92rem;
}

.hero-bubbles span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ---------- About (EZSeminarとは) ---------- */

.about-section {
  padding: 48px clamp(16px, 4vw, 48px) 48px;
  text-align: center;
  max-width: 920px;
}

.ticked-heading {
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-size: clamp(0.85rem, 4.5vw, 2.4rem);
  font-weight: 900;
  white-space: nowrap;
  margin-bottom: 0.9em;
}

.ticked-heading::before,
.ticked-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.625em;
  height: 1.6em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ticked-heading::before {
  right: 100%;
  margin-right: 1.1em;
  background-image: url("../image/top/heading_tick_marks_left.png");
}

.ticked-heading::after {
  left: 100%;
  margin-left: 1.1em;
  background-image: url("../image/top/heading_tick_marks_right.png");
}

.about-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 1.6em;
  flex-wrap: nowrap;
}

.about-icons img {
  width: 100%;
  max-width: 565px;
  height: auto;
}

.about-arrow {
  flex-shrink: 0;
}

.about-section p {
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  text-align: left;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature section (できるの？) ---------- */

.feature-section {
  position: relative;
  padding: 64px 0 96px;
}

.feature-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-pink-strong);
  background-image: url("../image/top/section_background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.feature-section .shell {
  padding-bottom: 130px;
}

.feature-card {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 9px 32px 30px;
  overflow: visible;
}

/* 共通見出し：タイトル＋img */
.section-heading-with-icon {
  position: relative;
  width: 100%;
  margin: 0 auto 0;
  z-index: 2;
  text-align: center;
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-size: clamp(1.3rem, 4.5vw, 2.8rem);
  font-weight: 800;
}

.section-heading-with-icon img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  pointer-events: none;
}

.section-heading-with-icon span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 8%;
  font-size: 0.9em;
  font-weight: inherit;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  padding-bottom: 1%;
}

/* EZSeminarで何ができるの？ */
.index-possible-heading {
  top: -30px;
}

/* 導入の流れ */

.section-lead {
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.2em;
}


.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2.2em;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.feature-item {
  position: relative;
  padding: 0 52px;
}

.feature-item--no-icon {
  padding: 0;
}

.feature-item-icon {
  --icon-max-width: 56px;
  --icon-max-height: 50px;
  --icon-y: 50%;
  --icon-left-offset: -50px;
  --icon-right-offset: -50px;
  position: absolute;
  top: var(--icon-y);
  transform: translateY(-50%);
  max-width: var(--icon-max-width);
  max-height: var(--icon-max-height);
}

.feature-item h3 {
  color: var(--color-pink-text);
  margin-bottom: 0.5em;
}

.feature-item-icon--payment {
  --icon-max-width: 100px;
  --icon-max-height: 92px;
  --icon-y: calc(50% + 80px);
  --icon-left-offset: -80px;
}

.feature-item-icon--survey {
  --icon-y: calc(50% + 10px);
}

.feature-item-icon--meeting {
  --icon-y: calc(50% + 30px);
}

.feature-item-icon--approval {
  --icon-y: calc(50% + 0px);
}

.feature-item-icon--instructor {
  --icon-y: calc(50% - 20px);
}

.feature-item-icon--live {
  --icon-y: calc(50% + 0px);
}

.feature-item--icon-left .feature-item-icon {
  left: var(--icon-left-offset);
}

.feature-item--icon-right .feature-item-icon {
  right: var(--icon-right-offset);
}

.feature-item-body {
  text-align: center;
}


.feature-item p {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0;
}

.feature-section .section-cta {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  margin: 0;
}

/* ---------- Flow section (導入の流れ) ---------- */

.flow-section {
  padding: 64px 50px 0;
}

.flow-list {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1200px;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
}

.flow-step-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 700 / 628;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  padding: 20px 20px 20px;
}

.flow-step-box-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}

.flow-step-box > *:not(.flow-step-box-bg) {
  position: relative;
  z-index: 1;
}

.flow-step-box-title {
  height: 40%;
  width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  flex: 0 1 auto;
  min-width: 0;
}

.flow-step-box-subtitle {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

.flow-step-box-subtitle p {
  margin-top: 0;
}

.flow-step-box h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(88%, 18em);
  margin-left: auto;
  margin-right: auto;
  min-height: 1.2em;
  line-height: 1.25;
  text-align: center;
}

.flow-step-box p {
  width: min(80%, 30em);
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 0.3em;
  margin-bottom: 0.2em;
  overflow-wrap: break-word;
}


.flow-step-box .btn-para,
.flow-step-box .btn-flat {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
}

.flow-arrow {
  display: block;
  text-align: center;
  color: #000;
  font-size: clamp(0.9rem, 2.6vw, 1.5rem);
  line-height: 1;
}

/* 425px未満：小さいスマホ */
@media (max-width: 425px) {
  .flow-section {
  padding: 64px 20px 0;
  }
  .flow-list {
    gap: 0;
  }

  .flow-step-box {
    padding: 20px 0px 20px;
  }

  .flow-step-box-title {
    height: 30%;
    margin-top: 0.8em;
  }

  .flow-step-box-subtitle {
    width: 98%;
    flex: 0 0 auto;
    min-height: 0;
  }

  .flow-step-box p {
    font-size: 16px;
  }

  .flow-arrow {
    font-size: 1.2rem;
    margin: 0.5em 0;
  }

  .btn-flat {
    font-size: 1.2rem;
  }

  .btn-para-inner {
    margin-top: 30px;
  }
}

/* 426px～767px: スマホ*/
@media (min-width: 426px) and (max-width: 767px) {
  .flow-section {
  padding: 64px 32px 0;
  }
  .flow-list {
    gap: 0px;
  }

  .flow-step-box {
    overflow: visible;
  }

  .flow-step-box-title {
    height: 30%;
    margin-top: 1em;
    flex: 0 0 auto;
    min-height: 0;
  }

  .flow-step-box-subtitle {
    flex: 0 0 auto;
    min-height: 0;
  }

  .flow-step-box h3 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .flow-step-box p {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
    line-height: 1.4;
  }

  .flow-arrow {
    flex: 0 0 auto;
    font-size: clamp(1rem, 5vw, 1.5rem);
    margin: 0.5em 0;
  }

  .flow-step-box .btn-para,
  .flow-step-box .btn-flat {
    flex: 0 0 auto;
  }
}


/* 767px以下　背景画像を90度回転 */
@media (max-width: 767px) {
  .flow-step-box {
    aspect-ratio: 628 / 700;
  }

 .flow-step-box-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  /* 回転前の縦横を箱の縦横と入れ替えるための倍率（画像ファイルごとに実寸の縦横比が微妙に異なるため、height:autoで実寸比に頼るとファイルごとに余白が出る。object-fit:fillで強制的に箱に合わせる） */
  /* グローバルのimg{max-width:100%}がこの倍率を100%に制限してしまうため打ち消す */
  max-width: none;
  width: 111.465%;
  height: 89.714%;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
  z-index: 0;
}

.flow-step-box > *:not(.flow-step-box-bg) {
  position: relative;
  z-index: 1;
}
}

/* 768px以上 タブレット */
@media (min-width: 768px) {
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(24px, 4vw, 40px);
  }
  
  .flow-step-box h3 {
    font-size: 1.6rem;
    min-height: 1.2em;
  }

  .flow-step-box p {
    font-size: 1rem;
  }

  .flow-arrow {
    font-size: 1.5rem;
    margin: 1em 0;
  }
}
/* 1200px以上 PC */
@media (min-width: 1200px) {
  .flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 90%;
  }

  .flow-step-box {
    padding: 18px 16px 16px;
  }

  .flow-step-box-subtitle {
    margin-bottom: 0;
  }

  .flow-step-box h3 {
    font-size: 1.45rem;
    min-height: 1.2em;
  }

  .flow-step-box p {
    /* 1200-1268pxは箱がまだ狭くbg画像からはみ出すため、幅に応じて0.8rem→0.9remへ滑らかに縮小 */
    font-size: clamp(0.8rem, calc(1.6vw - 0.4rem), 0.9rem);
    margin-top: 0.3em;
    margin-bottom: 0.2em;
  }

  .flow-arrow {
    font-size: 1.45rem;
    margin: 0.5em 0;
  }

  .index-process-heading {
    max-width: 860px;
    width: 65%;
  }
}

/* ---------- News section ---------- */

.news-section {
  position: relative;
  padding: 48px 0 64px;
}

.news-bg {
  position: absolute;
  inset: 0;
  background-image: url("../image/top/dot_pattern.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.news-section .shell {
  z-index: 1;
  max-width: 860px;
}

.news-heading {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1em;
}

.news-heading img {
  display: block;
  flex-shrink: 0;
  width: 120px;
  height: auto;
  margin-right: 0;
  margin-bottom: -12px;
  position: relative;
  z-index: 0;
}

.news-list {
  background: #fff;
  border: 1px solid #9e9e9e;
  padding: 6px 28px;
  max-height: 310px;
  overflow-y: auto;
}

.news-list li {
  padding: 20px 0;
  border-bottom: 1px dashed var(--color-border);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list time {
  display: block;
  color: #000000;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.news-list p {
  margin: 0;
  color: var(--color-text);
}

/* ---------- Features page ---------- */

.features-page {
  background: #fff;
}

.features-main {
  overflow: hidden;
}

.features-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 65px 0 0;
}

.features-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/common/hero_background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.features-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 16px;
}

.features-hero .hero-figure,
.environment-hero .hero-figure {
  margin-top: 1.2rem;
}

.feature-list-page {
  background: #fff;
  position: relative;
}

.feature-list-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-list-page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../image/common/main_background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.feature-list-page-shell {
  position: relative;
  z-index: 1;
}

.feature-list-panel {
  position: relative;
  z-index: 0;
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 56px 130px;
}

.feature-list-panel::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 50%;
  width: 80vw;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}

.feature-list-intro {
  width: min(760px, 100%);
  max-width: 760px;
  padding: 60px 0 0;
  margin: 0 auto 1.8em;
  font-size: 1.3rem;
  line-height: 2;
}

.features-introduction-heading {
  font-size: clamp(1rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 0.8em;
}

.feature-list-intro-text {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.feature-list-label {
  width: min(360px, 100%);
  aspect-ratio: 1714 / 223;
  margin: 0 auto 1.4em;
  padding: 0 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  font-family: "M PLUS Rounded 1c", "Meiryo UI", Meiryo, sans-serif;
  font-weight: 700;
  font-size: clamp(1.26rem, 1.8vw, 1.49rem);
  line-height: 1;
  text-align: center;
  letter-spacing: 0.06em;
}

.feature-list-label--pink {
  color: var(--color-pink-text);
  background-image: url("../image/common/pink_label.png");
}

.feature-list-label--blue {
  color: var(--color-primary);
  background-image: url("../image/common/blue-label.png");
}

.feature-list-subtitle {
  --feature-subtitle-rule-color: #eeb6b6;
  position: relative;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ee93a5;
  font-weight: 700;
  margin: 0 0 1.6em;
  padding: 0.62em 0;
}

.feature-list-subtitle::before,
.feature-list-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 1px;
  background: var(--feature-subtitle-rule-color);
}

.feature-list-subtitle::before {
  top: 15px;
}

.feature-list-subtitle::after {
  bottom: 15px;
}

.feature-list-subtitle--admin {
  color: var(--color-primary);
  --feature-subtitle-rule-color: #9ac7ea;
}

.feature-user-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  list-style: none;
  padding: 0;
  max-width: 860px;
  margin: 0 auto;
}

.feature-user-item {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 16px;
  align-items: center;
}

.feature-user-number {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 72px;
  height: auto;
  align-self: start;
}

.feature-user-icon {
 grid-column: 2;
  grid-row: 2;
  width: auto;
  max-width: 80px; /* アイコンの大きさを一定に揃える */
  max-height: 80px;
  height: auto;
  justify-self: center;
  align-self: start;
}

.feature-user-body {
  display: contents;
}

.feature-user-body h3 {
  grid-column: 2 / 4;
  grid-row: 1;
  margin: 0;
  width: min(620px, 100%);
  justify-self: center;
  padding-left: 70px;
  text-align: left;
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.4;
  align-self: center;
  color: var(--color-text);
}

.u-text-pink {
  color: #ee6a84;
}

.feature-user-body p {
  grid-column: 3;
  grid-row: 2;
  width: min(32em, 100%);
  justify-self: end;
  padding-left: 70px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.feature-user-item--first .feature-user-icon {
  max-width: 128px;
  max-height: 128px;
}

.feature-list-admin {
  margin-top: 76px;
}

.feature-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px, 1fr));
  gap: 22px;
}

.feature-admin-card {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border-radius: 18px;
  background-image: var(--card-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  overflow: hidden;
  text-align: center;
}

.feature-admin-card h3 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 1;
  text-align: center;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
}

.feature-admin-card p {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 1;
  margin: 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  color: #4f4f4f;
}

/* アイコンなしカード（常に.feature-admin-cardと併用されるため、共通の外枠プロパティはここでは再指定しない） */
.feature-admin-card--no-icon {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border-radius: 18px;
  background-image: var(--card-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  overflow: hidden;
  text-align: center;
}

.feature-admin-card--no-icon h3 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 1;
  text-align: center;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
}

.feature-admin-card--no-icon p {
  margin-top: 25%;
  width: 90%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- Contact page ---------- */

.contact-page-body {
  background: #fff;
}

.contact-main {
  overflow: hidden;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 68px 0 70px;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/common/hero_background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-content {
  position: relative;
  padding: 56px 0 104px;
}

.contact-shell {
  position: relative;
  z-index: 1;
  max-width: 820px;
  background: #fff;
  padding: 0 12px 8px;
}

.contact-lead {
  margin: 0 auto;
  text-align: center;
  max-width: 760px;
  color: #9097a1;
  font-size: 1.3rem;
  line-height: 1.32;
  letter-spacing: 0.03em;
}

.contact-lead + .contact-lead {
  margin-top: 0.28em;
}

.contact-form-section {
  margin-top: 62px;
}

.contact-form-heading {
  position: relative;
  margin: 0 0 26px;
  padding-left: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
}

.contact-form-heading::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 34px;
  background-image: url("../image/contact/contact_form_heading.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.contact-form {
  border-top: 1px solid #e8ebf0;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 158px 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e8ebf0;
}

.contact-form-row--no-required .contact-field {
  grid-column: 3;
}

.contact-form-row--center {
  align-items: center;
}

.contact-form-row--center .contact-label,
.contact-form-row--center .contact-required {
  margin-top: 0;
}

.contact-label {
  position: relative;
  margin-top: 0.62em;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.4;
}

.contact-label-sub {
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
}

.contact-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  margin-top: 0.38em;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  /* flexで縮んだ際に日本語2文字の間で改行し縦書きになるのを防ぐ */
  white-space: nowrap;
  flex-shrink: 0;
  background-image: url("../image/contact/required_background.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.contact-field {
  min-width: 0;
  margin-left: 10px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: none;
  background: #f8f8f8;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 10px 12px;
}

.contact-field textarea {
  background: #fff;
  border: 1px solid #eaedf3;
}

/*テキストボックス内テキスト色*/
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a9a9a9;
}

.contact-field select:invalid,
.contact-field select option[value=""] {
  color: #a9a9a9;
}

/* 未選択(必須未入力)状態でもプルダウン内の実選択肢は黒文字のまま表示する */
.contact-field select option:not([value=""]) {
  color: #555;
}

.contact-field input,
.contact-field select {
  height: 38px;
}

.contact-field textarea {
  min-height: 288px;
  resize: vertical;
}

.contact-field--radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0.22em;
}

.contact-field--radio label {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-field--radio input[type="radio"] {
  margin: 0 8px 0 0;
  width: 18px;
  height: 18px;
}

.contact-field--zip {
  display: flex;
  gap: 8px;
}

.contact-field--zip input {
  max-width: 170px;
}

.contact-field select[name="prefecture"] {
  max-width: 170px;
}

.contact-field input[name="phone"],
.contact-field input[name="email"],
.contact-field input[name="email_confirm"] {
  max-width: 420px;
}

.contact-consent-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.contact-consent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #565656;

}

.contact-consent-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
}

.contact-privacy-link {
  margin: 45px 0 55px;
  text-align: center;
}

.contact-privacy-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
}

.contact-privacy-link-icon {
  width: 14px;
  height: 14px;
}

.contact-submit-wrap {
  margin: 34px 0 0;
  text-align: center;
}

.g-recaptcha {
display: inline-block;
}

.contact-submit-btn {
  width: 340px;
  max-width: 100%;
  min-height: 56px;
  border: none;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #1d74c0;
  //background-color: transparent;
  //background-image: url("../image/contact/submitbtn_background.png");
  cursor: pointer;
}

.inactive {
  background-color: #d5d5d5;
  color: #a3a3a3;
  pointer-events: none;
}

.contact-reset-btn {
  width: 340px;
  max-width: 100%;
  min-height: 56px;
  border: none;
  color: #a3a3a3;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #d5d5d5;
  //background-color: transparent;
  //background-image: url("../image/contact/submitbtn_background.png");
  cursor: pointer;
}

/* ---------- environment page ---------- */

.environment-page {
  background: #fff;
  position: relative;
}

.environment-main {
  overflow: hidden;
}

.environment-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 65px 0 0;
}

.environment-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/common/hero_background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.environment-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 16px;
}

.environment-hero .hero-figure img {
  width: 100%;
  max-width: clamp(52px, 13vw, 114px);
}

.environment-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.environment-page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../image/common/main_background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.environment-shell {
  position: relative;
  z-index: 1;
}

.environment-panel {
  position: relative;
  z-index: 0;
  padding: 22px 56px 130px;
}

.environment-panel::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 50%;
  width: 80vw;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}

.environment-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0 0;
}

.environment-block + .environment-block {
  margin-top: 58px;
}

.environment-block-lead {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 auto 1.8em;
  font-size: 1.4rem;
  line-height: 2;
}

.environment-operation-heading,
.environment-security-heading {
  font-size: clamp(1rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 0.8em;
  width: min(760px, 100%);
}

.environment-center-visual {
  margin: 0 0 2.4em;
  text-align: center;
}

.environment-center-visual img {
  width: 150px;
  height: auto;
  opacity: 0.75;
}

.environment-item-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.environment-item {
  text-align: center;
}

.environment-item-title {
  margin: 0 auto 1.3em;
  width: min(780px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.55rem, 2.4vw, 1.60rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.environment-item-title--blue {
  width: min(640px, 100%);
  color: var(--color-primary);
  background-image: url("../image/environment/item_title_blue.png");
  background-size: contain;
}

.environment-item-title--pink {
  width: min(640px, 100%);
  color: #e3869f;
  background-image: url("../image/environment/item_title_pink.png");
  background-size: contain;
}

.environment-item-row {
  width: min(680px, 100%);
  max-width: 680px;
  margin-left: auto;
  margin-right: max(0px, calc((100% - 760px) / 2));
  min-height: 150px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  gap: 80px;
  text-align: left;
}

.environment-item-icon {
  max-width: 500px;
  max-height: 120px;
  margin: 0 auto;
  opacity: 0.78;
}

.environment-item-icon[src*="icon_cloud"],
.environment-item-icon[src*="icon_reception"] {
  max-height: 140px;
}

.environment-item-icon[src*="icon_external_system"] {
  max-height: 190px;
  margin-left: -40px;
  margin-top: -50px;
}

.environment-item-row p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.95;
  color: #575757;
}

/* ---------- Case studies page ---------- */

.case-studies-page {
  background: #fff;
}

.case-studies-main {
  overflow: hidden;
}

.case-studies-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 65px 0 120px;
}

.case-studies-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/case-studies/hero_background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.case-studies-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 16px;
}

/* shared hero typography for features / environment / case-studies */
.features-hero-eyebrow,
.environment-hero-eyebrow,
.case-studies-hero-eyebrow, 
.contact-hero-eyebrow {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1rem, 4.8vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--color-text);
  line-height: 1.25;
  margin-top: -0.3em;
  margin-bottom: 0.5em;
}
/* 導入事例のみグレーにする */
.case-studies-hero-eyebrow {
  color: #a1a1a1;
}

.features-hero-title,
.environment-hero-title,
.case-studies-hero-title,
.contact-hero-title {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 3% 0 3%;
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
}

.features-hero-title span,
.environment-hero-title span,
.case-studies-hero-title span,
.contact-hero-title span {
  display: block;
  padding: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.5rem, 5vw, 3.0rem);
  letter-spacing: 0.16em;
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text);
}

.hero-title-bars::before,
.hero-title-bars::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 800px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.hero-title-bars::before {
  top: 0;
  background-image: url("../image/common/hero_title_bar_top.png");
}

.hero-title-bars::after {
  bottom: 0;
  background-image: url("../image/common/hero_title_bar_bottom.png");
}

.case-studies-content {
  position: relative;
  padding: 20px 0 76px;
}

.case-studies-content-bg {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-image: url("../image/case-studies/section_background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.62;
  z-index: 0;
}

.case-studies-shell {
  position: relative;
  z-index: 1;
}

.case-studies-panel {
  max-width: 1040px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 56px 58px;
}

.case-studies-intro {
  max-width: 860px;
  margin: 0 auto 2.4em;
  text-align: center;
}

.case-studies-heading {
  font-size: clamp(1rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 0.8em;
}

.case-studies-intro-text {
  max-width: 690px;
  margin: 0 auto 1.8em;
  text-align: left;
  font-size: 1.08rem;
  line-height: 2;
}

.case-studies-catchcopy {
  margin: 0;
  text-align: center;
  color: #ef8ea2;
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.case-study-card + .case-study-card {
  margin-top: 3em;
}

.case-study-label {
  position: relative;
  width: min(600px, 100%);
  aspect-ratio: 2151 / 313;
  margin: 0 auto 1.35em;
}

.case-study-label img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
}

.case-study-label span {
  position: absolute;
  inset: 0 4% 0 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(10%);
  color: #f28ca2;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.case-study-label + .case-study-grid {
  margin-top: 5em;
}

.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.case-study-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-study-placeholder {
  background: #dbdce0;
  width: 100%;
  aspect-ratio: 1000 / 740;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 1.15em;
}

.case-study-topic h4 {
  margin: 0 0 0.5em;
  color: var(--color-text);
  font-size: clamp(1.15rem, 1.8vw, 1.82rem);
  font-weight: 800;
  line-height: 1.45;
}

.case-study-topic p {
  margin: 0;
  color: #595959;
  font-size: 0.98rem;
  line-height: 1.95;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
  padding: 60px 0;
}

.footer-inner {
  text-align: center;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav-row + .footer-nav-row {
  margin-top: 8px;
}

.footer-nav-row:first-child li:last-child::after {
  content: "|";
  color: #ccc;
  margin-left: 12px;
}

.footer-nav .pipe-list a {
  color: var(--color-text);
  font-size: 0.88rem;
}

.footer-rule {
  border: none;
  border-top: 1px solid #000;
  margin: 0 0 24px;
}

.footer-brand-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 16px;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.footer-company {
  text-align: left;
  color: var(--color-text);
  font-family: "Meiryo UI", Meiryo, sans-serif;
  font-size: clamp(0.7rem, 4.2vw, 1rem);
  font-weight: 500;
}

.footer-company p {
  margin-bottom: 0em;
  white-space: nowrap;
}

.footer-copyright {
  display: block;
  color: var(--color-text-muted);
  font-size: clamp(0.6rem, 3.3vw, 0.7rem);
  font-weight: bold;
  white-space: nowrap;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* ========================================
   Responsive
   ======================================== */

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
}

@media (max-width: 1119px) {
  /* 機能一覧アイコン（かんたん申込等）のオフセット */
  .feature-item-icon {
    --icon-left-offset: -26px;
    --icon-right-offset: -26px;
  }

  .feature-item-icon--payment {
    --icon-left-offset: -26px;
  }
}

@media (max-width: 1080px) {
  /* 機能一覧ページ */
  .feature-list-panel {
    padding: 20px 30px 46px;
  }

  .feature-user-body h3 {
    font-size: 1.5rem;
  }

  .feature-admin-card h3,
  .feature-admin-card--no-icon h3 {
    font-size: 1.5rem;
  }

  /* 環境・セキュリティページ */
  .environment-panel {
    padding: 20px 30px 46px;
  }

  .environment-item-title {
    min-height: 54px;
  }

  /* 導入事例ページ */
  .case-studies-panel {
    padding: 20px 30px 46px;
  }
}

@media (max-width: 1024px) {
  /* 環境・セキュリティページ */
  .environment-center-visual img {
    width: 130px;
  }

  .environment-item-icon[src*="icon_external_system"] {
    max-width: 180px;
    max-height: 180px;
  }
}

@media (max-width: 900px) {
  /* ヘッダー */
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .global-nav {
    /* 常にDOM上はflexだが、通常フローから外しmainを押し下げないようにする */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    /* 閉じている間は高さ0・click無効にし、is-openで一気に展開させる（「にゅっ」と出すアニメーション） */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.24s ease;
  }

  .global-nav.is-open {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav .pipe-list {
    flex-direction: column;
    border-top:  50% 1px solid var(--color-border);
  }

  .global-nav .pipe-list li + li::before {
    content: none;
  }

  .global-nav .pipe-list li {
    width: 90%;
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav .pipe-list a {
    display: block;
    padding: 0.9em 0.2em;
  }

  /* ロゴを左端に固定し、お問い合わせボタン＋ハンバーガーを右寄せでまとめる */
  .brand {
    margin-right: auto;
    order: 1;
  }

  .brand-logo {
    width: 110px;
  }

  .nav-cta {
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  /* 機能一覧ページ */
  .features-hero {
    padding: 48px 0 0;
  }

  .features-hero-inner {
    padding-top: 12px;
  }

  .feature-list-panel {
    padding: 18px 20px 34px;
  }

  .feature-list-intro {
    font-size: 0.98rem;
    line-height: 1.88;
  }

  .feature-user-item {
    grid-template-columns: 56px 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 12px;
  }

  .feature-user-number {
    grid-column: 1;
    grid-row: 1;
    width: 56px;
    max-width: 56px;
  }

  .feature-user-icon {
    grid-column: 2;
    grid-row: 2;
    width: 72px;
    max-width: 72px;
  }

  .feature-user-body h3 {
    grid-column: 2 / 4;
    grid-row: 1;
    width: min(460px, 100%);
    padding-left: 8px;
    font-size: 1.3rem;
  }

  .feature-user-body p {
    grid-column: 3;
    grid-row: 2;
    width: min(28em, 100%);
    justify-self: end;
    font-size: 0.88rem;
  }

  .feature-admin-card h3,
  .feature-admin-card--no-icon h3 {
    font-size: 1.3rem;
  }

  .feature-admin-card p,
  .feature-admin-card--no-icon p {
    font-size: 0.88rem;
  }

  /* お問い合わせページ */
  .contact-hero {
    padding: 56px 0 56px;
  }

  .contact-content {
    padding: 44px 0 78px;
  }

  .contact-lead {
    font-size: 1.26rem;
    line-height: 1.45;
  }

  .contact-form-row {
    grid-template-columns: 148px 50px minmax(0, 1fr);
  }

  /* 環境・セキュリティページ */
  .environment-hero {
    padding: 48px 0 0;
  }

  .environment-hero-inner {
    padding-top: 12px;
  }

  .environment-panel {
    padding: 18px 20px 34px;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }

  .environment-item-icon[src*="icon_external_system"] {
    max-width: 130px;
    max-height: 130px;
    margin-left: auto;
    margin-top: 0;
  }

  .environment-block-lead {
    font-size: 0.98rem;
    line-height: 1.88;
  }

  .environment-item-title {
    min-height: 45px;
    margin-bottom: 1em;
    font-size: 1.28rem;
  }

  .environment-item-row {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .environment-item-icon {
    width: 96px;
  }

  .environment-item-row p {
    font-size: 0.95rem;
  }

  /* 導入事例ページ */
  .case-studies-hero {
    padding: 48px 0 60px;
  }

  .case-studies-hero-inner {
    padding-top: 12px;
  }

  .case-studies-panel {
    padding: 18px 20px 36px;
  }

  .case-studies-intro-text {
    font-size: 0.98rem;
    line-height: 1.88;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-gallery {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* TOP */
  .index-possible-heading {
    top: -20px;
  }

  .section-heading-with-icon span {
    padding-left: 3rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .features-introduction-heading,
  .environment-operation-heading,
  .environment-security-heading {
    top: -20px;
  }

  .contact-content {
    padding: 44px 20px 78px;
  }

   .features-hero-eyebrow, 
   .environment-hero-eyebrow,
   .case-studies-hero-eyebrow,
   .contact-hero-eyebrow {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
  }
}

@media (max-width: 640px) {
  /* 斜めの区切り帯 */
  .diagonal-band {
    height: 16px;
  }

  .diagonal-band--blue-pink {
    margin: 16px 0;
  }

  /* 機能一覧セクションCTA */
  .feature-section .shell {
    padding-bottom: 108px;
  }

  .feature-section .section-cta {
    bottom: 24px;
  }

  /* 機能一覧ページ */
  .feature-list-page {
    padding: 12px 0 0;
  }

  .feature-list-page-bg {
    background-image: var(--stripe-gradient);
  }

  .feature-list-panel {
    padding: 14px 14px 28px;
  }

  .feature-list-panel::before {
    top: -12px;
  }

  .feature-list-label {
    width: min(300px, 100%);
    font-size: 1rem;
  }

  .feature-list-subtitle {
    font-size: 1.35rem;
  }

  .feature-user-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 10px;
    text-align: center;
  }

  .feature-user-body {
    display: contents;
    text-align: center;
  }

  .feature-user-number,
  .feature-user-icon {
    grid-column: 1;
    margin: 0 auto;
  }

  .feature-user-number {
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  .feature-user-icon {
    grid-row: 3;
  }

  .feature-user-body h3 {
    font-size: 1.35rem;
    padding-left: 0;
    width: min(26em, 100%);
    justify-self: center;
    text-align: center;
    grid-column: 1;
    grid-row: 2;
  }

  .feature-list-admin {
    margin-top: 56px;
  }

  .feature-user-body p {
    grid-column: 1;
    grid-row: 4;
    max-width: 34em;
    width: min(34em, 100%);
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    text-align: center;
    font-size: 0.95rem;
  }

  .feature-admin-card h3,
  .feature-admin-card--no-icon h3 {
    font-size: 1.35rem;
  }

  .feature-admin-card p,
  .feature-admin-card--no-icon p {
    font-size: 0.95rem;
  }

  /* お問い合わせページ */
  .contact-hero {
    padding: 40px 0 44px;
  }

  .contact-content {
    padding: 26px 20px 56px;
  }

  .contact-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-lead {
    font-size: 1rem;
    line-height: 1.75;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .contact-form-section {
    margin-top: 36px;
  }

  .contact-form-heading {
    font-size: 1.52rem;
    margin-bottom: 16px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .contact-label,
  .contact-required {
    margin-top: 0;
  }

  .contact-required {
    justify-self: start;
  }

  .contact-field textarea {
    min-height: 250px;
  }

  .contact-field--zip {
    flex-wrap: wrap;
  }

  .contact-consent-row {
    margin-top: 26px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .contact-submit-btn {
    width: min(320px, 100%);
    min-height: 52px;
    font-size: 1.08rem;
  }

  /* 環境・セキュリティページ */
  .environment-center-visual img {
    width: 72px;
  }

  .environment-item-icon[src*="icon_cloud"], 
  .environment-item-icon[src*="icon_reception"] {
    width: 72px;
  }

  .environment-item-icon {
    width: 72px;
  }
  .environment-item-icon[src*="icon_external_system"] {
    width: 92px;
  }

  .environment-item-list {
    gap: 30px;
  }

  .environment-page {
    padding: 12px 0 0;
  }

  .environment-page-bg {
    background-image: var(--stripe-gradient);
  }

  .environment-panel {
    padding: 14px 14px 28px;
  }

  .environment-panel::before {
    top: -12px;
  }
  .environment-block {
    padding-top: 50px;
  }

  .environment-block + .environment-block {
    margin-top: 0px;
  }

  .environment-item-title {
    min-height: 38px;
    font-size: 1.05rem;
  }

  .environment-item-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .environment-item-row p {
    text-align: left;
  }

  /* 導入事例ページ */
  .case-studies-content {
    padding: 14px 0 54px;
  }

  .case-studies-panel {
    padding: 14px 14px 28px;
  }

  .case-studies-catchcopy {
    font-size: 1.3rem;
    line-height: 1.6;
    white-space: normal;
  }

  .case-study-label {
    margin-bottom: 1em;
  }

  .case-study-label span {
    inset: 0 3% 0 21%;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
  }

  .case-study-topic h4 {
    font-size: 1.18rem;
  }

  .case-study-topic p {
    font-size: 0.94rem;
  }

  /* 機能一覧／環境・セキュリティ／導入事例 共通ヒーロー */
  .hero-title-bars::before,
  .hero-title-bars::after {
    height: 8px;
  }

  .features-hero .hero-figure,
  .environment-hero .hero-figure {
    margin-top: 0.8rem;
  }

  /* お問い合わせフォーム：必須をラベルの右に、入力欄をラベルの下に左寄せで配置 */
  .contact-form-row {
    grid-template-columns: max-content max-content 1fr;
    justify-content: start;
    column-gap: 8px;
  }

  .contact-label {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-label-sub {
    /* 縦積みレイアウトでは下に置くとcontact-fieldと重なるため、ラベルの右側に並べる */
    position: static;
    margin-left: 4px;
  }

  .contact-required {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .contact-field,
  .contact-form-row--no-required .contact-field {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    text-align: left;
  }

    .footer-brand-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-company {
    font-size: clamp(0.8rem, 4.2vw, 1rem);
    text-align: center;
  }

  .footer-company p {
    white-space: normal;
  }

  .footer-copyright {
    text-align: center;
    font-size: clamp(0.5rem, 3vw, 0.7rem);
    white-space: normal;

  }
}

@media (max-width: 425px) {
  .feature-section {
    position: relative;
    padding: 64px 0 20px;
  }
  /* 機能一覧セクション見出し */
  .section-heading-with-icon {
    font-size: 1.2rem;
  }

  .section-heading-with-icon span {
    padding-bottom: 0.3rem;
    padding-left: 2rem;
  }

  .index-possible-heading {
    top: -10px;
    width: 110%;
    margin-left: -6%;
  }


  /* できるの？セクション：見出し→アイコン→本文の順に縦積み */
  .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .feature-item-body {
    display: contents;
  }

  .feature-item h3 {
    order: 1;
  }

  .feature-item--icon-right .feature-item-icon,
  .feature-item--icon-left .feature-item-icon {
    position: static;
    transform: none;
    order: 2;
    margin: 0.6em 0;
  }

  .feature-item p {
    order: 3;
  }

  .features-introduction-heading,
  .environment-operation-heading,
  .environment-security-heading {
    width: 105%;
    font-size: 1.14rem;
  }

  /* 機能一覧／環境・セキュリティ／導入事例 共通ヒーロー */
  .features-hero-title,
  .environment-hero-title,
  .case-studies-hero-title,
  .contact-hero-title {
    padding: 5% 0 5%;
  }

  .features-hero-eyebrow, 
  .environment-hero-eyebrow, 
  .case-studies-hero-eyebrow,
  .contact-hero-eyebrow {
    font-size: 1rem;
  }

  .hero-title {
    padding: 3% 0 3%;
    margin: 0 auto 0.5rem;  
  }

  .hero-title::before, .hero-title::after {
    height: 8px;
  }

  .environment-block {
    padding: 0 0 0;
  }

  .environment-block + .environment-block {
    margin-top: 30px;
  }

  .contact-content {
    padding: 32px 20px 64px;
  }

  .contact-consent-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  }

  .contact-consent-label {
    gap: 5px;
  }

  /* 同意チェックボックスを必須バッジの下に配置 */
  .contact-consent-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 375px) {
  /* ヘッダー：ロゴ＋お問い合わせ＋ハンバーガーが1行に収まりきらず改行するのを防ぐ */
  .header-inner {
    gap: 12px 8px;
  }

  .brand-logo {
    width: 96px;
  }

  .nav-cta span {
    padding: clamp(8px, 2vw, 16px) 12px;
  }

  .index-possible-heading {
    width: 110%;
    margin-left: -4%;
  }

  .features-introduction-heading,
  .environment-operation-heading,
  .environment-security-heading {
    font-size: 1rem;
  }

}

@media (max-width: 340px) {
  /* 機能一覧セクション見出し */
  .section-heading-with-icon {
    font-size: 1rem;
  }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 641px) {
  .case-studies-catchcopy {
    font-size: clamp(1.4rem, 3.6vw, 1.9rem);
    white-space: normal;
    line-height: 1.5;
  }
}

/* min-width系メディアクエリをブレークポイント単位（昇順）でまとめたもの。
   同一セレクタが複数ブレークポイントにまたがる場合は、幅の狭い方から広い方の順で
   上書きされるようここでも同じ並び順を維持している。 */

@media (min-width: 640px) {
  /* 機能一覧アイコン */
  .feature-item {
    padding: 0 84px;
  }

  .feature-item-icon {
    --icon-max-width: 84px;
    --icon-max-height: 74px;
  }

  .feature-item-icon--payment {
    --icon-max-width: 116px;
    --icon-max-height: 104px;
  }
}

@media (min-width: 900px) {
  /* TOPページ ヒーロー */
  .hero {
    padding: 48px 0 0;
  }

  .hero-title::before,
  .hero-title::after {
    width: 680px;
  }

  /* 機能一覧／環境・セキュリティ／導入事例 共通ヒーロー */
  .hero-title-bars::before,
  .hero-title-bars::after {
    width: 680px;
  }
}

@media (min-width: 901px) {
  /* ヘッダー */
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1040px) {
  /* 機能一覧アイコン */
  .feature-item-icon {
    --icon-max-width: 112px;
    --icon-max-height: 92px;
  }

  .feature-item-icon--payment {
    --icon-max-width: 158px;
    --icon-max-height: 132px;
  }
}

@media (min-width: 1120px) {
  /* 機能一覧カード */
  .feature-card {
    padding: 11px 60px 40px;
  }
}
