@charset "UTF-8";
:root {
  --c-white: #fff;
  --c-black: #000;
  --c-green: #64b660;
  --c-red: #c00;
  --c-text:#333;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 1.5em;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

/* =========================
  c-table／c-kv（共通）
========================= */
:root {
  --color-brand-eiyoplus: #07a33e;
  --color-brand-ffqnext: #173d89;
  --color-attention: #fb5326;
  --color-text: #1a1d21;
  --color-muted: #5b6672;
  --color-border: #caced4;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f7f9;
  --layout-max: 1040px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --color-accent: var(--color-brand-ffqnext);
  --color-focus: rgba(7, 163, 62, 0.35);
}

.col-eiyoplus {
  color: var(--color-brand-eiyoplus);
}

.col-ffqnext {
  color: var(--color-brand-ffqnext);
}

/* =========================
  SP/PC 切替（統一）
========================= */
.forSP {
  display: none;
}

.forPC {
  display: block;
}

@media (max-width: 768px) {
  .forSP {
    display: block;
  }
  .forPC {
    display: none;
  }
}
/* =========================
  その他
========================= */
.is-center {
  text-align: center;
}

.is-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.c-table__note, .c-kv__note {
  display: block;
  font-size: 0.85em;
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.3;
}

/* =========================
  c-table
========================= */
.c-tableWrap {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
  -webkit-overflow-scrolling: touch;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: clamp(0.875rem, 0.847rem + 0.12vw, 0.938rem);
  line-height: 1.4;
}
.c-table th,
.c-table td {
  padding: 12px;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
}
.c-table thead th {
  border-top: none;
  background: var(--color-bg-soft);
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}
.c-table thead th.brand {
  font-weight: 600;
  color: #fff;
}
.c-table thead th.brand--eiyoplus {
  background-color: var(--color-brand-eiyoplus);
}
.c-table thead th.brand--ffqnext {
  background-color: var(--color-brand-ffqnext);
}
.c-table tbody th {
  width: 22%;
  background: #fcfcfd;
  font-weight: 700;
  text-align: left;
}

.c-table--compare thead th:nth-child(2),
.c-table--compare thead th:nth-child(3),
.c-table--compare td {
  border-left: 1px solid var(--color-border);
}
.c-table--compare thead th:nth-child(2) {
  vertical-align: top;
}

.c-table--compact {
  min-width: 520px;
}
.c-table--compact th {
  text-align: left;
}
.c-table--compact td:first-child,
.c-table--compact th:first-child {
  width: 55%;
  text-align: left;
}
.c-table--compact td:last-child,
.c-table--compact th:last-child {
  width: 45%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-right: clamp(0.938rem, 0.795rem + 0.61vw, 1.25rem);
}

@media (max-width: 768px) {
  .c-table--compact {
    min-width: 0;
  }
}
.is-eiyoplus .c-table {
  font-size: clamp(0.938rem, 0.909rem + 0.12vw, 1rem);
}
.is-eiyoplus .c-table td {
  vertical-align: middle;
}
.is-eiyoplus .c-table thead th:first-child {
  font-weight: 700;
}
.is-eiyoplus .c-table tbody th {
  vertical-align: middle;
}
.is-eiyoplus .c-table tbody td strong {
  font-size: 1.15em;
}
.is-eiyoplus .c-kv__key {
  line-height: 1.1;
}
.is-eiyoplus .c-kv__val strong {
  font-size: 1.15em;
}

/* =========================
  c-card
========================= */
.c-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
  overflow: hidden;
}
@media (max-width: 768px) {
  .c-card {
    padding: 0;
  }
}

.c-compareCard {
  margin-top: 16px;
}
.c-compareCard__title {
  margin: 0;
  padding: 7px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

/* =========================
  .c-kv（SPカード型）
========================= */
.c-kv {
  margin: 0;
}

.c-kv__row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 5px;
  border-top: 1px solid var(--color-border);
}

.c-kv__key {
  margin: 0;
  padding: 10px;
  font-weight: 700;
  background: var(--color-bg-soft);
  font-size: 14px;
}

.c-kv__val {
  margin: 0;
  padding: 7px 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.c-kv__row:first-child {
  border-top: none;
}

.c-kv__row:last-child .c-kv__key {
  border-bottom-left-radius: var(--radius-card);
}

.c-kv__row:last-child .c-kv__val {
  border-bottom-right-radius: var(--radius-card);
}

/* ----------------------------------
 サブスクリプション版　software.html
---------------------------------- */
.app_wrapper {
  margin-top: 30px;
}

.app-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.app-varsionUp {
  text-align: right;
}

.app__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-left: 0;
  background: #fff;
  min-height: 48px;
}

