﻿/* 回答フォーム */
body {
    background-color: #F2FAF9;
}

@media (min-width: 760px) {
    body {
        min-width: 592px;
        margin: 0 auto;
    }
}

/* タイトル */
.pt_form_ttlArea {
    padding: 32px 20px 24px;
}

@media (min-width: 760px) {
    .pt_form_ttlArea {
        max-width: 980px;
        margin: 0 auto;
        padding: 64px 20px 40px;
    }
}

.pt_form_ttl {
    padding-top: 24px;
}

@media (min-width: 760px) {
    .pt_form_ttl {
        padding-top: 40px;
    }
}

.pt_form_typo_sp {
    display: block;
}

.pt_form_typo_pc {
    display: none;
}

@media (min-width: 760px) {
    .pt_form_typo_sp {
        display: none;
    }

    .pt_form_typo_pc {
        display: block;
    }
}

.pt_form_ttl_content {
    padding-top: 24px;
}

@media (min-width: 760px) {
    .pt_form_ttl_content {
        padding-top: 32px;
    }
}

/* 入力フォーム */
.pt_form_formArea {
    background-color: #FFFFFF;
}

.pt_form_input {
    padding: 24px 20px;
}

@media (min-width: 760px) {
    .pt_form_input {
        max-width: 592px;
        margin: 0 auto;
        padding: 64px 0;
    }
}

.pt_form_input_qaItemArea {
    display: flex;
    align-items: flex-start;
}

@media (min-width: 760px) {
    .pt_form_input_qaItemArea {
        padding: 8px 0;
    }
}

.pt_form_input_item {
    font-size: 0;
}

.pt_form_input_item>p {
    display: inline;
}

.pt_form_input_inputArea {
    padding-top: 24px;
}

@media (min-width: 760px) {
    .pt_form_input_inputArea {
        padding-top: 32px;
    }
}

.pt_form_input_fieldArea {
    display: flex;
}

.pt_form_input_fieldArea>div {
    width: 100%;
    flex-grow: 1;
}

.pt_form_input_fieldArea>div+div {
    margin-left: 16px;
}

.pt_form_input_field {
    padding-top: 8px;
}

@media (min-width: 760px) {
    .pt_form_input_field_pc {
        padding-top: 16px;
    }
}

.pt_form_input_notif:not(:has(.c_notification_hidden)) {
    padding-top: 8px;
}

.pt_form_input_desc {
    padding-top: 8px;
}

@media (min-width: 760px) {
    .pt_form_input_fieldArea>div+div>.pt_form_input_desc {
        margin-left: 8px;
    }
}

.pt_form_input_dd {
    display: flex;
    align-items: center;
}

.pt_form_input_dd_ymd:first-child {
    /* 生年月日・年 */
    width: calc((100%) * 1.2);
}

.pt_form_input_dd_ymd {
    /* 生年月日・月日 */
    width: 100%;
}

.pt_form_input_dd_ymd:not(:first-child) {
    margin-left: 8px;
}

@media (min-width: 760px) {
    .pt_form_input_dd_ymd:first-child {
        /* 生年月日・年 */
        width: 200px;
    }

    .pt_form_input_dd_ymd {
        /* 生年月日・月日 */
        width: 155px;
    }
}

.pt_form_input_date {
    padding-left: 4px;
}

.pt_form_input_date:last-child {
    padding-right: 3px;
}

@media (min-width: 760px) {
    .pt_form_input_date:last-child {
        padding-right: 0;
    }
}

.pt_form_input_radioFlexArea {
    display: flex;
}

.pt_form_input_radio+.pt_form_input_radio {
    padding-left: 24px;
}

.pt_form_input_addArea {
    padding-top: 24px;
}

@media (min-width: 760px) {
    .pt_form_input_addArea {
        padding-top: 32px;
    }
}

.pt_form_input_addArea .pt_form_input_inputArea:first-of-type {
    padding-top: 16px;
}

@media (min-width: 760px) {
    .pt_form_input_addArea .pt_form_input_inputArea:first-of-type {
        padding-top: 24px;
    }
}

.pt_form_input_txtlnk {
    padding-top: 16px;
}

.pt_form_input_subItemArea {
    padding-top: 8px;
}

