/* ===================================================
   Form Styles (p-form-inquiry)
=================================================== */

.p-form-inquiry {
  padding: 3.2rem 1.25rem 0;
  max-width: 37.5rem;
  margin-inline: auto;
}

/* Introduction */
.p-form-inquiry__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: .0625rem solid #808080;
}
.p-form-inquiry__intro-box {
  margin: 0;
  padding: .8125rem;
  border: 0.0625rem solid #009fe8;
  border-radius: 0.3125rem;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.8;
}
@media (min-width: 751px) {
.p-form-inquiry__intro-box {
  font-size:1rem;
  padding: 1rem 1rem 1.1rem;;
}
.p-form-inquiry__intro {
  border-bottom: .03125rem solid #808080;
}
}

/* Progress Indicator */
.p-form-inquiry__progress {
  margin-bottom: 2rem;
}
.p-form-inquiry__progress-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.p-form-inquiry__progress-list::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background-color: #7f8080;
  transform: translateY(-50%);
  z-index: -1;
}
.p-form-inquiry__progress-item {
  width: 5.8125rem;
  height: 5.8125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.0625rem solid #0086D4;
  border-radius: 50%;
  background-color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  color: #009fe8;
}
.p-form-inquiry__progress-item.is-active {
  background-color: #0086D4;
  border-color: #009fe8;
  color: #fff;
}
@media (min-width: 751px) {
.p-form-inquiry__progress {
  max-width:30rem;
  margin: 1rem auto 0;
}
}


/* Form General */
.p-form-inquiry__form .aform-header {
	display:none;
}
.aform-button-area input {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 17.0625rem;
    padding: 0.2rem 0 .275rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    border-radius: 1.875rem;
    background-color: #003674;
    letter-spacing: .25rem;
}
.p-form-inquiry__form .aform-button-area::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ffffff;
    right: 2.625rem;
    transform: translateY(-50%);
    z-index: 100;
    background: url(/images/form_arrow.svg);
  background-repeat:no-repeat;
}
.aform-button-area input:hover {
  opacity:.8;
}
/* Submit Button */
.aform-button-area {
    background: #fff;
    position: relative;
    padding: 0;
    margin: 3rem 0;
}
.p-form-inquiry__submit-wrapper {
  margin-top: 1.6rem;
}
.p-form-inquiry__submit-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.6rem;
  border: none;
  border-radius: 5rem;
  background-color: #002d62;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
}
.p-form-inquiry__submit-button::after {
  content: '';
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.3rem solid #fff;
  border-right: 0.3rem solid #fff;
  transform: rotate(45deg);
}
.p-form-inquiry__submit-button:hover {
  background-color: #00428e;
}
@media (min-width: 751px) {
  .p-form-inquiry {
    max-width: 54.5rem;
    padding: 3rem 1.5625rem 0;
  }
  .p-form-inquiry__progress-item {
      width: 7rem;
      height: 7rem;
  }
.aform-button-area {
  width: 21rem;
  margin: 3rem auto 0;
}
}

