/* ============================================================
   IRMAIL × かんたんe-Survey「セットでお得キャンペーン」LP
   ------------------------------------------------------------
   デザイン：LPデザインガイドライン（汎用版）準拠
   ・Container 1200px / 左右24px
   ・Section 上下120px（SP 72px）
   ・Primary #2F6EF8 / Light #F4F8FF / Border #E7EDF6 / Text #2D3748
   ・Button h56 / radius999 / Card radius20・padding40・hover -4px
   ・FadeUp .6s / Hover .3s
   命名：BEM（section / container / card / button / badge ほか）
   ------------------------------------------------------------
   年度更新箇所は <!-- 年度更新 --> のコメントで明示
   ============================================================ */

:root {
  --primary: #2f6ef8;
  --secondary: #5b8eff;
  --bg: #ffffff;
  --light: #f4f8ff;
  --border: #e7edf6;
  --text: #2d3748;
  --muted: #6b7a90;
  --accent: #e8552f; /* 締切・お得額など注意喚起にのみ使用 */
  --bio: #2e9e5b; /* IRMAIL バイオ */
  --bio-light: #eaf6ee;
  --mec: #e8892b; /* IRMAIL メカトロ＆フィジックス */
  --mec-light: #fdf1e4;
  --shadow: 0 2px 10px rgba(45, 55, 72, 0.06);
  --shadow-hover: 0 12px 28px rgba(47, 110, 248, 0.14);
  --radius: 20px;
  --font:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP",
    system-ui, sans-serif;
  --container: 1200px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

#Page-irmail-esurvey,
#Page-irmail-esurvey * {
  font-family:
    "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif !important;
}

#Page-irmail-esurvey .button,
#Page-irmail-esurvey .hero__campaign,
#Page-irmail-esurvey .section-title,
#Page-irmail-esurvey .price__value,
#Page-irmail-esurvey .hero__price b,
#Page-irmail-esurvey .price__row b,
#Page-irmail-esurvey .price__box .price__value,
#Page-irmail-esurvey .sticky-cta__text,
#Page-irmail-esurvey .tabs__btn,
#Page-irmail-esurvey .schedule__vol,
#Page-irmail-esurvey .schedule__topic,
#Page-irmail-esurvey .schedule__point,
#Page-irmail-esurvey .schedule__date b,
#Page-irmail-esurvey .schedule__bonus,
#Page-irmail-esurvey .form__note,
#Page-irmail-esurvey .section-lead,
#Page-irmail-esurvey .spec__value,
#Page-irmail-esurvey .spec__key,
#Page-irmail-esurvey .role__desc,
#Page-irmail-esurvey .hero__lead,
#Page-irmail-esurvey .hero__price em,
#Page-irmail-esurvey .hero__price s,
#Page-irmail-esurvey .hero__price small {
  font-family:
    "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    system-ui, sans-serif !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}

/* ============ レイアウト ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
}
.section--light {
  background: var(--light);
}
.section--primary {
  /* background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); */ 
  background: var(--light);
    color: #fff;
    padding-bottom: 0 !important;
}
.section--primary .role__foot {
  color: #fff;
}
@media (max-width: 1199px) {
  .section {
    padding: 96px 0;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }
}

