@charset "utf-8";
/* Contact / image submission: shared TOP visual language. */
body:has(.apFormPage), body #container:has(.apFormPage) {
  background: #f5f5f5;
  color: #333;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
}
.apFormPage {
  --ap-red: #b52823;
  background: #f5f5f5;
  color: #333;
  padding-bottom: 64px;
  font-size: 16px;
  line-height: 1.8;
}
.apFormPage *, .apFormPage *::before, .apFormPage *::after { box-sizing: border-box; }
.apFormPage .fontMincho, .apFormPage .fontDancing { font-family: inherit; }
.apFormPage a { color: var(--ap-red); }
.apFormPage #ver2Header { background: #fff; margin: 0 0 48px; padding: 0; }
.apFormPage #panNav { width: min(100% - 40px, 1100px); margin: 0 auto; padding: 20px 0; color: #666; font-size: 13px; }
.apFormPage #panNav a { color: #666; }
.apFormPage #panNav img { filter: brightness(.4); }
.apFormPage #ver2Tit { width: 100%; height: auto; padding: 0px 20px 56px; background: none; }
.apFormPage .fvTtl { position: static; width: 100%; padding: 0; margin: 0; text-align: center; transform: none; }
.apFormPage .fvTtl > br { display: none; }
.apFormPage .fvTtlSub { display: block; color: var(--ap-red); font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.apFormPage .fvTtlMain { display: block; margin: 10px 0 20px; color: #333; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.apFormPage .fvTtlTxt { margin: 0; color: #555; font-size: 15px; letter-spacing: .02em; line-height: 1.9; }
.apFormPage #contact2, .apFormPage #entry {
  width: min(100% - 40px, 1000px); margin: 0 auto;
  padding: 40px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px;
}
.apFormPage #contact2 .inner { width: 100%; padding: 0; }
.apFormPage #contact2 h2 { margin: 0 0 24px; padding: 0 0 18px; color: #333; font-size: clamp(19px, 2.3vw, 25px); font-weight: 700; line-height: 1.6; border-bottom: 2px solid var(--ap-red); }
.apFormPage #contact2Txt, .apFormPage #contact2Txt2 { margin: 0 0 28px; color: #555; font-size: 15px; line-height: 1.9; }
.apFormPage #contact2Txt a { text-decoration: underline; text-underline-offset: 4px; }
.apFormSteps { display: flex; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.apFormSteps li { flex: 1; padding: 14px 8px; background: #f1f1f1; color: #666; text-align: center; font-size: 15px; font-weight: 700; border-radius: 4px; }
.apFormSteps li[aria-current="step"] { color: #fff; background: var(--ap-red); }
.apFormSteps span { margin-right: 10px; font-size: 13px; }
.apFormPage #contact2 .formSe1 h3 { margin: 32px 0 20px; padding: 12px 16px; color: #333; background: #f4f4f4; border: 0; border-left: 4px solid var(--ap-red); font-size: 18px; font-weight: 700; }
.apFormPage #contact2 .formSe1 .line, .apFormPage #contact2 .formSe1 .comment { padding: 16px 0; margin: 0; border-bottom: 1px solid #eee; }
.apFormPage #contact2 .formSe1 dl { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 20px; width: 100%; height: auto; overflow: visible; }
.apFormPage #contact2 .formSe1 dt { display: block; padding: 10px 0 0; width: auto; color: #333; }
.apFormPage #contact2 .formSe1 dt span { display: inline; width: auto; height: auto; color: #333; text-align: left; font-size: 15px; font-weight: 500; }
.apFormPage #contact2 .formSe1 dd { display: block; width: auto; min-width: 0; height: auto; padding: 0 0 0 35px; color: #333; font-size: 15px; overflow: visible; }
.apFormPage #contact2 .formSe1 dd.checkboxLeft { padding-left: 35px; }
.apFormPage #contact2 .formSe1 dd input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.apFormPage #contact2 .formSe1 dd textarea,
.apFormPage #contactForm .formInput input:not([type="file"]):not([type="hidden"]),
.apFormPage select {
  width: 100%; max-width: 100%; height: auto; min-height: 48px; margin: 0;
  padding: 11px 14px; border: 1px solid #ccc; border-radius: 4px;
  background: #fafafa; color: #333; font-family: inherit; font-size: 16px; line-height: 1.6;
}
.apFormPage #contact2 .formSe1 dd textarea { min-height: 150px; resize: vertical; }
.apFormPage input:focus-visible, .apFormPage textarea:focus-visible, .apFormPage select:focus-visible,
.apFormPage a:focus-visible, .apFormPage button:focus-visible { outline: 2px solid var(--ap-red); outline-offset: 3px; box-shadow: none; }
.apFormPage input[type="radio"], .apFormPage input[type="checkbox"] { accent-color: var(--ap-red); }
.apFormPage #contact2 .contactList { color: #333; line-height: 2; }
.apFormPage #contact2 .formSe1 dd ul { left: 0; top: 9px; }
.apFormPage #contact2 #ver2Form #btnArea { height: auto; padding: 24px 0; }
.apFormPage #contact2 #ver2Form #btnArea .inBtnArea { width: min(100%, 420px); margin: 0 auto; }
.apFormPage #contact2 .linkSquare, .apFormPage #contact2 #addBtn a, .apFormPage .contactBtn .btn3 {
  display: inline-flex; justify-content: center; align-items: center; width: min(100%, 480px); max-width: 100%;
  min-height: 56px; height: auto; padding: 16px 24px; border: 1px solid var(--ap-red); border-radius: 4px;
  background: linear-gradient(#a9211c, #bf302b); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.5; text-decoration: none;
}
.apFormPage #contact2 .linkSquare .linkSquareTxt { padding: 0; background: none; color: inherit; font-size: inherit; font-family: inherit; letter-spacing: .02em; }
.apFormPage #contact2 .linkSquare::before, .apFormPage #contact2 .linkSquare::after { display: none; }
.apFormPage #contact2 #addBtn a, .apFormPage #contact2 #confirmBtn1 .linkSquare { background: #fff; color: var(--ap-red); }
.apFormPage #contact2 .linkSquare:hover, .apFormPage .contactBtn .btn3:hover { background: #92221e; color: #fff; }
.apFormPage #contact2 #area_auth { width: 100%; margin: 32px auto 0; }
.apFormPage #contact2 #box3, .apFormPage #contact2 #box3Comfi { width: 100%; margin: 0; padding: 0; text-align: center; }
.apFormPage #contact2 #box3 li, .apFormPage #contact2 #box3Comfi li { float: none; width: 100%; margin: 12px 0; }
.apFormPage #contactForm, .apFormPage #contactForm .formInput { width: 100%; }
.apFormPage #entry { max-width: 800px; }
.apFormPage #contactForm .form { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #eee; }
.apFormPage #contactForm h3, .apFormPage #contactForm dt { color: #333; font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.apFormPage .need { background: var(--ap-red); font-size: 11px; border-radius: 3px; padding: 3px 7px; }
.apFormPage .originalBtn { border-color: var(--ap-red); color: var(--ap-red); max-width: 100%; padding: 12px 24px; }
.apFormPage .originalBtn:hover { background: var(--ap-red); color: #fff; }
.apFormPage .jsFile { padding: 8px 16px 16px; margin-top: 12px; background: #f5f5f5; border: 1px dashed #ccc; border-radius: 4px; }
.apFormPage .filename { max-width: 100%; overflow-wrap: anywhere; color: #555; }
.apFormPage #ppTxt { color: #555; font-size: 14px; }
.apFormPage .err, .apFormPage #contact2 .err { color: #ff0000; font-size: 12px; }
.apFormPage #compTtl { color: #333; font-size: 22px; font-weight: 700; }
@media (max-width: 639px) {
  .apFormPage { padding-bottom: 40px; }
  .apFormPage #ver2Header { margin-bottom: 24px; }
  .apFormPage #ver2Tit { padding: 20px 20px 32px; }
  .apFormPage .fvTtlTxt { font-size: 14px; text-align: left; }
  .apFormPage #contact2, .apFormPage #entry { width: calc(100% - 24px); padding: 24px 16px; }
  .apFormPage #contact2 .formSe1 dl { display: block; }
  .apFormPage #contact2 .formSe1 dt { padding: 0 0 10px; }
  .apFormPage #contact2 .formSe1 dd { padding-left: 35px; }
  .apFormPage #contact2 .formSe1 h3 { font-size: 16px; }
  .apFormSteps { gap: 4px; }
  .apFormSteps li { padding: 10px 4px; font-size: 12px; }
  .apFormSteps span { display: block; margin: 0; }
  .apFormPage #contact2 .formSe1 dd ul { top: 10px; }
  .apFormPage #contact2 .linkSquare, .apFormPage .contactBtn .btn3 { width: 100%; font-size: 16px; }
}
/* Keep the existing validation badges beside their input at every width. */
.apFormPage #contact2 .formSe1 dd { position: relative; }
.apFormPage #contact2 a:not(.linkSquare), .apFormPage #contact2Txt a, .apFormPage #contactTxt3 a { color: var(--ap-red); }
.apFormPage #contact2 .formSe1 dd span { color: #555; }
@media (max-width: 639px) {
  .apFormPage #contact2 .formSe1 dd ul { position: absolute; left: 0; top: 10px; }
  .apFormPage #contact2 #btnArea #addBtn, .apFormPage #contact2 #btnArea #delBtn { padding-bottom: 0; }
}
.apFormPage #contactForm .need { color: #fff; margin-left: 10px; }
.apFormPage #contactForm .fileBtn input[type="file"] { display: none; }
.apFormPage #contactForm .originalBtn { border-radius: 4px; font-family: inherit; font-size: 15px; }
.apFormPage #contact2 #ver2Form #btnArea #addBtn a .linkSquareTxt { color: var(--ap-red); }
.apFormPage #contact2 #ver2Form #btnArea #addBtn a:hover { background: #fff5f4; color: var(--ap-red); }

/* Text-only required badge; preserve validation state classes and animation. */
.apFormPage #contact2 .formSe1 li.must .apRequired {
  display: flex; align-items: center; justify-content: center;
  width: 35px; height: 30px; margin: 0; padding: 0;
  background: var(--ap-red); color: #fff; border-radius: 3px;
  font-family: inherit; font-size: 11px; font-weight: 700; line-height: 1;
}
.apFormPage #contact2 .formSe1 .line p.err,
.apFormPage #contact2 .formSe1 .comment p.err,
.apFormPage #contactForm p.err {
  color: #ff0000; font-size: 12px; line-height: 1.6;
}

/* Required labels stay next to the field title, independent of validity. */
.apFormPage #contact2 .formSe1 dt .apRequired {
  display: inline-block; width: auto; height: auto; margin-left: 8px;
  padding: 3px 6px; border-radius: 3px; background: var(--ap-red);
  color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4;
  vertical-align: middle; white-space: nowrap;
}
.apFormPage #contact2 .formSe1 dd,
.apFormPage #contact2 .formSe1 dd.checkboxLeft { padding-left: 0; }
.apFormPage #contact2 #contactTxt3,
.apFormPage #contact2 #contactTxt3 a { font-size: 13px; line-height: 1.7; }
.apFormPage #contact2 .formSe1 p.err,
.apFormPage #contact2 .formSe1 .line p.err,
.apFormPage #contact2 .formSe1 .comment p.err,
.apFormPage #contactForm p.err {
  margin: 6px 0 0; padding: 0; text-indent: 0; text-align: left;
  letter-spacing: normal; color: #ff0000; font-size: 12px; line-height: 1.6;
}
/* Keep hit area and text fixed; use the same gradient as the header WEB CTA. */
.apFormPage #contact2 #area_auth .linkSquare,
.apFormPage #contact2 #area_auth .linkSquare:hover {
  margin-top: 0; padding: 16px 24px; transform: none; animation: none;
  opacity: 1; box-shadow: none;
  background-image: linear-gradient(180deg, #b90002, #ca2f2e);
  transition: border-color .2s ease;
}
.apFormPage #contact2 #area_auth .linkSquare { background-color: #b52823; }
.apFormPage #contact2 #area_auth .linkSquare:hover { background-color: #92221e; }
.apFormPage #contact2 #area_auth .linkSquare .linkSquareTxt,
.apFormPage #contact2 #area_auth .linkSquare:hover .linkSquareTxt {
  padding: 0; transform: none; animation: none; transition: none; color: #fff;
}
.apFormPage #contact2 #area_auth #confirmBtn1 .linkSquare { background: #fff; color: var(--ap-red); }
.apFormPage #contact2 #area_auth #confirmBtn1 .linkSquare .linkSquareTxt { color: inherit; }

/* Image submission controls. */
.apFormPage #entry #btnArea { height: auto; text-align: center; }
.apFormPage #entry #contactBtnWrap {
  display: block; width: min(100%, 480px); margin: 0 auto; padding: 0;
  text-align: center;
}
.apFormPage #entry .contactBtn { width: 100%; text-align: center; }
.apFormPage #entry .contactBtn .btn3 { width: 100%; margin: 0 auto; }
.apFormPage #entry #contactForm .originalBtn,
.apFormPage #entry #contactForm .originalBtn:hover {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-height: 40px; padding: 8px 16px; margin: 8px 0;
  font-size: 14px; line-height: 1.5; cursor: pointer;
}

/* Compact secondary action for removing an item. */
.apFormPage #contact2 #ver2Form #btnArea #delBtn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 32px;
  padding: 5px 14px;
  border: 1px solid #666;
  border-radius: 4px;
  background: #666;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}
.apFormPage #contact2 #ver2Form #btnArea #delBtn a:hover {
  background: #555;
  border-color: #555;
  color: #fff;
}
