@charset "utf-8";
/* common */
fieldset {
    all: unset;
}
label:not(:has(input[type='checkbox'], input[type='radio'])) {
    cursor: default;
}
input, textarea, select {
    font-size: 1rem;
}
input::placeholder, textarea::placeholder {
    font-size: 0.9rem;
}
input[type=text], input[type=email], input[type=number], input[type=tel],
textarea, select {
    display: block;
    width: calc(100% - 34px);
    padding: 9px 16px;
    height: auto;
    line-height: 1.5;
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* font-size: 1rem; */
}
input[data-input-name=code] {
    width: 4rem;
}
input[type=text]:focus, input[type=email]:focus, input[type=number]:focus, input[type=tel]:focus,
input[type=radio]:focus, input[type=checkbox]:focus ,
textarea:focus, select:focus {
    outline: 2px solid #FBC618;
}
input[type=radio], input[type=checkbox] {
    padding: 0;
    margin: 0;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    transition: 0.2s all linear;
    margin-right: 5px;
    position: relative;
    top: 4px;
}
input[type=radio] {
    border-radius: 50%;
}
input[type=radio]:checked  {
  border: 6px solid #FBC618;
}
input[type=checkbox]:checked {
    background-color: #FBC618;
    border-color: #FBC618;
}
input[type=checkbox]:checked::after {
    position: absolute;
    top: -1px;
    left: 3px;
    width: 6px;
    height: 10px;
    content: "";
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    /* opacity: 0; */
    transform: rotate(40deg);
}
textarea {
    min-height: 9rem;
    resize: vertical;
}
select {
    width: 100%;
}
input[type=submit] {
    max-width: 20rem;
    width: 100%;
    background-color: #049D8E;
    border: none;
    border-radius: 50px;
    padding: 20px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
input[type=submit]:hover {
    opacity: 0.7;
    transition: 0.2s all linear;
}
@media screen and (max-width: 768px) {
   input[type=submit] {
        max-width: 100%;
   } 
}



/* main */
.ir-form section {
    background-color: #FFF4D0;
    margin: 0 auto;
    padding: 40px;
}
{
    max-width: 960px;
    margin: 0 auto;
}
.ir-form section h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    color: #f60;
}
.ir-form section h1::before {
    display: block;
    content: '';
    width: 100%;
    min-height: 120px;
    background: url(../image/ir/h1-head.svg) top/auto no-repeat;
}
{
    background-color: #fff;
    border-radius: 12px;
    padding: 60px 100px;
    margin: 0 auto;
}
p:first-child {
    margin-bottom: 40px;
    font-size: 0.9rem;
}
.form-annotation {
    font-size: 0.75rem;
    color: #666666;
    margin-top: 5px;
    padding-left: 1rem;
    text-indent: -1rem;
}
fieldset {
    display: flex;
    flex-direction: column;
    /* gap: 20px;
    align-items: center; */
    margin-bottom: 40px;
}
.inputs-name {
    display: flex;
    gap: 0 20px;
}
.inputs-list label {
    display: flex;
    gap: 0 5px;
    align-items: baseline;
}
.inputs-list label > input {
    flex: 0 0 18px;
}
.form-submit {
    display: flex;
    justify-content: center;
}
.form-required {
    /* display: flex;
    align-items: center; */
    position: relative;
    margin-left: 8px;
    font-size: 0;
}
.form-required::after {
    position: absolute;
    bottom: -3px;
    display: inline-block;
    width: 32px;
    padding: 4px 2px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    content: "必須";
    background: #d70c18;
    border-radius: 10px;
    font-size: .625rem
}
.form-privacy {
    padding-left: 1.5rem;
    font-size: 0.75rem;
}
.form-privacy a {
    font-weight: bold;
    text-decoration: underline;
}

/* thanks */
.ir-form #hidden_iframe {
    display: none;
}
p:first-child {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

@media screen and (max-width: 768px) {
    .ir-form section {
        padding: 30px 0;
    }
    .ir-form section h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .ir-form section h1::before {
        min-height: 80px;
        background-size: 74vh;
    }
    {
        padding: 30px 40px;
        border-radius: 0;
    }
    .inputs-list li {
        margin: 5px 0;
    }
}
@media screen and (max-width: 430px) {
    {
        padding: 30px 20px;
    }
}