.section-head {
  margin: 0 0 48px;
  /* text-align: center; */
}
.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0;
}
.section-title__sub {
  display: block;
  font-size: 0.62em;
  color: var(--primary);
  margin-top: 10px;
}
.section-lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--light);
  color: var(--primary);
  margin: 0 0 20px;
}
.badge--primary {
  background: var(--primary);
  color: #fff;
}
.badge--accent {
  background: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid--media {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .grid--media-narrow {
    grid-template-columns: 440px 1fr;
    gap: 48px;
    align-items: center;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 767px) {
  .card {
    padding: 28px 24px;
  }
}

/* ============ ボタン ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--primary);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(47, 110, 248, 0.28);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
}
.button:hover,
.button:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px rgba(47, 110, 248, 0.34);
}
.button--ghost {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--light);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: var(--shadow-hover);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .card:hover {
    transform: none;
  }
}

/* ============ ヘッダー ============ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 20;
}
.header__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.header__logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.header__tel {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  text-align: right;
}
.header__tel b {
  display: block;
  font-size: 20px;
  color: var(--text);
}
.header__cta {
  display: none;
}
@media (min-width: 1000px) {
  .header__cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
}

/* ============ ヒーロー ============ */
.hero {
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  padding: 88px 0 96px;
}
@media (max-width: 767px) {
  .hero {
    padding: 56px 0 64px;
  }
}
.hero__in {
  display: grid;
  gap: 48px;
}
@media (min-width: 1440px) {
  .hero__in {
    grid-template-columns: 1fr 500px;
    align-items: center;
    gap: 0px;
  }
}
.hero__campaign {
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 30px 0 15px;
    display: inline-block;
    padding: 0 0px;
  border-bottom: 4px solid var(--accent);
}
.hero__campaign-spacer {
  min-height: clamp(35px, 6.2vw, 54px);
  margin: 30px 0 15px;
}
.hero__title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
}
.hero__title .u {
  background: linear-gradient(transparent 62%, rgba(47, 110, 248, 0.18) 62%);
}
.hero__lead {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.95;
  max-width: 34em;
}
@media (max-width: 767px) {
  .hero__lead {
    font-size: 16px;
  }
}
.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin: 20px 0 0;
  max-width: 34em;
}
.hero__price s {
  font-size: 15px;
  color: var(--muted);
}
.hero__price b {
  font-size: clamp(28px, 4.4vw, 38px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.hero__price b small {
  font-size: 16px;
  color: var(--text);
}
.hero__price em {
  font-style: normal;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 14px;
  letter-spacing: 0.04em;
}
.hero__buttons {
  margin: 32px 0 0;
}
.hero__figure {
  /* background: #fff; */
  /* border: 1px solid var(--border); */
  /* border-radius: var(--radius); */
  /* box-shadow: var(--shadow); */
  /* aspect-ratio: 3/4; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  /* padding: 24px; */
  line-height: 1.9;
}

/* ============ 役割の対比 ============ */
.role__card {
  position: relative;
  text-align: center;
}
.role__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.role__icon svg {
  width: 32px;
  height: 32px;
}
.role__service {
  /* font-size: 14px; */
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 8px;
  letter-spacing: 0.06em;
}

/* ---- ロゴ差し替え用 ----
   .brand__text を削除して .brand__img のコメントを外すとロゴ画像に切り替わる。
   画像は文字サイズに追従（height:1em基準）するため、見出し内でも比率が崩れない。 */
.brand {
  display: inline-flex;
  align-items: center;
  vertical-align: baseline;
}
.brand__img {
  height: 1.05em;
  width: auto;
  display: block;
}
.section-title .brand__img {
  height: 1.1em;
}
.role__service .brand__img {
  height: 1.5em;
}
.anchor-nav__item .brand__img {
  height: 1.3em;
}
.role__name {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.4;
}
.role__logo {
  min-height: 80px;
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}
.role__logo .brand__img {
  width: auto;
  max-width: 100%;
}
#stab-irmail .role__logo .brand__img {
  height: 80px;
}
#stab-esurvey .role__logo .brand__img {
  height: 60px;
}
.role__desc {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.95;
  color: var(--text);
  text-align: left;
}
.role__foot {
  margin: 32px auto 0;
  max-width: 44em;
  text-align: center;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 700;
}
@media (max-width: 767px) {
  .role__foot {
    font-size: 16px;
    text-align: left;
  }
}

/* ============ アンカー ============ */
.anchor-nav {
  padding: 40px 0 48px;
}
.anchor-nav__list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .anchor-nav__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.anchor-nav__item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-decoration: none;
  padding: 16px 52px 16px 24px;
  min-height: 64px;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.anchor-nav__item a:hover,
