/* ==========================================================================
   1. 基本レイアウト・全体設定
   ========================================================================== */
body {
  margin: 0;
  padding: 0;
}

.container {
  background: #ebebeb;
}

.main-content {
  width: 785px;
  margin: 0 auto;
  padding: 40px 55px 20px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.main-content-wide {
  width: 970px;
  margin: 0 auto;
  padding: 40px 90px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  box-sizing: border-box;
  max-width: 100%;
}

/* ==========================================================================
   2. ヘッダー・ロゴ
   ========================================================================== */
.main-header {
  width: 100%;
  background: #000;
  border-bottom: 1px solid #e3e3e3;
  height: 65px;
  margin-bottom: 27px;
}

.main-header .header-logo {
  width: 785px;
  margin: 0 auto;
  padding: 14px 0 27px;
  box-sizing: border-box;
}

.main-header .header-logo a,
.header-logo a {
  display: block;
  width: 262px;
  height: 37px;
  background: url(https://cinema.aeoncinema.com/eseki/pc/img/common/head_logo.gif) 0 0 no-repeat;
  background-size: contain;
  overflow: hidden;
  text-indent: -9999px;
}

.header-inner {
  width: 785px;
  margin: 0 auto;
  padding: 14px 0 27px;
  box-sizing: border-box;
}

.header-logo--fes a {
  width: 400px;
  height: 64px;
  background-image: url(/eseki/pc/img/common/head_logo_fes.gif);
}

/* ==========================================================================
   3. ページタイトル・案内エリア
   ========================================================================== */
.page-title {
  padding: 10px 0 50px;
}

.page-title h1 {
  color: #333333;
  line-height: 1.5;
  position: relative;
  padding: 0 0 10px 0;
  font-size: 36px;
  font-weight: 500;
  text-align: center;
}

.page-title h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80px;
  height: 5px;
  background-color: #b60081;
}

.page-title-border h1 {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  padding: 4px 10px;
}

.page-title-border h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #ee800a;
}

.page-title-border h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ee800a;
}

.agreement-section {
  font-size: 14px;
}

.agreement-intro {
  margin-bottom: 20px;
}

.ticket-notice {
  color: #002060;
  padding: 20px 0;
  border-radius: 4px;
}

/* ==========================================================================
   4. 注意事項・プライバシーポリシー
   ========================================================================== */
.notice-container {
  margin-top: 30px;
  border: 1px solid #c2c2c2;
  padding: 30px;
}

.notice-block {
  margin-top: 40px;
  background-color: #ffffff;
}

.notice-block:first-child {
  margin-top: 0;
}

.notice-title {
  font-size: 16px;
  font-weight: bold;
  border: none;
  text-align: left;
  margin: 0 0 15px;
}

.notice-body {
  margin-left: 15px;
}

.notice-list,
.ordered-notice-list,
.privacy-list,
.privacy-sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ordered-notice-list {
  list-style-type: none;
  counter-reset: notice-counter;
  margin-top: 15px;
  padding-left: 0;
}

.ordered-notice-list li {
  counter-increment: notice-counter;
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
}