@media (min-width: 760px) {
    .pt_form_input_subItemArea {
        padding-top: 16px;
    }
}

.pt_form_input_qaArea {
    padding-top: 40px;
}

@media (min-width: 760px) {
    .pt_form_input_qaArea {
        padding-top: 32px;
    }
}

.pt_form_input_qaArea .pt_form_input_inputArea:first-of-type {
    /* padding-top: 0; */
}

.pt_form_input_qa {
    padding: 1px 8px 3px;
    margin-right: 4px;
    border-radius: 30px;
    background-color: #CCEBE6;
}

@media (min-width: 760px) {
    .pt_form_input_qa {
        padding: 0 8px 2px;
    }
}

/* 応募要項 */
.pt_form_appArea {
    padding: 40px 20px 0;
}

@media (min-width: 760px) {
    .pt_form_appArea {
        max-width: 980px;
        margin: 0 auto;
        padding: 64px 20px 0;
    }
}

.pt_form_app_boxArea {
    padding-top: 16px;
}

@media (min-width: 760px) {
    .pt_form_app_boxArea {
        padding-top: 24px;
    }
}

.pt_form_app_box {
    border-radius: 16px;
    padding: 16px 8px 16px 20px;
    background-color: #F8F8F8;
}

@media (min-width: 760px) {
    .pt_form_app_box {
        padding: 32px 16px 32px 32px;
    }
}

.pt_form_app_box_scroll {
    max-height: 288px;
    padding-right: 16px;
    overflow-y: scroll;
}

@media (min-width: 760px) {
    .pt_form_app_box_scroll {
        max-height: 336px;
        padding-right: 26px;
    }
}

.pt_form_app_box_listArea+.pt_form_app_box_listArea {
    padding-top: 32px;
}

.pt_form_app_box_list {
    padding-top: 8px;
}

@media (min-width: 760px) {
    .pt_form_app_box_list {
        padding-top: 16px;
    }
}

.pt_form_app_box_note {
    padding: 8px 0;
}

@media (min-width: 760px) {
    .pt_form_app_box_note {
        padding: 16px 0 0;
    }
}

.pt_form_app_box_ann {
    padding-top: 16px;
    font-size: 0;
}

.pt_form_app_box_ann>p {
    display: inline;
}

.pt_form_app_box_ann_textlink {
    display: inline;
}

.pt_form_app_box_ann_textlink>p {
    display: inline;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    word-break: break-all;
    text-align: left;
    color: #2E2E2E;
    border-bottom: solid 1px #000000;
}

@media (min-width: 760px) {
    .pt_form_app_box_ann_textlink>p {
        font-size: 16px;
        line-height: 24px;
    }
}

.pt_form_app_chkArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
}

@media (min-width: 760px) {
    .pt_form_app_chk {
        padding-top: 8px;
    }
}

.pt_form_app_btnArea {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

@media (min-width: 760px) {
    .pt_form_app_btnArea {
        padding: 64px 0;
    }
}

.pt_form_busArea {
    padding: 0 20px 16px;
}

@media (min-width: 760px) {
    .pt_form_busArea {
        max-width: 1040px;
        margin: 0 auto;
        padding: 0 20px 24px;
    }
}

/* shanon add */
/* SP */

/* ▽----- チェックボックスのデザイン -----▽ */
.ss_input input[type="checkbox"] {
    appearance: none;
  position: relative;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  border: 2px solid #585858;
  border-radius: 7px;
  cursor: pointer;
  margin: 4px;
}

.ss_input input[type="checkbox"]:checked {
    border: 1px solid #008673;
  background-color: #008673;
}

.ss_input input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 3.5px;
    width: 14px;
    height: 6px;
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transform: rotate(-45deg);
}

@media (min-width: 760px) {
  .ss_input input[type="checkbox"] {
    appearance: none;
    position: relative;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    border: 3px solid #585858;
    border-radius: 12px;
    cursor: pointer;
  }

  .ss_input input[type="checkbox"]:checked {
    border: 1px solid #008673;
    background-color: #008673;
  }

  .ss_input input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 5.5px;
    width: 21px;
    height: 10px;
    border-bottom: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    transform: rotate(-45deg);
  }
}

/* ▽----- ラジオボタンのデザイン -----▽ */
.ss_input input[type="radio"] {
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #585858;
  border-radius: 9999px;
  cursor: pointer;
}