.anchor-nav__item a:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.anchor-nav__item b {
  font-size: 16px;
  font-weight: 800;
}
.anchor-nav__item span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}
.anchor-nav__chevron {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.anchor-nav__item a:hover .anchor-nav__chevron,
.anchor-nav__item a:focus-visible .anchor-nav__chevron {
  transform: translate(4px, -50%);
}
@media (max-width: 767px) {
  .anchor-nav {
    padding-bottom: 36px;
  }
}

/* ============ 定義リスト ============ */
.spec {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.spec__item:first-child {
  border-top: 1px solid var(--border);
}
@media (min-width: 600px) {
  .spec__item {
    grid-template-columns: 8em 1fr;
  }
}
.spec__key {
  font-weight: 800;
  font-size: 16px;
  margin: 0;
  color: var(--primary);
}
.spec__value {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}
.spec__value small {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* ============ ポイント（2×2カード） ============ */
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  counter-reset: pt;
}
@media (min-width: 768px) {
  .points {
    grid-template-columns: 1fr 1fr;
  }
}
.points__item {
  counter-increment: pt;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.points__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.points__item::before {
  content: counter(pt, decimal-leading-zero);
  align-self: flex-start;
  background: var(--light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  font-weight: 800;
}

/* ============ 発行スケジュール ============ */
.tabs {
  display: grid;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
  grid-template-columns: 1fr 1fr;
}
.tabs__btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  /* border-radius: 999px; */
  min-height: 56px;
  padding: 15px 28px;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.tabs__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.tabs__btn[aria-selected="true"] {
  background: var(--theme, var(--primary));
  color: #fff;
  border-color: var(--theme, var(--primary));
}
.tabs__btn[data-theme="bio"] {
  --theme: var(--bio);
}
.tabs__btn[data-theme="mec"] {
  --theme: var(--mec);
}
.tabs__btn small {
  display: block;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.8;
}

.panel[hidden] {
  display: none;
}
.panel--bio {
  --theme: var(--bio);
  --theme-light: var(--bio-light);
}
.panel--mec {
  --theme: var(--mec);
  --theme-light: var(--mec-light);
}
.fields {
  margin: 0 0 32px;
  font-size: clamp(14px, 2vw,20px);
  line-height: 1.95;
  color: var(--muted);
}
.fields b {
  color: var(--theme, var(--primary));
}

.schedule {
  display: grid;
  gap: 16px;
  margin: 0;
}
.schedule__row {
  background: #fff;
  border: 1px solid var(--border);
  /* border-radius: var(--radius); */
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: grid;
  gap: 8px 24px;
  grid-template-columns: 1fr;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.schedule__row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.panel .schedule__row {
  border-left: 8px solid var(--theme, var(--primary));
}

/* 受付終了（過去号）：テーマ変数をグレーに差し替えるだけで全体が退く */
.schedule__row--past {
  --theme: #9aa5b4;
  --theme-light: #f2f4f7;
  background: #fbfcfd;
  box-shadow: none;
}
.schedule__row--past:hover {
  transform: none;
  box-shadow: none;
}
.schedule__row--past .schedule__topic,
.schedule__row--past .schedule__date b {
  color: #8a94a3;
}
.schedule__row--past .schedule__date--deadline b {
  color: #8a94a3;
}
.schedule__row--past .schedule__point,
.schedule__row--past .schedule__bonus {
  color: #98a2b1;
}
.schedule__status {
  display: inline-block;
  margin-left: 10px;
  border-radius: 999px;
  background: #e4e8ee;
  color: #6b7a90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  vertical-align: 2px;
}
@media (min-width: 900px) {
  .schedule__status {
    display: block;
    margin: 6px 0 0;
  }
}
@media (min-width: 900px) {
  .schedule__row {
    grid-template-columns: 96px 1fr 160px 160px;
    align-items: center;
  }
}
.schedule__vol {
  font-size: 20px;
  font-weight: 800;
  color: var(--theme, var(--primary));
  margin: 0;
}
.schedule__topic {
  margin: 0;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.6;
}
.schedule__point {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.schedule__date {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.schedule__date span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 800;
}
.schedule__date b {
  font-size: 17px;
  font-weight: 800;
}
.schedule__date--deadline b {
  color: var(--accent);
}
.schedule__bonus {
  grid-column: 1/-1;
  margin: 4px 0 0;
  padding: 12px 16px;
  background: var(--theme-light, var(--light));
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
}
.schedule__bonus b {
  color: var(--theme, var(--primary));
}
.schedule__note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* ============ 料金 ============ */
#price .section-head {
  text-align: center;
}
.price__table {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
}
.price__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(17px, 2vw, 28px);
  line-height: 1.7;
}
.price__row:first-child {
  border-top: 1px solid var(--border);
}
.price__row b {
  font-weight: 700;
}
.price__row span {
  font-weight: 800;
  white-space: nowrap;
}
.price__row--sum b {
  font-weight: 800;
}
.price__row--sum span {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 700;
}
.price__box {
  margin: 32px auto 0;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 32px;
  text-align: center;
  max-width: 800px;
}
.price__value {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0 0;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.price__value small {
  font-size: 18px;
  color: var(--text);
}
.price__sub {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 800;
}
.price__note {
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 850px;
}
.price__note p {
  margin: 0 0 6px;
}
.price__note p:last-child {
  margin: 0;
}

/* ============ フォーム ============ */
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
}
@media (max-width: 767px) {
  .form {
    padding: 28px 20px;
  }
}
.form__field {
  margin: 0 0 24px;
}
.form__label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px;
}
.form__req {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  vertical-align: 2px;
  font-weight: 800;
}
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field select,
.form__field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 48px;
}
.form__field textarea {
  min-height: 140px;
  resize: vertical;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 110, 248, 0.16);
}
.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.8;
}
.form__consent input {
  margin-top: 6px;
  width: 20px;
  height: 20px;
  flex: none;
}
.form__submit {
  margin: 32px 0 0;
}
.form__submit .button {
  width: 100%;
}
@media (min-width: 600px) {
  .form__submit .button {
    width: auto;
    min-width: 340px;
  }
}
.form__note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ============ フッター ============ */
.footer {
  background: var(--text);
  color: #fff;
  padding: 56px 0 104px;
}
.footer__in {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .footer__in {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.footer__name {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}
.footer__desc {
  font-size: 14px;
  color: #b8c2d0;
  margin: 0;
  line-height: 1.9;
}
.footer__tel {
  font-size: 13px;
  color: #b8c2d0;
  line-height: 1.5;
}
.footer__tel b {
  display: block;
  font-size: 24px;
  color: #fff;
}

/* ============ 追従CTA ============ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  transform: translateY(120%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta__text {
  font-size: 14px;
  font-weight: 800;
  display: none;
}
@media (min-width: 768px) {
  .sticky-cta__text {
    display: block;
  }
}
.sticky-cta .button {
  min-height: 52px;
  font-size: 16px;
}
@media (max-width: 767px) {
  .sticky-cta .button {
    width: 100%;
  }
}

/* ============ 図版（共通） ============ */
.figure {
  /* background:#fff; */
  /* border:1px solid var(--border); */
  /* border-radius:var(--radius); */
  /* box-shadow:var(--shadow); */
  /* aspect-ratio:3/4; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 0;
  line-height: 1.9;
}
.figure img,
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.figure__placeholder {
  display: block;
}
.figure__caption {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.report {
  padding: 16px;
}
.report__inner {
  aspect-ratio: 16/9;
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  padding: 20px;
}
.report__inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* ============ ユーティリティ ============ */
.u-mt-16 {
  margin-top: 16px;
}
.u-mt-24 {
  margin-top: 24px;
}
.u-mt-32 {
  margin-top: 32px;
}
.u-mt-48 {
  margin-top: 48px;
}
.u-mt-0 {
  margin: 0;
}
.u-center {
  justify-content: center;
}
.section-lead--body {
  color: var(--text);
}

/* ============ Contact Form 7 ============ */
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.9;
  background: var(--light);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: var(--accent);
  color: var(--accent);
  background: #fdf1ed;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--primary);
  color: var(--primary);
}
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}
.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-spinner {
  margin: 0 0 0 14px;
}
.wpcf7 .wpcf7-submit {
  width: 100%;
}
@media (min-width: 600px) {
  .wpcf7 .wpcf7-submit {
    width: auto;
    min-width: 340px;
  }
}
.grecaptcha-badge {
  z-index: 50;
}

/* ============ アニメーション ============ */
.fadeup {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fadeup.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fadeup {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sticky-cta {
    transition: none;
  }
}
@media print {
  .sticky-cta,
  .anchor-nav,
  .header__cta {
    display: none;
  }
}


#contact .section-head {
  text-align: center;
}

/* =========================================================
   IRMAIL × e-Survey お問い合わせフォーム（Contact Form 7）
   固定ページ側（.page-id-137）に対する個別指定
========================================================= */

.page-id-137 .wpcf7 {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  color: #26354a;
  font-size: 16px;
  line-height: 1.8;
}

.page-id-137 .wpcf7 form {
  margin: 0;
}

/* 各行 */
.page-id-137 .form-row {
  padding: 28px 0;
  border-bottom: 1px solid #e3eaf4;
}

.page-id-137 .form-row:first-child {
  border-top: 1px solid #e3eaf4;
}

/* ラベル */
.page-id-137 .form-row > label {
  display: block;
  margin: 0 0 12px;
  color: #1e3048;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

/* 必須バッジ */
.page-id-137 .required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 4px;
  background: #e94d5d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  vertical-align: 2px;
}

/* 入力欄 */
.page-id-137 .wpcf7-text,
.page-id-137 .wpcf7-email,
.page-id-137 .wpcf7-tel,
.page-id-137 .wpcf7-number,
.page-id-137 .wpcf7-select,
.page-id-137 .wpcf7-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #ccd8e8;
  border-radius: 8px;
  background: #fff;
  color: #26354a;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.page-id-137 .wpcf7-text::placeholder,
.page-id-137 .wpcf7-email::placeholder,
.page-id-137 .wpcf7-tel::placeholder,
.page-id-137 .wpcf7-textarea::placeholder {
  color: #9aa7b8;
}

/* ????? */
.page-id-137 .wpcf7-text:focus,
.page-id-137 .wpcf7-email:focus,
.page-id-137 .wpcf7-tel:focus,
.page-id-137 .wpcf7-number:focus,
.page-id-137 .wpcf7-select:focus,
.page-id-137 .wpcf7-textarea:focus {
  border-color: #3478f6;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 120, 246, 0.12);
}

/* ??????? */
.page-id-137 .wpcf7-textarea {
  min-height: 180px;
  resize: vertical;
}

/* =========================================================
   ???????????????
========================================================= */

.page-id-137 .wpcf7-radio,
.page-id-137 .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-id-137 .wpcf7-list-item {
  margin: 0;
}

.page-id-137 .wpcf7-list-item label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #d3deec;
  border-radius: 8px;
  background: #fff;
  color: #26354a;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.page-id-137 .wpcf7-list-item label:hover {
  border-color: #3478f6;
  background: #f5f8ff;
  transform: translateY(-1px);
}