.aform-content .aform-input[type="text"], 
.aform-input.aform-checkbox,
.aform-text, .aform-email, 
.aform-password, .aform-tel, 
.aform-url, .aform-number, .aform-date, .aform-time, .aform-textarea, .aform-select, .aform-name, .aform-kana, .aform-zipcode, .aform-prefecture, .aform-calendar {
  border-radius:0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: .0625rem solid;
  padding: .4rem .75rem .5rem;
  font-size: .9rem;
}
.aform-input.aform-checkbox {
  padding: 0;
  margin-right: .75rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 1rem 0 0;
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  &:checked {
    background: #003674;
    border-color: #003675;
  }
  &::before {
    /* 省略 */
  }
  &:checked::before {
    opacity: 1;
  }
}
.aform-content label {
  font-size: 1rem;
}
.aform-content dl dt .aform-label{
  font-size: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.aform-content dl dt .aform-label a {
  display: flex;
  align-items: center;
}
.aform-content dl dt .aform-label img {
  display: inline;
  padding:0 .125rem .125rem .5rem;
  line-height: 1;
}
.aform-input-example {
  font-size: .9rem;
  color: #808080;
  padding: 0 0 .75rem 0;
}
.aform-required {
    padding: .125rem .25rem .25rem;
    border-radius: 0;
    font-size:.675rem;
    margin-top: .125rem;
    margin-left: .5rem;
    white-space: nowrap;
}
.aform-content dl dt{
  display:flex;
  align-items: baseline;
  padding-bottom: 0.75rem;
}
.aform-content li{
	display: flex;
	/* flex-wrap: wrap; */
}
.aform-content dl {
  margin:1rem 0;
  padding:0 0 1rem 0;
}
@media (min-width: 751px) {
.aform-content dl dt{
  width: 35%;
  padding-top: .9rem;
}
.aform-content dl dd {
    padding-left: 38%;
}
  .p-form-inquiry__form dl dd {
    padding-top: 1rem;
    padding-bottom: .5rem;
  }
}

.p-form-inquiry__thankyou {
  text-align:center;
  padding-top: 3.5rem;
}
.p-form__thankyou {
  color: #0086d4;
  font-size: 1.3125rem;
}
.p-form-message__thankyou {
  font-size:.85rem;
  margin:2.25rem 0 5.5rem;
  color:#000;
  font-weight:500;
  line-height: 1.6;
  text-align: left;
}
.aform-button-area__thankyou {
  border-bottom:.06125rem solid #999;
  padding-bottom:3rem;
  margin-bottom:3rem
}
@media (min-width: 751px) {
.p-form__thankyou {
  font-size: 1.5rem;
}
.p-form-message__thankyou {
  font-size:1rem;
  line-height: 1.7;
  max-width: 36rem;
  margin: 3rem auto 5rem;
}
.aform-button-area__thankyou {
  padding-bottom: 8rem;
  margin-bottom:0;
}
}

.aform-content {
  width: 100%;
    max-width: 37.5rem;
    margin-inline: auto;
    padding: 0 1.25rem;
}
.aform-content .aform-prefecture {
	/* 1. ブラウザ標準の矢印を消す（必須） */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* 2. オリジナルの三角アイコンを背景画像として設定 */
  /* ここではシンプルな黒い三角形のSVGを使用しています */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  
  /* 3. アイコンの位置調整 */
  background-repeat: no-repeat;
  background-position: right 10px center; /* 右から10px、上下中央に配置 */
  background-size: 1.25rem; /* アイコンのサイズ */

  /* 4. その他の見た目を整える（お好みで調整してください） */
  width: 100%;          /* 幅 */
  padding: 10px 15px;   /* 内側の余白 */
  padding-right: 30px;  /* 文字がアイコンに被らないように右余白を多めに取る */
  cursor: pointer;      /* カーソルを指の形に */
}
@media (min-width: 751px) {
  .p-forme__contents{
          max-width: 54.5rem;
          padding: 3rem 1.5625rem;
          margin:auto
   }
.aform-content {
          max-width: 54.5rem;
          padding: 3rem 1.5625rem;
          margin:auto
}
}

.main-form_thankyou .p-breadcrumb,
.member-inquiry .p-breadcrumb{
  margin-top:2rem
}


.aform-header {
  text-align:center;
      font-size: 1.75rem;
    font-weight: 700;
    color: #0086d4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
#aform_btn_submit {
  letter-spacing:.125rem;
  margin-top:2rem;
  border:.125rem solid #003674;
  padding:.3rem;
}
#aform_btn_back {
  border:.125rem solid #003674;
  background:#fff;
  padding:.3rem;
  color:#003674;
}
.aform-confirm {
  margin:1rem 0;
  display:block;
}
#aform_confirm_msg {
  margin-top:2rem;
}
@media (min-width: 751px) {
.aform-header {
  margin: 4rem 0 0;
}
}

.ui-datepicker-trigger {
	padding-top: .5rem;
	display:inline-block;
	width: 1.5rem;
}
.aform-checkbox-ul.inquiry-about li {
	display:inline-block;
	padding-bottom:1rem;
	padding-right: 2rem;
}
.ui-widget-header {
    border: 1px solid #0086d3;
    background: #0086d4;
}