.ss_input input[type="radio"]:checked {
  border: none;
  background-color: #008673;
}

.ss_input input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 9999px;
  background-color: #ffffff;
}

@media (min-width: 760px) {
    .ss_input input[type="radio"] {
    appearance: none;
    position: relative;
    width: 36px;
    height: 36px;
    border: 3px solid #585858;
    border-radius: 9999px;
    cursor: pointer;
    }

    .ss_input input[type="radio"]:checked {
    border: none;
    background-color: #008673;
    }

    .ss_input input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 12px;
    height: 12px;
    margin: auto;
    border-radius: 9999px;
    background-color: #ffffff;
    }
}

/* ▽----- ラジオボタンとチェックボックスの調整 -----▽ */
.ss_input .c_radio03_label, .ss_input .c_checkBox01_label {
  align-items: center;
  column-gap: 8px;
  width: fit-content;
  line-height: 1;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.ss_input:has(input[type="radio"]), .ss_input:has(input[type="checkbox"]){
  display: block;
}

.c_radio03_unit, .c_checkBox01_checkBox {
  display: inline-block;
}
.pt_form_input_field:has(.ss_input .c_checkBox01_checkBox),
.pt_form_input_field:has(.ss_input .c_radio03_unit){
  padding-top: 16px;
}
.c_radio03_unit, .c_checkBox01_checkBox {
  margin-right: 24px;
}
@media (min-width: 760px) { 
  .ss_input .c_radio03_unit:not(:first-child),
  .ss_input .c_checkBox01_checkBox:not(:first-child){
    padding-top: 16px;
  }
}
.c_radio03_unit + br + .c_textField01_inputText,
.c_checkBox01_checkBox + br + .c_textField01_inputText {
  margin-top: 8px;
}

/* ▽----- セレクトボックスのデザイン調整 -----▽ */
#entry .ss_input select {
    width: 100%;
    background: #F2FAF9;
}
.select_label {
    position: relative;
    grid-area: input;
}
.select_label::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 16px;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 6px solid #008673;
    border-bottom: 0;
}
.select_label select {
    -webkit-appearance: none;
    appearance: none;
}
.ss_input {
    width: 100%;
    position: relative; 
}

/* ▽----- テキストボックスのデザイン調整 -----▽ */
#entry .ss_input input[type="text"] {
    width: 100%;
}
.pt_form_input_inputArea > div {
    width: 100%;
}

/* ▽-----「生年月日」項目（テキスト）のデザイン調整（旧ひな形） -----▽ */
.birthday .ss_input:first-child {
  width: 140%;
}
@media (min-width: 760px) {
    #entry .birthday .ss_input:first-child input {
        width: 200px;
    }
    #entry .birthday .ss_input input {
        width: 155px;
    }
}

/* ▽-----「生年月日」項目（セレクトボックス）のデザイン調整 -----▽ */
.select_birthday .ss_input:first-child {
  width: 140%;
}
@media (min-width: 760px) {
    #entry .select_birthday .ss_input:first-child select {
        width: 200px;
    }
    #entry .select_birthday .ss_input select {
        width: 155px;
    }
}

/* ▽----- 「性別」（セレクトボックス）項目のデザイン調整（旧ひな形） -----▽ */
.gender .ss_input {
    width: 47%;
}

/* ▽----- 「氏名」項目のデザイン調整 -----▽ */
.pt_form_input_field {
  display: flex;
}
.ss_input + .ss_input {
  margin-left: 16px;
}
.ss_input {
    display: grid;
    grid-template: 
        "top top top"
        "left input right"
        "error error error"
        "file file file"
        "bottom bottom bottom";
    grid-template-columns: auto 1fr auto;
    align-items: center;
    place-content: start;
}

#entry input[type="text"] {
    grid-area: input;
    width: 100%;
}

/* ▽----- 住所項目のデザイン調整 -----▽ */
#zip .pt_form_input_inputArea {
  padding-top: 16px;
}
@media (min-width: 760px) {
  #zip .pt_form_input_inputArea {
    padding-top: 24px;
  }
}