/* ??????????????? */
.page-id-137 .wpcf7-list-item input[type="radio"],
.page-id-137 .wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

/* ??????? */
.page-id-137 .wpcf7-list-item-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 30px;
}

.page-id-137 .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 19px;
  height: 19px;
  border: 2px solid #aebbc9;
  background: #fff;
  box-sizing: border-box;
  transform: translateY(-50%);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

/* ????? */
.page-id-137
  input[type="radio"]
  + .wpcf7-list-item-label::before {
  border-radius: 50%;
}

/* ????????? */
.page-id-137
  input[type="checkbox"]
  + .wpcf7-list-item-label::before {
  border-radius: 4px;
}

/* ?????? */
.page-id-137
  input[type="radio"]:checked
  + .wpcf7-list-item-label::before {
  border: 6px solid #3478f6;
}

/* ??????? */
.page-id-137
  input[type="checkbox"]:checked
  + .wpcf7-list-item-label::before {
  border-color: #3478f6;
  background: #3478f6;
}

/* ??????? */
.page-id-137
  input[type="checkbox"]:checked
  + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-60%) rotate(45deg);
}

/* ????????? */
.page-id-137
  .wpcf7-list-item
  label:has(input:checked) {
  border-color: #3478f6;
  background: #f1f6ff;
  box-shadow: 0 0 0 3px rgba(52, 120, 246, 0.08);
}

