@charset "UTF-8";
@counter-style katakana-paren {
  system: cyclic;
  symbols: "ア" "イ" "ウ" "エ" "オ" "カ" "キ" "ク" "ケ" "コ" "サ" "シ" "ス" "セ" "ソ" "タ" "チ" "ツ" "テ" "ト" "ナ" "ニ" "ヌ" "ネ" "ノ" "ハ" "ヒ" "フ" "ヘ" "ホ" "マ" "ミ" "ム" "メ" "モ" "ヤ" "ユ" "ヨ" "ラ" "リ" "ル" "レ" "ロ" "ワ" "ヲ" "ン";
  suffix: "";
}
/* 非表示制御: aria-hidden="true" のときは丸ごと隠す */
.eula-modal[aria-hidden=true] {
  display: none;
}
.eula-modal[aria-hidden=false] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eula-modal {
  /* 背景オーバーレイ */
}
.eula-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.eula-modal {
  /* ダイアログ本体 */
}
.eula-modal__dialog {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 640px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.eula-modal {
  /* 閉じるボタン（右上×） */
}
.eula-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}
.eula-modal {
  /* 戻るボタン */
}
.eula-modal__back {
  background: none;
  border: none;
  font-size: 14px;
  color: #06c;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  display: block;
}
.eula-modal {
  /* 地域・言語の選択肢リスト */
}
.eula-modal__group-list, .eula-modal__label-list {
  margin-top: 16px;
  list-style: none;
}
.eula-modal__group-list li, .eula-modal__label-list li {
  margin-bottom: 8px;
}
.eula-modal__group-list button, .eula-modal__label-list button {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.3s;
}
.eula-modal__group-list button::after, .eula-modal__label-list button::after {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 0.37em;
  height: 0.8em;
  top: 0;
  bottom: 0;
  right: 2em;
  margin: auto;
  mask-image: url(/wp-content/themes/pro-bravia/assets/img/common/arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: #0017EC;
  transition: transform 0.3s;
}
.eula-modal__group-list button:hover, .eula-modal__label-list button:hover {
  background: #ebebeb;
}
.eula-modal {
  /* 契約文本文 */
}
.eula-modal__body {
  font-size: 0.875rem;
  line-height: 1.7;
  border: 1px solid #ddd;
  margin-top: 16px;
  padding: 16px;
  max-height: 30vh;
  overflow-y: auto;
  margin-bottom: 16px;
}
.eula-modal__body h2:not(:first-child), .eula-modal__body h3:not(:first-child), .eula-modal__body h4:not(:first-child), .eula-modal__body p:not(:first-child), .eula-modal__body ul:not(:first-child), .eula-modal__body ol:not(:first-child) {
  margin-top: 1.5em;
}
.eula-modal__body b, .eula-modal__body strong {
  font-weight: 700;
}
.eula-modal__body h2,
.eula-modal__body h3,
.eula-modal__body h4 {
  font-weight: 700;
}
.eula-modal__body hr {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 1.5em 0;
}
.eula-modal__body ul.wp-block-list {
  list-style: disc;
}
.eula-modal__body ul.wp-block-list > li {
  margin-left: 1.5em;
}
.eula-modal__body ol.wp-block-list {
  list-style: decimal;
}
.eula-modal__body ol.wp-block-list > li {
  margin-left: 1.5em;
}
.eula-modal__body ul.c-list--none,
.eula-modal__body ol.c-list--none {
  list-style: none;
  padding-left: 0;
}
.eula-modal__body ul.c-list--none > li,
.eula-modal__body ol.c-list--none > li {
  margin-left: 0;
}
.eula-modal__body ul.c-list--roman-paren,
.eula-modal__body ol.c-list--roman-paren {
  list-style: none;
  counter-reset: roman-paren;
  padding-left: 0;
}
.eula-modal__body ul.c-list--roman-paren > li,
.eula-modal__body ol.c-list--roman-paren > li {
  counter-increment: roman-paren;
  position: relative;
  margin-left: 0;
  padding-left: 2.5em;
}
.eula-modal__body ul.c-list--roman-paren > li::before,
.eula-modal__body ol.c-list--roman-paren > li::before {
  content: "(" counter(roman-paren, lower-roman) ")";
  position: absolute;
  left: 0;
}
.eula-modal__body ul.c-list--alpha-paren,
.eula-modal__body ol.c-list--alpha-paren {
  list-style: none;
  counter-reset: alpha-paren;
  padding-left: 0;
}
.eula-modal__body ul.c-list--alpha-paren > li,
.eula-modal__body ol.c-list--alpha-paren > li {
  counter-increment: alpha-paren;
  position: relative;
  margin-left: 0;
  padding-left: 2em;
}
.eula-modal__body ul.c-list--alpha-paren > li::before,
.eula-modal__body ol.c-list--alpha-paren > li::before {
  content: "(" counter(alpha-paren, lower-alpha) ")";
  position: absolute;
  left: 0;
}
.eula-modal__body ul.c-list--katakana-paren,
.eula-modal__body ol.c-list--katakana-paren {
  list-style: none;
  counter-reset: katakana-paren;
  padding-left: 0;
}
.eula-modal__body ul.c-list--katakana-paren > li,
.eula-modal__body ol.c-list--katakana-paren > li {
  counter-increment: katakana-paren;
  position: relative;
  margin-left: 0;
  padding-left: 2em;
}
.eula-modal__body ul.c-list--katakana-paren > li::before,
.eula-modal__body ol.c-list--katakana-paren > li::before {
  content: "(" counter(katakana-paren, katakana-paren) ")";
  position: absolute;
  left: 0;
}
.eula-modal__title {
  font-weight: 700;
  font-size: 1rem;
  color: #254DBC;
}
.eula-modal__step {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}
.eula-modal {
  /* 同意チェック行 */
}
.eula-modal__agree-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  cursor: pointer;
}
.eula-modal__agree-row[hidden] {
  display: none;
}
.eula-modal {
  /* 同意ボタン */
}
.eula-modal__agree-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-bottom: 2px solid #0017EC;
  background: linear-gradient(to bottom, #fff 50%, #005DFF 50%) left 0% no-repeat;
  background-size: 100% 200%;
  font-weight: 700;
  color: #0017EC;
  transition: color 0.3s, background-position 0.3s, border-color 0.3s;
  border-radius: none;
  cursor: pointer;
}
.eula-modal__agree-button--download::before {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 0.96em;
  height: 0.85em;
  top: 0;
  bottom: 0;
  right: 2em;
  margin: auto;
  mask-image: url(/wp-content/themes/pro-bravia/assets/img/common/icon-download.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: #fff;
  transition: transform 0.3s, opacity 0.3s, background-size 0.3s;
}
.eula-modal__agree-button--download::after {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 0.96em;
  height: 0.85em;
  top: 0;
  bottom: 0;
  right: 2em;
  margin: auto;
  mask-image: url(/wp-content/themes/pro-bravia/assets/img/common/icon-download.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: #0017EC;
  transition: transform 0.3s, opacity 0.3s, background-size 0.3s;
}
.eula-modal__agree-button:hover {
  background-position: left 100%;
  color: #fff;
}
.eula-modal__agree-button:hover::before {
  opacity: 1;
}
.eula-modal__agree-button:hover::after {
  opacity: 0;
}
.eula-modal__agree-button:disabled {
  border: none;
  background: #E5E5E5;
  color: #707070;
  cursor: not-allowed;
}
.eula-modal__agree-button:disabled::after, .eula-modal__agree-button:disabled::before {
  opacity: 0;
}
.eula-modal {
  /* 戻る・同意（閉じる／ダウンロード）ボタンの共通フッター */
}
.eula-modal__footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.eula-modal__footer .eula-modal__back,
.eula-modal__footer .eula-modal__agree-button {
  position: relative;
  flex: 1 1 0;
  width: auto;
  margin-bottom: 0;
  max-width: 50%;
  padding: 12px 16px;
  font-size: 15px;
  text-align: center;
  box-sizing: border-box;
  font-family: inherit;
}
.eula-modal__footer .eula-modal__back[hidden],
.eula-modal__footer .eula-modal__agree-button[hidden] {
  display: none;
}
.eula-modal__footer .eula-modal__back {
  border-bottom: 2px solid #0017EC;
  background: linear-gradient(to bottom, #fff 50%, #005DFF 50%) left 0% no-repeat;
  background-size: 100% 200%;
  font-weight: 700;
  color: #0017EC;
  transition: color 0.3s, background-position 0.3s, border-color 0.3s;
}
.eula-modal__footer .eula-modal__back::after {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 0.37em;
  height: 0.8em;
  top: 0;
  bottom: 0;
  left: 2em;
  margin: auto;
  mask-image: url(/wp-content/themes/pro-bravia/assets/img/common/arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: #0017EC;
  transition: transform 0.3s, opacity 0.3s, background-size 0.3s;
  transform: rotate(180deg);
}
.eula-modal__footer .eula-modal__back::before {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 0.37em;
  height: 0.8em;
  top: 0;
  bottom: 0;
  left: 2em;
  margin: auto;
  mask-image: url(/wp-content/themes/pro-bravia/assets/img/common/arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: #fff;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  transform: rotate(180deg);
}
.eula-modal__footer .eula-modal__back:hover {
  background-position: left 100%;
  color: #fff;
}
.eula-modal__footer .eula-modal__back:hover::before {
  opacity: 1;
  transform: translateX(-0.2em) rotate(180deg);
}
.eula-modal__footer .eula-modal__back:hover::after {
  opacity: 0;
  transform: translateX(-0.2em) rotate(180deg);
}