.app .pareaWrapper {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-left: 0;
  min-height: 48px;
}

.app .parea span {
  display: flex;
  align-items: center;
}

.app .parea span i {
  margin-left: auto;
}

/* アイコンは右端に固定 */
.app .parea i {
  margin-left: auto;
  display: inline-block;
}

/* パスワード欄の vp / hp 内のテキストに余白 */
.app span {
  display: inline-block;
}

.formStyle button.app-cancel {
  /* border: 2px solid #29af4b; */
  border: 1px solid gray;
  background-color: #fff;
  color: #777;
  font-weight: 400;
  font-size: 15px;
  padding: 1px 5px;
  margin-bottom: 20px;
  transition: 0.3s;
  width: 130px;
  border-radius: 0;
}

.formStyle button.app-cancel:hover {
  border: 1px solid #e15b3b;
  color: #e15b3b;
  opacity: 1;
}

.app-validUntil {
  color: #f15938;
  font-weight: 400;
  font-size: 15px;
  margin-block: 5px;
}

.app__update {
  text-align: right;
  margin-top: 10px;
}

.formStyle .app select, .formStyle .app input[type=text] {
  border: 1px solid #ddd;
  border-left: 0;
  border-radius: 0;
  padding: 9px 10px;
}

/* ----------------------------------
 サブスクリプション版　解約用モーダル
---------------------------------- */
.c-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.c-modal.is-open-cancel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.c-modal__panel {
  position: relative;
  min-inline-size: clamp(320px, 80vw, 520px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

#cancelModal .c-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f7f7f7;
}

#cancelModal .c-modal__title {
  font-size: 1.125rem;
  margin: 0;
}

/* × ボタン */
#cancelModal .c-modal__close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 3px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

#cancelModal .c-modal__close:hover {
  background: #f2f2f2;
}

/* 本文 */
#cancelModal .c-modal__body {
  padding: 20px 24px;
  display: grid;
  gap: 10px;
}

#cancelModal .c-modal__message {
  margin: 0;
  line-height: 1.6;
}

#cancelModal .c-modal__appName {
  font-weight: 700;
}

#cancelModal .c-modal__note {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

/* フッター：ボタン */
#cancelModal .c-modal__foot {
  display: flex;
  /* justify-content: center; */
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px;
  background: #f7f7f7;
}

/* ---------- ボタン（閉じる／解約する） ---------- */
#cancelModal .c-btn-close,
#cancelModal .c-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  max-width: 190px;
  width: auto;
  padding: 6px 24px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

/* 「閉じる」：グレー */
#cancelModal .c-btn-close {
  background-color: #f7f7f7;
  color: #333;
  border-color: #cccccc;
}

#cancelModal .c-btn-close:hover {
  background-color: #f5f5f5;
}

/* 「解約する」：オレンジ#f15938 赤よりオレンジ#e15b3b　みどり#29af4b*/
#cancelModal .c-btn-submit {
  background-color: #e15b3b;
  color: #ffffff;
  border-color: #e15b3b;
}

#cancelModal .c-btn-submit:hover {
  opacity: 0.9;
}

@media (max-width: 480px) {
  #cancelModal .c-modal__panel {
    margin-inline: 16px; /* 左右16pxの余白 */
    width: calc(100% - 32px); /* 画面いっぱいに広がりすぎないよう調整 */
  }
}
/* ----------------------------------
 アカデミック版　学生証アップロード
---------------------------------- */
#proofUploadPage.proofUpload {
  margin-top: 24px;
  padding-bottom: 24px;
}

#proofUploadPage .proofUpload__form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

#proofUploadPage .proofUpload__row {
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 14px;
}

#proofUploadPage .proofUpload__rowHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--c-text);
}

#proofUploadPage .proofUpload__rowHead.back {
  color: #777;
}

#proofUploadPage .proofUpload__rowHead.back .proofUpload__opt {
  font-size: 0.9em;
}

#proofUploadPage .proofUpload__req {
  color: var(--c-red);
}

#proofUploadPage .proofUpload__status {
  display: inline-flex;
  align-items: center; /* ← 縦中央揃え */
  gap: 6px;
  font-size: 14px;
  color: var(--c-red);
  font-weight: 400;
}

#proofUploadPage .proofUpload__status::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../img/icon-checkmark.png") no-repeat center/contain;
}

#proofUploadPage .proofUpload__status:empty::before {
  display: none;
}

#proofUploadPage .proofUpload__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

#proofUploadPage .proofUpload__input {
  display: none;
}