.ordered-notice-list li::before {
  content: counter(notice-counter) ". ";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.notice-list dt,
.privacy-list dt {
  margin-top: 15px;
  font-weight: bold;
}

.notice-list dd,
.privacy-list dd {
  margin: 5px 0 0 20px;
}

.privacy-sub-list {
  list-style-type: none;
  counter-reset: privacy-counter;
  margin-left: 20px;
  margin-top: 15px;
  padding-left: 0;
}

.privacy-sub-list li {
  counter-increment: privacy-counter;
  position: relative;
  margin-top: 10px;
  padding-left: 2em;
}

.privacy-sub-list li::before {
  content: "(" counter(privacy-counter) ") "; 
  position: absolute;
  left: 0;
  top: 0;
}

.note {
  font-size: 12px;
  color: #666666;
  margin-top: 5px;
}

/* ==========================================================================
   5. フォームレイアウト (PC表示基本スタイル)
   ========================================================================== */
.form-container {
  margin-top: 30px;
}

.form-row {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dotted #cccccc;
}

.form-row:first-of-type {
  border-top: 1px solid #c2c2c2;
}

/* フォームの3カラム設定（中央拡大版） */
.form-label {
  flex-basis: 160px;
  width: 160px;
  min-width: 160px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 14px;
  color: #333333;
  padding-top: 10px;
}

.form-row.is-required .form-label label::after {
  content: "必須";
  color: #fff;
  padding: 5px;
  background: #e15291;
  font-size: 12px;
  font-weight: bold;
  margin-left: 5px;
  display: inline-block;
}

.form-input-wrap {
  flex: 1;
  padding: 0 15px;
}

.form-example {
  flex-basis: 160px;
  width: 160px;
  min-width: 160px;
  flex-shrink: 0;
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
  border-left: 1px solid #ccc;
  padding-left: 5px;
}

/* 入力パーツ用スタイル */
.form-field {
  width: 100%;
  max-width: 100%;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid #5385e8;
  background: #e9f3fb;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}

.form-field--short {
  width: 120px;
}

.form-field--select {
  height: 42px;
  background-color: #fff;
}

.form-field--textarea {
  width: 100%;
  height: 200px;
  resize: vertical;
}

.form-field-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.form-field-group .form-field {
  flex: 1;
}

.form-separator {
  font-weight: bold;
  color: #333;
}

.form-sub-label {
  margin: 10px 0 5px;
  font-size: 12px;
}

.nested-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nested-row {
  display: flex;
  align-items: center;
}

.nested-label {
  width: 160px;
  min-width: 160px;
  font-size: 13px;
}

.form-notes {
  margin-top: 10px;
}

.form-required-inline {
  color: #e15291;
}

.text-danger {
  color: #ff0000;
  font-size: 12px;
  margin: 4px 0;
}

.form-alert-text {
  color: #e15291;
  font-size: 12px;
  margin: 5px 0 0;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* テーブル形式フォームの代替用設定 */
.form-table-address,
.form-table {
  width: 100%;
}

.form-table tr {
  text-align: left;
}

.form-table th,
.form-table td {
  padding: 10px;
  font-weight: normal;
}

.form-table>tbody>tr>th,
.form-table>tbody>tr>td {
  border-bottom: 1px dotted #888;
}

.form-table th {
  width: 15em;
}

.form-table td {
  width: calc(100% - 15em);
}

/* ==========================================================================
   6. ボタン・同意チェックボックス・その他
   ========================================================================== */
.c-btn {
  display: inline-block;
  vertical-align: middle;
  min-width: 300px;
  box-sizing: border-box;
  margin: 10px;
}

.c-btn a,
.c-btn button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 40px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.c-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(135deg);
  transition: border-color 0.2s ease-out;
}

.c-btn--icon-right a::after {
  right: 20px;
}

.c-btn--icon-left a::after {
  left: 20px;
  transform: translateY(-50%) rotate(-45deg);
}

.c-btn--gray a {
  color: #333333;
  border: solid 2px #e3e3e3;
  background-color: #e3e3e3;
}

.c-btn--gray a::after {
  border-left: 2px solid #b60081;
  border-top: 2px solid #b60081;
}

.c-btn--gray a:hover {
  color: #ffffff;
  border-color: #cc45a3;
  background-color: #cc45a3;
}

.c-btn--gray a:hover::after {
  border-left-color: #ffffff;
  border-top-color: #ffffff;
}

.c-btn--pink a {
  color: #ffffff;
  border: solid 2px #b60081;
  background-color: #b60081;
}

.c-btn--pink a::after {
  border-left: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
}

.c-btn--pink a:hover {
  background-color: #cc45a3;
  border-color: #cc45a3;
}

.c-btn--orenge a {
  color: #ffffff;
  border: solid 2px #ee800a;
  background-color: #ee800a;
}

.c-btn--orenge a::after {
  border-left: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
}

.c-btn--orenge a:hover {
  background-color: #f69936;
  border-color: #f69936;
}

.c-btn.is-disabled {
  pointer-events: none;
}

.c-btn--noicon a::before,
.c-btn--noicon a::after {
  content: none;
}

.c-btn.is-disabled a {
  color: #888888 !important;
  background-color: #e3e3e3 !important;
  border-color: #e3e3e3 !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

.c-btn.is-disabled a::after {
  border-left-color: #888888 !important;
  border-top-color: #888888 !important;
}

.form-action-area {
  margin-top: 45px;
  text-align: center;
}

.form-action-area--back {
  padding: 30px 10px;
  background: #e9f3fb;
}

.form-action-area--back .submit-btn-wrap {
  margin-top: 0;
}

.consent-check-wrap {
  text-align: center;
}

.consent-check-wrap input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  position: relative;
  display: inline-block;
  padding: 2px 1px 2px 30px;
  vertical-align: middle;
  cursor: pointer;
  min-width: 130px;
  line-height: 1.25;
  font-weight: bold;
  font-size: 16px;
}

.checkbox-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: #727272 2px solid;
  border-radius: 3px;
}

.checkbox-label::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 18px;
  background: url("https://cinema.aeoncinema.com/wmtoiawase/pc/images/form_icon_checked.png") left top no-repeat;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.submit-btn-wrap {
  margin-top: 20px;
}

.faq-link-wrap {
  text-align: center;
}
.pageclose {
  text-align: center;
  margin-top: 20px;
}

/* チェックボックス連動JS代替機能 */
.consent-check-wrap input[type="checkbox"]:checked~.submit-btn-wrap .c-btn.is-disabled {
  pointer-events: auto;
}

.consent-check-wrap input[type="checkbox"]:checked~.submit-btn-wrap .c-btn.is-disabled a {
  color: #ffffff !important;
  background-color: #b60081 !important;
  border-color: #b60081 !important;
  cursor: pointer;
}

.consent-check-wrap input[type="checkbox"]:checked~.submit-btn-wrap .c-btn.is-disabled a::after {
  border-left-color: #ffffff !important;
  border-top-color: #ffffff !important;
}

.consent-check-wrap input[type="checkbox"]:checked~.submit-btn-wrap .c-btn.is-disabled a:hover {
  background-color: #cc45a3 !important;
  border-color: #cc45a3 !important;
}

.consent-check-wrap input[type="checkbox"]:checked~ .checkbox-label::after {
  opacity: 1;
}

.security-badge-box {
  margin: 30px 0;
  background-color: #ffffff;
  border: 2px solid #c2c2c2;
  padding: 15px;
}

.security-badge-inner {
  display: flex;
  align-items: center;
}

.security-badge-inner .badge-image {
  flex-basis: 100px;
  margin-right: 15px;
}

.security-badge-inner .badge-image img {
  display: block;
  width: 100%;
  height: auto;
}

.security-badge-inner .badge-text {
  flex: 1;
  font-size: 14px;
}

/* ==========================================================================
   7. フッター・ユーティリティ
   ========================================================================== */
.page-utility-area,
.pagetop-nav {
  margin-top: 40px;
  text-align: right;
}

.btn-pagetop a {
  display: inline-block;
  position: relative;
  padding-right: 15px;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  font-weight: bold;
}

.btn-pagetop a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-left: 2px solid #b60081;
  border-top: 2px solid #b60081;
  transform: translateY(-30%) rotate(45deg);
}

