 form p {
    margin-bottom: 0;
 }
input[type=submit].redBtn {
    margin: 2rem auto 0;
    display:block;
}
.inputItem p {
    margin-bottom:0 !important;
    margin-block-end: 0;
    text-align: left;
}
.inputItem th {
    background: #f1ede9;
    font-weight: normal;
    vertical-align: top;
}
#exWrap {
    padding: 1rem;
    /*background: #e6f5e6;*/
    background: #f6fff6;
    margin-top: .5rem;
}
#exWrap dl {
    display: flex;
    border:1px solid #999;
    margin-bottom: 0;
    margin-block:0;
    border-top:none;
}
#exWrap dl:first-of-type {
    border-top: 1px solid #999;
}
#exWrap dl > * {
padding:1rem;
}
#exWrap dl dt {
    border-right: 1px solid #999;
    margin-bottom: 0;
}
#exWrap dl dd {
    display: flex;
    align-items: center;
}
h5.lineTtl {
    padding-bottom: .5rem;
    border-bottom: 2px solid #6a0016;
    margin-top: 1rem;
    font-size: 18px;
    font-weight: normal;
    padding-left: .5rem;
}
table.tdn tr:nth-of-type(odd) {
    background: none;
}
table.tdn tr {
    border: 1px solid #e2dad1;
}
table.tdn tr > * {
    padding: 16px;
}
table.tdn th {
    background: #f1ede9;
}
table.tdn td {
    background: #FFF;
}
.asus2 {
    font-size: 12px;
    display: block;
    color: #a18f45;
    margin-bottom: 8px;
}
input[name="tel"],
input[name="tel2"],
input[name="fax"] {
    width: 60%;
    max-width: 250px !important;
}
table.tdn input[name="address"],
table.tdn input[name="address2"],
table.tdn input[name="strt2"]{
    margin-bottom: 8px;
}
table.tdn input[name="name2"] {
    width: 40% !important;
    margin: 8px 0;
}
select[name="menu-176"] {
    margin-top: 10px;
    max-width:90%;
    width:320px;
    appearance: auto; /* ブラウザ標準の矢印を出す（一番手っ取り早い） */
    -webkit-appearance: auto;
    -moz-appearance: auto;
}
span:has(input[name="service1"]),
span:has(input[name="service2[]"]) {
    display: inline;
}
span:has(input[name="service1"]) + a,
span:has(input[name="service2[]"]) + a {
font-size: 90%;
}
.right {
    margin: 4px 0 8px auto;
    width: fit-content;
}
#popupImage{
  display:none;
  position:fixed;
  z-index:9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.8);
  text-align:center;
}

#popupImage img{
  max-width:90%;
  max-height:90%;
  margin-top:5%;
}

#popupImage .close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}
table.tdn th .ed {
    border-radius: 0;
}
#ironForm  .lineTtl {
    margin-top: 4rem;
}
#ironForm .inputItem .lineTtl {
    margin-top: 2rem;
}
span:has(input[name="pay"]) + .wpcf7-not-valid-tip {
    display: none;
}
td p:has(.wpcf7-form-control-wrap[data-name="pay"]):last-of-type .wpcf7-not-valid-tip {
    display: block !important;
}
@media screen and (max-width:480px) {
    .inputItem table {
        display: flex;
        flex-wrap:wrap;
    }
    .inputItem table tr > * {
        width: 100%;
        display: block;
    }
    .example img {
        width: 100px;
    }
    table.tdn th,
    table.tdn td {
        border:none;
    }
    table.tdn th .ed {
        padding: 0 4px;
    }
    table.tdn tr > * {
        padding:10px 16px;
    }
    .tdn tr p:has(.ed){
        align-items: flex-start;
    }

}