@charset "UTF-8";
.ua-footerContact{
  display: none;
}

body{
      font-size: clamp(18px, 1.8vw, 20px);
}
.method {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: clamp(24px, 3vw, 42px) 0 clamp(50px, 11vw, 120px);
    padding: 0;
    list-style: none;
}

.method li {
    margin: 0;
    padding: 28px 32px;
    border: 1px solid #d2d9ff;
    /* background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%); */
    box-shadow: 0 0px 10px rgb(5 42 91 / 3%);
}

.method .fax {
    order: 2;
}

.method .tel {
    order: 1;
}

.method .mail {
    order: 3;
    grid-column: 1 / -1;
}

.method .ttl {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #052a5b;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
    line-height: 1.4;
}

.method .ttl::before {
    content: "";
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 auto;
}

.method .ttl::after {
    content: none;
}

.method .fax .ttl::before {
    background-image: url("../img/fax.svg");
}

.method .fax .ttl::after {
    content: none;
}

.method .tel .ttl::before {
    background-image: url("../img/tel.svg");
}

.method .tel .ttl::after {
    content: none;
}

.method .mail .ttl::before {
    background-image: url("../img/mail.svg");
}

.method .mail .ttl {
    color: transparent;
    font-size: 0;
    line-height: 1;
}

.method .mail .ttl::after {
    content: "メールでのお問い合わせ";
}

.method .mail .ttl::after {
    content: none;
}

.method .mail .ttl {
    color: #052a5b;
    font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
    font-weight: 700;
    line-height: 1.4;
}

.method .number {
    display: block;
    color: #052a5b;
    font-size: clamp(1.9rem, 1.6rem + 0.8vw, 2.5rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

.method .number a {
    color: inherit;
    text-decoration: none;
}

.method .number a:hover,
.method .number a:focus-visible {
    text-decoration: underline;
}

#form{
margin: 5rem 0 0;
}

#form .title_txt{
    margin-bottom: 1.5rem;
}

.method .mail p:not(.ttl) {
    margin: 0;
    color: #1d2943;
    line-height: 1.9;
}

.method .mail .ttl + p + p {
    margin-top: 0.75rem;
}

.ua-shared-form {
    background: #fff;
    /* padding: clamp(10px, 2vw, 32px) clamp(10px, 2vw, 32px) clamp(15px, 4vw, 70px); */
    --ua-form-wide-width: 46rem;
}

.ua-shared-formTable {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    border-top: 1px dotted #adadca;
}

.ua-shared-formTable tr {
    border-bottom: 1px dotted #adadca;
}

.ua-shared-formTable th {
    width: 28%;
    padding: 1rem;
    background: #efeff0;
    color: #1d2943;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.ua-shared-formTable td {
    padding: clamp(14px, 1.4vw, 16px) clamp(14px, 1.4vw, 16px) clamp(12px, 1.2vw, 14px);
    margin: 0;
    line-height: 1.6;
    vertical-align: top;
}