#proofUploadPage .proofUpload__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 4px;
  border: 2px solid var(--c-green);
  background: var(--c-green);
  color: var(--c-white);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.3s;
}

#proofUploadPage .proofUpload__btn:hover,
#proofUploadPage .proofUpload__submit:hover {
  opacity: 0.9;
}

#proofUploadPage .proofUpload__btn--ghost {
  /* background: var(--c-white);
  color: var(--c-green); */
}

#proofUploadPage .proofUpload__filename {
  font-size: 14px;
  color: #555;
}

.proofUpload__hint {
  line-height: 1.4;
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}

/* 注記（変更する場合は再選択してください） */
/* 基本非表示 */
.js-proof-filenameWrap-front .proofUpload__hint,
.js-proof-filenameWrap-back .proofUpload__hint {
  display: none;
}

/* 選択時表示 （= is-empty でない時は表示）*/
.js-proof-filenameWrap-front:not(.is-empty) .proofUpload__hint,
.js-proof-filenameWrap-back:not(.is-empty) .proofUpload__hint {
  display: inline;
}

/* ファイル名背景 選択時だけ */
.js-proof-filenameWrap-front:not(.is-empty) .select-file,
.js-proof-filenameWrap-back:not(.is-empty) .select-file {
  background: #eee;
  padding: 5px 10px;
  color: var(--c-black);
}

.js-proof-filenameWrap-front.is-empty .select-file,
.js-proof-filenameWrap-back.is-empty .select-file {
  background: transparent;
  padding: 0;
}

#proofUploadPage .proofUpload__error {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--c-red);
  font-weight: 700;
}

#proofUploadPage .proofUpload__warn {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #f3c1c1;
  background: #fff3f3;
  color: var(--c-red);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

#proofUploadPage .proofUpload__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

#proofUploadPage .proofUpload__submit {
  width: min(100%, 380px);
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 4px;
  border: 2px solid var(--c-green);
  background: var(--c-green);
  color: var(--c-white);
  cursor: pointer;
  transition: 0.3s;
}

#proofUploadPage .proofUpload__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#proofUploadPage .proofUpload__notes {
  margin: 15px 0 0 0;
  font-size: 15px;
  line-height: 1.7;
}

#proofUploadPage .proofUpload__notes li + li {
  margin-top: 5px;
}

@media (max-width: 480px) {
  #proofUploadPage .proofUpload__rowHead {
    margin-bottom: 0;
  }
  .js-proof-filenameWrap-front:not(.is-empty) .proofUpload__hint,
  .js-proof-filenameWrap-back:not(.is-empty) .proofUpload__hint {
    display: block;
    margin-top: 5px;
  }
  #proofUploadPage .proofUpload__rowHead,
  #proofUploadPage .proofUpload__controls {
    flex-direction: column;
    align-items: flex-start;
  }
  #proofUploadPage .proofUpload__btn,
  #proofUploadPage .proofUpload__submit {
    width: 100%;
  }
}
/* サブスクプション最終確認用  cart_confirm.html*/
.subscriptionApproval, .subscriptionNotice {
  margin-top: 20px;
}
.subscriptionApproval a, .subscriptionNotice a {
  color: #3eb055;
  text-decoration: underline;
}

.subscriptionNotice > li {
  position: relative;
  padding-left: 1.6em; /* 「※」ぶんのインデント */
  line-height: 1.7;
}

.subscriptionNotice > li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

.subscriptionNotice > li + li {
  margin-top: 0.5em;
}

.formStyle button.btn_base--2line {
  line-height: 1.3;
}

.formStyle button.btn_base--2line span {
  display: block;
}

@media (min-width: 768px) {
  .cart_flow.cartFlowSubscription button {
    min-height: 70px;
  }
}

/* ----------------------------------
 mypages　subscription.html
---------------------------------- */
.subsc-block {
  margin-block: 2rem 2.5rem;
}

.subsc-block h3 {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 0.8rem;
}

.subsc-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1.1em;
  background: #64b660;
}

.subsc-block .btnDL,
.subsc-oldDl {
  width: 300px;
  font-size: 15px;
}

.subsc-block .btnDL {
  margin-top: 10px;
  background: #42b64e;
  transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .subsc-block .btnDL:hover {
    background: #31b54e;
  }
}

.subsc-oldDl {
  margin-top: 1.2rem;
  box-sizing: border-box;
}