/* =========================================================
   ?????
========================================================= */

.page-id-137 .form-submit {
  position: relative;
  margin-top: 44px;
  text-align: center;
}

.page-id-137 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 60px;
  margin: 0;
  padding: 15px 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e6ff2 0%, #4c8cff 100%);
  box-shadow: 0 12px 28px rgba(46, 111, 242, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.page-id-137 .wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(46, 111, 242, 0.32);
}

.page-id-137 .wpcf7-submit:active {
  transform: translateY(0);
}

.page-id-137 .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* ??????? */
.page-id-137 .wpcf7-spinner {
  display: block;
  margin: 16px auto 0;
}

/* =========================================================
   ?????
========================================================= */

.page-id-137 .wpcf7-not-valid {
  border-color: #e94d5d;
  background: #fff8f8;
}

.page-id-137 .wpcf7-not-valid:focus {
  border-color: #e94d5d;
  box-shadow: 0 0 0 4px rgba(233, 77, 93, 0.1);
}

.page-id-137 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: #d9364b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

/* ??????????? */
.page-id-137 .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 16px 20px;
  border: 1px solid #3478f6;
  border-radius: 8px;
  background: #f3f7ff;
  color: #26354a;
  font-size: 14px;
  line-height: 1.8;
}

.page-id-137
  form.invalid
  .wpcf7-response-output,