.window-close-wrap {
  border-top: 1px dotted #cccccc;
  margin: 20px 0 0;
  padding-top: 20px;
  text-align: center;
}

.btn-close-window a {
  display: inline-block;
  padding: 10px 30px;
  font-size: 14px;
  color: #666666;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-close-window a:hover {
  background-color: #e3e3e3;
}

.main-footer {
  width: 100%;
  background-color: #000000;
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid #e3e3e3;
  text-align: center;
}

.footer-inner {
  width: 650px;
  margin: 0 auto;
  box-sizing: border-box;
}

.copyright {
  color: #666666;
  text-align: center;
  font-size: 11px;
  margin: 0;
}

.send_message {
  margin-top: 40px;
  padding: 10px;
  text-align: center;
  border: 1px dotted #888;
}

/* ユーティリティクラス */
.fc-blue {
  color: #0000ff;
}
.fb {
  font-weight: bold;
}


/* ==========================================================================
   8. モバイルレスポンシブ表示設定（横幅785px以下 / 640px以下 一括統合）
   ========================================================================== */

/* 中画面（タブレット等：785px以下）*/
@media screen and (max-width: 785px) {
  .main-header .header-logo {
    width: 100%;
    padding: 15px 20px;
  }
  .main-header .header-logo a {
    width: 200px;
    height: 28px;
    background-size: contain;
  }
}

/* 小画面（スマートフォン：640px以下）*/
@media screen and (max-width: 640px) {
  .main-content {
    padding: 10px;
    background: #fff;
  }

  .main-header {
    margin-bottom: 0;
  }

  .header-inner {
    width: 100%;
    padding: 15px calc(30 / 750 * 100vw);
  }

  .header-logo a {
    width: 200px;
    height: 28px;
  }

  .header-logo--fes a {
    width: 280px;
    height: 45px;
  }

  .footer-inner {
    width: 100%;
    padding: 0 calc(30 / 750 * 100vw);
  }

  .page-title h1 {
    font-size: 26px;
  }

  .notice-block {
    padding: 20px 15px;
  }

  .notice-body {
    margin-left: 0;
  }

  .faq-link-wrap,
  .submit-btn-wrap {
    display: block;
    width: 100%;
  }

  .c-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .security-badge-inner {
    display: block;
  }

  .security-badge-inner .badge-image {
    margin: 0 0 10px 0;
  }

  /* フォームスマホ表示（1カラム化） */
  .form-row {
    display: block;
    padding: 15px 0;
  }

  .form-label {
    width: 100%;
    padding-bottom: 8px;
  }

  .form-input-wrap {
    width: 100%;
    padding: 0;
  }

  .form-example {
    width: 100%;
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px dashed #eee;
    border-left: 0;
    padding-left: 0;
  }

  .nested-row {
    display: block;
  }

  .nested-label {
    display: block;
    margin-bottom: 4px;
  }

  /* テーブル形式フォームスマホ表示 */
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .form-table>tbody>tr>th {
    border: none;
  }
}