.subsc-oldDl__summary {
  list-style: none;
  cursor: pointer;
  background: #eee;
  padding: 12px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.subsc-oldDl__summary::before, .subsc-oldDl__summary::after {
  content: "";
  position: absolute;
  background: #333;
}
.subsc-oldDl__summary::before {
  right: 18px;
  width: 14px;
  height: 2px;
}
.subsc-oldDl__summary::after {
  right: 24px;
  width: 2px;
  height: 14px;
}

.subsc-oldDl__summary::-webkit-details-marker {
  display: none;
}

.subsc-oldDl__summary::after {
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.subsc-oldDl[open] .subsc-oldDl__summary::after {
  transform: scaleY(0);
  opacity: 0;
}

.subsc-oldDl__body {
  padding: 12px 0 0;
}

.subsc-oldDl__item + .subsc-oldDl__item {
  margin-top: 8px;
}

.subsc-oldDl__item form {
  display: block;
  width: 100%;
}

.subsc-oldDl__btn {
  width: 100%;
  padding: 12px 14px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .subsc-oldDl__btn:hover {
    background: #f0f0f0;
  }
}
.subsc-oldDl__btn {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.btnDL .subsc-ver {
  font-weight: 400;
}
.btnDL .subsc-ver::before {
  content: "（";
  padding-right: 3px;
}
.btnDL .subsc-ver::after {
  content: "）";
  padding-left: 3px;
}

.subsc-ver {
  font-weight: 600;
  opacity: 0.95;
}

.subsc-date {
  font-size: 0.95em;
  line-height: 1;
  margin-left: auto;
}

@media (max-width: 767px) {
  .subsc-block .btnDL,
  .subsc-oldDl {
    width: 100%;
  }
  .subsc-oldDl {
    width: 100%;
  }
}
.subsc-credit a {
  color: #2ea44f;
  text-decoration: underline;
}

.app-status {
  color: #e15b3b;
}

/* ----------------------------------
 subscription_download.html 約款
---------------------------------- */
.yakkan.yakkan-subsc {
  color: #222;
  line-height: 1.9;
  word-break: break-word;
  margin-top: 30px;
  padding: clamp(0.938rem, 0.795rem + 0.61vw, 1.25rem);
}
.yakkan.yakkan-subsc h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 1.023rem + 0.97vw, 1.75rem);
  line-height: 1.5;
  font-weight: 700;
}
.yakkan.yakkan-subsc h2 {
  margin: 2.5rem 0 0.8rem;
  font-size: clamp(1.125rem, 0.955rem + 0.73vw, 1.5rem);
  line-height: 1.5;
  font-weight: 700;
}
.yakkan.yakkan-subsc p {
  margin: 0 0 1rem;
}
.yakkan.yakkan-subsc ol,
.yakkan.yakkan-subsc ul {
  margin: 0 0 1rem;
  padding: 0;
}
.yakkan.yakkan-subsc ol li,
.yakkan.yakkan-subsc ul li {
  position: relative;
  list-style: none;
  margin: 0 0 0.45rem;
  padding-left: 2.8rem;
}
.yakkan.yakkan-subsc ol li > span,
.yakkan.yakkan-subsc ul li > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  text-align: right;
  font-weight: 700;
}
.yakkan.yakkan-subsc ol ol,
.yakkan.yakkan-subsc ol ul,
.yakkan.yakkan-subsc ul ol,
.yakkan.yakkan-subsc ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.yakkan.yakkan-subsc ol ol li,
.yakkan.yakkan-subsc ol ul li,
.yakkan.yakkan-subsc ul ol li,
.yakkan.yakkan-subsc ul ul li {
  margin-bottom: 0.35rem;
}
.yakkan.yakkan-subsc .license-table {
  width: 100%;
  margin: 0.8rem 0 1rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
  line-height: 1.7;
}
.yakkan.yakkan-subsc .license-table th,
.yakkan.yakkan-subsc .license-table td {
  border: 1px solid #000;
  padding: 0.6rem 0.7rem;
  vertical-align: top;
}
.yakkan.yakkan-subsc .license-table th {
  background: #f5f5f5;
  text-align: center;
  font-weight: 700;
}
.yakkan.yakkan-subsc .license-table td {
  word-break: break-word;
}
.yakkan.yakkan-subsc p[style*="text-align:right"] {
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .yakkan.yakkan-subsc h2 {
    margin-top: 2rem;
  }
  .yakkan.yakkan-subsc ol li,
  .yakkan.yakkan-subsc ul li {
    padding-left: 2.4rem;
  }
  .yakkan.yakkan-subsc ol li > span,
  .yakkan.yakkan-subsc ul li > span {
    width: 1.9rem;
  }
  .yakkan.yakkan-subsc .license-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .yakkan.yakkan-subsc .license-table th,
  .yakkan.yakkan-subsc .license-table td {
    white-space: normal;
    min-width: 160px;
  }
}/*# sourceMappingURL=app.css.map */