.page-id-137
  form.unaccepted
  .wpcf7-response-output,
.page-id-137
  form.payment-required
  .wpcf7-response-output {
  border-color: #e94d5d;
  background: #fff5f6;
}

.page-id-137
  form.sent
  .wpcf7-response-output {
  border-color: #2da26f;
  background: #f2fbf7;
}

/* CF7?????????????????? */
.page-id-137 .wpcf7 p {
  margin: 0;
}

.page-id-137 .wpcf7-form label {
    display: block;
    margin: 0 0 10px 0;
}

/* =========================================================
   ?????
========================================================= */

@media screen and (max-width: 1024px) {
  .page-id-137 .wpcf7 {
    max-width: 100%;
  }

  .page-id-137 .form-row {
    padding: 24px 0;
  }
}

/* =========================================================
   ???????
========================================================= */

@media screen and (max-width: 767px) {
  .page-id-137 .wpcf7 {
    font-size: 15px;
  }

  .page-id-137 .form-row {
    padding: 22px 0;
  }

  .page-id-137 .form-row > label {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .page-id-137 .required {
    margin-left: 5px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .page-id-137 .wpcf7-text,
  .page-id-137 .wpcf7-email,
  .page-id-137 .wpcf7-tel,
  .page-id-137 .wpcf7-number,
  .page-id-137 .wpcf7-select,
  .page-id-137 .wpcf7-textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .page-id-137 .wpcf7-radio,
  .page-id-137 .wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .page-id-137 .wpcf7-list-item,
  .page-id-137 .wpcf7-list-item label {
    width: 100%;
  }

  .page-id-137 .wpcf7-list-item label {
    min-height: 50px;
    padding: 11px 14px;
  }

  .page-id-137 .form-submit {
    margin-top: 34px;
  }

  .page-id-137 .wpcf7-submit {
    width: 100%;
    min-height: 56px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .page-id-137 .wpcf7-response-output {
    padding: 14px 16px;
  }
}

/* =========================================================
   追加分（サービスのタブ切り替え／スケジュールタブの操作性）
   ---------------------------------------------------------
   ・.service-tab  … 青いセクションの2枚のカード。これがタブ本体
   ・.tabs__btn    … 発行スケジュールのバイオ／メカトロ切り替え
   ========================================================= */

/* ---- サービスのタブ（IRMAIL / e-Survey は並列の関係） ---- */
.service-tabs__guide {
  margin: 0 0 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0.92;
}
#services {
  padding-bottom: 56px;
}
.service-panels .panel {
  padding-top: 72px;
}
.service-panels .panel:not([hidden]) > .container {
  padding: 48px;
  border: 1px solid var(--border);
  background: #fff;
}
@media (max-width: 767px) {
  .service-panels .panel:not([hidden]) > .container {
    padding: 24px;
  }
}
.service-tabs {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .service-tabs {
    grid-template-columns: 1fr 1fr;
  }
}
.service-tab {
  display: block;
  width: 100%;
  font: inherit;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}
.service-tab .role__icon {
  display: flex;
}
.service-tab .role__service,
.service-tab .role__name,
.service-tab .role__desc {
  display: block;
}
.service-tab .role__heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  white-space: nowrap;
}
.service-tab .role__heading .role__service {
  margin: 0;
}
.service-tab[aria-selected="false"] {
  /* opacity: 0.82; */
}
.service-tab[aria-selected="false"]:hover,
.service-tab[aria-selected="false"]:focus-visible {
  opacity: 1;
}
.service-tab[aria-selected="true"] {
  border-color: #fff;
  box-shadow: 0 18px 36px rgba(11, 40, 90, 0.28);
  border: 7px solid var(--primary);
}
/* 選択中のカードから下のパネルへ向かう三角 */
.service-tab[aria-selected="true"]::after {
  content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 40px solid var(--primary);
}
@media (max-width: 767px) {
  .service-tab[aria-selected="true"]::after {
    display: none;
  }
}

/* 押せることを示すラベル */
.service-tab__cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 11px 22px;
  border: 2px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-tab__cue svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.service-tab:hover .service-tab__cue {
  background: var(--light);
}
.service-tab[aria-selected="true"] .service-tab__cue {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.service-tab[aria-selected="true"] .service-tab__cue:hover {
  background: var(--primary);
}
.service-tab[aria-selected="true"] .service-tab__cue svg {
  transform: rotate(180deg);
}
.service-tab__cue-on {
  display: none;
}
.service-tab[aria-selected="true"] .service-tab__cue-on {
  display: inline;
}
.service-tab[aria-selected="true"] .service-tab__cue-off {
  display: none;
}

/* ---- 発行スケジュールのタブ（押せるボタンだと分かる形に） ---- */
.tabs {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 767px) {
  .tabs {
    grid-template-columns: 1fr;
  }
}
.tabs__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: none;
  padding: 18px 22px;
  border-width: 2px;
  border-color: var(--theme, var(--primary));
  border-radius: 14px;
  color: var(--theme, var(--primary));
  font-size: 18px;
  text-align: left;
}
.tabs__btn-icon {
  width: 26px;
  height: 26px;
  flex: none;
}
.tabs__btn-label {
  flex: 1 1 auto;
  line-height: 1.45;
}
.tabs__btn-label small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.75;
}
.tabs__btn-chevron {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.3s ease;
}
.tabs__btn:hover .tabs__btn-label {
  text-decoration: underline;
}
.tabs__btn[aria-selected="true"] {
  color: #fff;
}
.tabs__btn[aria-selected="true"] .tabs__btn-chevron {
  transform: rotate(180deg);
}

/* ---- タブのフォーカス表示（キーボード操作） ---- */
.service-tab:focus-visible,
.tabs__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.tabs__btn:focus-visible {
  outline-color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .service-tab__cue svg,
  .tabs__btn-chevron {
    transition: none;
  }
}