.ua-shared-form input[type="text"],
.ua-shared-form input[type="date"],
.ua-shared-form input[type="email"],
.ua-shared-form input[type="tel"],
.ua-shared-form select,
.ua-shared-form textarea {
    width: 100%;
    max-width: 24rem;
    margin: 0;
    border: 1px solid #bcc6d8;
    background: #fff;
    color: #1d2943;
    font: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ua-shared-form input[type="text"],
.ua-shared-form input[type="date"],
.ua-shared-form input[type="email"],
.ua-shared-form input[type="tel"],
.ua-shared-form select {
    min-height: 48px;
    padding: 0.75rem 0.9rem;
}

.ua-shared-form textarea {
    min-height: 10rem;
    padding: 0.85rem 0.9rem;
    resize: vertical;
}

.ua-shared-form input[type="text"]:focus,
.ua-shared-form input[type="date"]:focus,
.ua-shared-form input[type="email"]:focus,
.ua-shared-form input[type="tel"]:focus,
.ua-shared-form select:focus,
.ua-shared-form textarea:focus {
    border-color: #14568f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 86, 143, 0.12);
}

.ua-shared-form select {
    appearance: none;
}

.ua-shared-form .middle,
.ua-shared-form .middle-width {
    max-width: 24rem;
}

.ua-shared-form input.fullsize,
.ua-shared-form textarea.fullsize,
.ua-shared-form .fullsize {
    width: 100%;
    max-width: var(--ua-form-wide-width);
}

.ua-shared-form input[name="email"] {
    max-width: 34rem;
}

.ua-shared-form textarea {
    max-width: var(--ua-form-wide-width);
}

.ua-shared-form .required,
.ua-shared-formNotice .required {
    color: #c63535;
}

.ua-shared-formRule {
    margin-top: 1.25rem;
}
.ua-shared-formNotice{

  margin-left: 1rem;
}
.ua-shared-formRule a {
    color: #07368d;
    text-decoration: underline;
}

.ua-shared-formRule a:hover,
.ua-shared-formRule a:focus-visible {
    color: #14568f;
}

.ua-shared-form .error,
.ua-shared-form .errorTxt {
    margin-top: 0.45rem;
    color: #c63535;
    font-size: 0.95rem;
}

.ua-shared-formSubmit {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.ua-shared-formSubmit .btnPrimary,
.ua-shared-formSubmit .btnSecondary,
.ua-shared-formSubmit input[type="submit"],
.ua-shared-formSubmit input[type="button"] {
    min-width: min(100%, 18rem);
    padding: 1rem 1.5rem;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-size 0.32s ease, box-shadow 0.32s ease;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.ua-shared-formSubmit .btnPrimary,
.ua-shared-formSubmit input[type="submit"] {
    background: linear-gradient(90deg, #14568f 0 0) left top / 0 100% no-repeat, #07152f;
}

.ua-shared-formSubmit .btnSecondary,
.ua-shared-formSubmit input[type="button"] {
    background: linear-gradient(90deg, #6a6a7c 0 0) left top / 0 100% no-repeat, #9999a5;
}

.ua-shared-formSubmit .btnPrimary:hover,
.ua-shared-formSubmit .btnPrimary:focus-visible,
.ua-shared-formSubmit .btnSecondary:hover,
.ua-shared-formSubmit .btnSecondary:focus-visible,
.ua-shared-formSubmit input[type="submit"]:hover,
.ua-shared-formSubmit input[type="submit"]:focus-visible,
.ua-shared-formSubmit input[type="button"]:hover,
.ua-shared-formSubmit input[type="button"]:focus-visible {
    background-size: 100% 100%, auto;
    box-shadow: 0 14px 28px rgba(5, 42, 91, 0.18);
    color: #fff;
}

@media (max-width: 767px) {
    .method {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .method li {
            padding: 12px 15px;
    }

    .method .mail {
        grid-column: auto;
    }

    .method .ttl {
        gap: 12px;
        margin-bottom: 14px;
    }

    .method .ttl::before {
        width: 34px;
        height: 34px;
    }

    .method .number {
        font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    }

    .ua-shared-formTable,
    .ua-shared-formTable tbody,
    .ua-shared-formTable tr,
    .ua-shared-formTable th,
    .ua-shared-formTable td {
        display: block;
        width: 100%;
    }

    .ua-shared-formTable th {
        padding-bottom: 0.75rem;
    }

    .ua-shared-formTable td {
        padding-top: 0.9rem;
    }

    .ua-shared-form input[type="text"],
    .ua-shared-form input[type="date"],
    .ua-shared-form input[type="email"],
    .ua-shared-form input[type="tel"],
    .ua-shared-form select,
    .ua-shared-form textarea,
    .ua-shared-form .middle,
    .ua-shared-form .middle-width,
    .ua-shared-form .fullsize,
	    .ua-shared-form input[name="email"] {
	        max-width: 100%;
	    }

	    .ua-shared-formSubmit .btnPrimary,
	    .ua-shared-formSubmit .btnSecondary,
	    .ua-shared-formSubmit input[type="submit"],
	    .ua-shared-formSubmit input[type="button"] {
	        width: 100%;
	    }
	}