/* ▽----- カレンダーのデザイン調整 -----▽ */
.input_date input {
    cursor: pointer;
}
.calendar_icon {
    position: absolute;
    top: 12px;
    right: 16px;
    cursor: pointer;
}
.remove_icon .pt_form_input_inputArea {
  padding-top: 0;
}
.visit_date {
  margin: 8px 0;
}

/* ▽----- ファイル項目のデザイン調整 -----▽ */
/* 確認画面から戻ったときのデザイン崩れ防止 */
input[type="file"] + a {
  grid-area: file;
}

.fileArea input[type="file"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  cursor: pointer;
}
.fileArea .fileBtn {
  display: inline-block;
  width: 160px;
  height: 32px;
  background-color: #FFFFFF;
  border: 3px solid #008673;
  font-size: 14px;
  line-height: 26px;
  font-weight: 700;
  color: #008673;
  text-align: center;
  word-break: break-all;
  margin-right: 8px;
  border-radius: 20px;
  cursor: pointer;
  pointer-events: none;
}
@media (min-width: 760px) {
  .fileArea input[type="file"] {
    width: 240px;
  }
  .fileArea .fileBtn {
    width: 240px;
    font-size: 16px;
    line-height: 24px;
    margin-right: 16px;
    transition: cubic-bezier(0, 0.2, 0.4, 1) 200ms;
    cursor: pointer;
  }
}
/* 長いファイル名の後方を省略したい場合に使用 */
/* .fileAreaText {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 165px;
}
@media (min-width: 760px) {
    .fileAreaText {
        max-width: 335px;
    }
} */

/* ▽----- エラーメッセージのデザイン調整 -----▽ */
.formError {
    grid-area: error;
    /* border-radius: 16px; */
    /* padding: 4px 8px; */
    padding: 8px 0;
    /* background: #FAD7D7; */
    position: relative;
}
.label.label-warning {
    color: white;
    background: #E53935;
    border-radius: 18px;
    display: inline-block;
    width: 18px;
    height: 18px;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 10px;
    font-size: 14px;
    font-weight: bold;
}
#entry .formError .formErrorContent {
    color: black;
    background: #FAD7D7;
    display: inline-block;
    padding: 6px 14px 6px 40px;
    border-radius: 16px;
    max-width: 100%;
    word-break: break-all;
    margin-left: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
@media (min-width: 760px) {
    .label.label-warning {
        top: 18px;
        left: 14px;
    }
    #entry .formError .formErrorContent {
        font-size: 16px;
        line-height: 24px;
    }
}
#entry .formError ~ input:not([type="file"]),
#entry .formError ~ input:not([type="file"]):focus,
#entry .formError ~ textarea,
#entry .formError ~ textarea:focus,
#entry .formError ~ label > select,
#entry .formError ~ label > select:focus {
  border: 1px solid #E53935;
}

#entry .formError ~ .c_radio03_unit input,
#entry .formError ~ .c_checkBox01_checkBox input{
  border: 3px solid #E53935;
}
#entry .ss_input:has(.formError) input[type="radio"],
#entry .ss_input:has(.formError) input[type="checkbox"]{
  border: 3px solid #E53935;
}


/* ▽----- コメントのデザイン調整 -----▽ */
.ss_upComment {
    grid-area: top;
}
.ss_rightComment {
    grid-area: right;
    margin-left: 4px;
}
.ss_bottomComment {
    grid-area: bottom;
    padding-top: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #585858;
}
.ss_leftComment {
    grid-area: left;
}
@media (min-width: 760px) {
    .ss_rightComment {
        font-size: 18px;
    }
    .ss_bottomComment {
        font-size: 14px;
        line-height: 20px;
    }
}

/* ▽----- アンケート項目の調整 -----▽ */
.pt_form_input_qaArea > div:first-child .pt_form_input_inputArea {
    padding-top: 0;
}

/* ▽----- テキストエリアの調整 -----▽ */
#entry .ss_input textarea {
    grid-area: input;
    height: 160px;
    padding: 16px;
    border-radius: 16px;
    background-color: #F2FAF9;
}

#entry .ss_input textarea:focus {
    border: 1px solid #008673;
}

/* ▽----- jquery-uiのfont-familyを上書き -----▽ */
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ　Ｐゴシック", "HelveticaNeue", "Helvetica", "Arial", Sans-Serif;
}
