@charset "utf-8";

html {
    scroll-behavior: auto;
}

/* ========================================
   THANKS
======================================== */

.thanks {
    width: min(calc(100% - 40px), 900px);
    margin: 70px auto 2rem;
    padding: 50px 60px;

    color: #10294b;
    background: #ffffff;

    border: 1px solid #e3e3e3;
    box-shadow: 0 3px 10px rgba(16, 41, 75, 0.08);

    text-align: center;
}


/* ========================================
   THANKS TITLE
======================================== */

.thanks h2 {
    position: relative;
    display: inline-block;

    margin: 0 0 26px;
    padding-bottom: 12px;

    color: #10294b;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.thanks h2::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 90px;
    height: 0;

    border-bottom: 2px dashed #ffca05;

    transform: translateX(-50%);
}


/* ========================================
   THANKS TEXT
======================================== */

.thanks > p {
    margin: 0 0 18px;

    color: #10294b;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.9;
}


/* ========================================
   THANKS PHONE
======================================== */

.thanks-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin-top: 18px;
    padding: 0;
    border: 0;
}

.thanks-phone img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.thanks-phone a {
    margin: 0;
    padding: 0;

    color: #10294b;
    background: transparent;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    text-decoration: none;
}


/* ========================================
   SP
======================================== */

@media screen and (max-width: 767px) {

    .thanks-phone {
        gap: 6px;
        margin-top: 16px;
    }

    .thanks-phone img {
        width: 16px;
        height: 16px;
    }

    .thanks-phone a {
        font-size: 16px;
    }
}
/* ========================================
   SP
======================================== */

@media screen and (max-width: 767px) {

    .thanks {
        width: calc(100% - 30px);

        margin: 45px auto 60px;
        padding: 35px 20px;
    }

    .thanks h2 {
        margin-bottom: 22px;

        font-size: 18px;
    }

    .thanks > p {
        margin-bottom: 15px;

        font-size: 14px;
        line-height: 1.8;
    }

    .thanks-phone a {
        font-size: 18px;
    }

    .thanks-btn {
        margin-top: 25px;
    }

}

/* ==================================================
   CONTACT
================================================== */

.contact {
    position: relative;
    width: 100%;
    padding: 70px 20px 90px;
    background: #fff0b8;
    color: #10294b;
}


/* ==================================================
   CONTACT HEADING
================================================== */

.contact__heading {
    position: relative;
    width: min(100%, 1100px);
    margin: 0 auto 35px;
    text-align: center;
}

.contact__heading::before,
.contact__heading::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 37%;
    height: 1px;
    background: #10294b;
}

.contact__heading::before {
    left: 0;
}

.contact__heading::after {
    right: 0;
}

.contact__heading h2 {
    margin: 0;
    color: #10294b;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.contact__heading p {
    margin: 6px 0 0;
    color: #10294b;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}


/* ==================================================
   CONTACT GUIDE
================================================== */

.contact-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;

    width: min(100%, 860px);
    margin: 0 auto 28px;
    padding: 25px 35px;

    background: #ffffff;
    border-radius: 5px;
}

.contact-guide__content {
    min-width: 0;
}

.contact-guide__lead {
    margin: 0 0 5px;
    color: #10294b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-guide__title {
    margin: 0;
    color: #10294b;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.45;
}

.contact-guide__title span {
    color: #fe511d;
}

.contact-guide__text {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #fe901d;
    color: #10294b;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.7;
}

.contact-guide__images {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-top: 28px;
}

.contact-guide__images::before {
    content: "こちらの写真をご用意ください";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 7px;
    border-bottom: 1px solid #10294b;
    color: #10294b;
    font-size: 10px;
    text-align: center;
}

.contact-guide__image {
    text-align: center;
}

.contact-guide__image p {
    margin: 0 0 7px;
    padding: 4px 8px;
    color: #10294b;
    background: #ffca05;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-guide__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ==================================================
   CONTACT FORM WRAP
================================================== */

.contact-wrap {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 42px 65px 48px;

    background: #ffffff;
    border: 1px solid #ffca05;
    border-radius: 6px;
}


/* ==================================================
   FORM LEAD
================================================== */

.contact-wrap > .contact > p,
.contact-wrap > p,
.contact-form__lead {
    width: min(100%, 520px);
    margin: 0 auto 32px;
    color: #10294b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}


/* ==================================================
   FORM
================================================== */

.contact form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact form .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
}


/* ==================================================
   FORM ROW
================================================== */

.contact form .row {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    align-items: start;
    gap: 25px;

    width: 100%;
    margin: 0;
    padding: 10px 0;

    border: 0;
}

.contact form .row:first-child {
    margin: 0;
    border: 0;
}


/* ==================================================
   LABEL
================================================== */

.formTh {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    max-width: none;
    height: auto;

    padding: 11px 0;
}

.formTh label {
    margin: 0;
    color: #10294b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.formTd {
    width: 100%;
    max-width: none;
    padding: 0;
}


/* ==================================================
   REQUIRED
================================================== */

.requiredText {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    min-width: 28px;
    min-height: 17px;

    margin: 0;
    padding: 2px 5px;

    color: #ffffff;
    background: #fe511d;
    border-radius: 2px;

    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}


/* ==================================================
   INPUT
================================================== */

.contact input,
.contact textarea,
.contact select {
    width: 100%;
    min-height: 42px;

    padding: 10px 13px;

    color: #10294b;
    background: #ffffff;

    border: 1px solid #b9b9b9;
    border-radius: 0;

    box-shadow: none;
    outline: none;

    font-size: 12px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: #a7a7a7;
}

.contact input:focus,
.contact textarea:focus,
.contact select:focus {
    border-color: #fe901d;
    box-shadow: 0 0 0 2px rgba(254, 144, 29, .08);
}

.contact textarea {
    min-height: 105px;
    resize: vertical;
}

.contact select {
    cursor: pointer;
    appearance: auto;
}


/* ==================================================
   FILE
================================================== */

.contact input[type="file"] {
    padding: 0;
    min-height: 42px;
    background: #ffffff;
    border: 1px solid #b9b9b9;
    font-size: 11px;
}

.contact input[type="file"]::file-selector-button {
    height: 40px;
    margin-right: 12px;
    padding: 0 20px;

    color: #777777;
    background: #f5f5f5;

    border: 0;
    border-right: 1px solid #d7d7d7;

    font-size: 11px;
    cursor: pointer;
}

.formTd > p {
    margin: 8px 0 0;
    color: #777777;
    font-size: 10px;
    line-height: 1.6;
}


/* ==================================================
   FILE GROUP
================================================== */

.uploadArea {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uploadArea__row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.uploadArea__row-label {
    margin: 0;
    color: #10294b;
    font-size: 11px;
    font-weight: 500;
}


/* ==================================================
   SELECT
================================================== */

.selectArea {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.selectArea .d-md-inline-block {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.selectArea .formSelect {
    width: auto;
    min-width: 85px;
}

.selectArea #year1 {
    min-width: 110px;
}

.selectArea #month1,
.selectArea #day1,
.selectArea #hour1,
.selectArea #minute1 {
    min-width: 75px;
}

.selectArea .labelText02 {
    margin: 0;
    color: #10294b;
    font-size: 11px;
    white-space: nowrap;
}


/* ==================================================
   RADIO
================================================== */

.radioArea {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 5px;
}

.radioArea .d-inline-block {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.contact input[type="radio"] {
    position: relative;
    flex-shrink: 0;

    width: 16px;
    height: 16px;
    min-height: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;
    border: 1px solid #a8a8a8;
    border-radius: 50%;

    appearance: none;
    cursor: pointer;
}

.contact input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 8px;
    height: 8px;

    background: #fe901d;
    border-radius: 50%;

    opacity: 0;

    transform: translate(-50%, -50%) scale(.5);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.contact input[type="radio"]:checked {
    border-color: #fe901d;
}

.contact input[type="radio"]:checked::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.radioArea label {
    margin: 0;
    color: #10294b;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}


/* ==================================================
   PRIVACY
================================================== */

.privacyBox {
    width: 100%;
    height: 150px;

    margin: 0;
    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid #b9b9b9;

    overflow-x: hidden;
    overflow-y: auto;
}

.privacyBox p {
    margin: 0;
    color: #10294b;
    font-size: 10px;
    line-height: 1.8;
  text-align: left;
}

.privacyBox a {
    color: #fe901d;
    word-break: break-all;
}


/* ==================================================
   POLICY
================================================== */

form .policy {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;

    margin-top: 12px;
}

form .policy input {
    flex-shrink: 0;

    width: 16px;
    height: 16px;
    min-height: 0;

    margin: 2px 0 0;
    padding: 0;

    accent-color: #fe901d;
    appearance: auto;
}

form .policy label {
    margin: 0;
    color: #10294b;
    font-size: 10px;
    line-height: 1.6;
    cursor: pointer;
}


/* ==================================================
   SUBMIT
================================================== */

.formBtnTd {
    grid-column: 1 / -1;

    width: 100%;
    margin: 28px auto 0;
    padding: 0;

    background: transparent !important;
    border: 0 !important;

    text-align: center;
}

.formBtnTd button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 240px;
    min-height: 58px;

    margin: 0 auto;
    padding: 14px 35px;

    color: #ffffff;
    background: #fe901d;

    border: 1px solid #fe901d;
    border-radius: 3px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    cursor: pointer;

    transition:
        color .3s ease,
        background-color .3s ease,
        opacity .3s ease;
}

.formBtnTd button::before,
.formBtnTd button::after {
    content: none;
}

.formBtnTd button:hover {
    color: #fe901d;
    background: #ffffff;
}

/* ==================================================
   1024px
================================================== */

@media screen and (max-width: 1024px) {

    .contact {
        padding: 60px 20px 75px;
    }

    .contact-guide,
    .contact-wrap {
        width: min(100%, 800px);
    }

    .contact-wrap {
        padding: 40px 45px;
    }

    .contact form .row {
        grid-template-columns: 165px minmax(0, 1fr);
        gap: 20px;
    }
}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 767px) {

    .contact {
        padding: 45px 15px 60px;
    }


    /* Heading */

    .contact__heading {
        margin-bottom: 28px;
    }

    .contact__heading::before,
    .contact__heading::after {
        top: 16px;
        width: 25%;
    }

    .contact__heading h2 {
        font-size: 30px;
    }

    .contact__heading p {
        font-size: 10px;
    }


    /* Guide */

    .contact-guide {
        grid-template-columns: 1fr;
        gap: 25px;

        width: 100%;
        margin-bottom: 20px;

        padding: 25px 20px;
    }

    .contact-guide__lead {
        font-size: 14px;
    }

    .contact-guide__title {
        font-size: 22px;
    }

    .contact-guide__text {
        font-size: 10px;
    }


    /* Form */

    .contact-wrap {
        width: 100%;
        padding: 30px 20px 35px;
        border-radius: 5px;
    }

    .contact-wrap > .contact > p,
    .contact-wrap > p,
    .contact-form__lead {
        margin-bottom: 25px;
        font-size: 14px;
    }

    .contact form .row {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 8px;

        margin: 0;
        padding: 13px 0;
    }

    .formTh {
        justify-content: flex-start;
        padding: 0;
    }

    .formTh label {
        font-size: 14px;
    }

    .requiredText {
        min-width: 27px;
        min-height: 17px;
        font-size: 10px;
    }

    .contact input,
    .contact textarea,
    .contact select {
        min-height: 46px;
        padding: 11px 12px;
        font-size: 14px;
    }

    .contact textarea {
        min-height: 120px;
    }


    /* Upload */

    .uploadArea__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .uploadArea__row p {
        font-size: 12px;
    }


    /* Select */

    .selectArea {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .selectArea .d-md-inline-block {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .selectArea .formSelect,
    .selectArea #year1,
    .selectArea #month1,
    .selectArea #day1,
    .selectArea #hour1,
    .selectArea #minute1 {
        width: 100%;
        min-width: 0;
    }


    /* Privacy */

    .privacyBox {
        height: 150px;
        padding: 14px;
    }

    .privacyBox p {
        font-size: 10px;
    }

    form .policy label {
        font-size: 10px;
    }


    /* Submit */

    .formBtnTd {
        margin-top: 22px;
    }

    .formBtnTd button {
        width: min(100%, 240px);
        min-height: 54px;
        font-size: 14px;
    }
}


/* ==================================================
   480px
================================================== */

@media screen and (max-width: 480px) {

    .contact {
        padding-inline: 10px;
    }

    .contact-guide,
    .contact-wrap {
        width: 100%;
    }

    .contact-guide {
        padding-inline: 15px;
    }

    .contact-wrap {
        padding-inline: 15px;
    }

    .contact-guide__images {
        gap: 10px;
    }

    .selectArea {
        grid-template-columns: 1fr;
    }

    .radioArea {
        gap: 10px;
    }

    .formBtnTd button {
        width: 100%;
    }
}



.formError {
	margin-top: -40px !important;
}

/* Z-INDEX */

.formError {
	z-index: 990;
}

.formError .formErrorContent {
	z-index: 991;
}

.formError .formErrorArrow {

	z-index: 996;
}

.ui-dialog .formError {
	z-index: 5000;
}

.ui-dialog .formError .formErrorContent {

	z-index: 5001;
}

.ui-dialog .formError .formErrorArrow {
	z-index: 5006;
}

.inputContainer {
	position: relative;
	float: left;
}

.formError {
	position: absolute;

	top: 300px;
	left: 300px;
	display: block;
	cursor: pointer;
	text-align: left;
}

.formError.inline {
	position: relative;
	top: 0;
	left: 0;
	display: inline-block;
}

.ajaxSubmit {
	padding: 20px;
	background: #55ea55;
	border: 1px solid #999;
	display: none;
}

.formError .formErrorContent {
	width: 100%;
	background: #ee0101;
	position:relative;
	color: #fff;
	min-width: 120px;
	font-size: 11px;
	border: 2px solid #ddd;
	box-shadow: 0 0 6px #000;
	-moz-box-shadow: 0 0 6px #000;
	-webkit-box-shadow: 0 0 6px #000;
	-o-box-shadow: 0 0 6px #000;
	padding: 4px 10px 4px 10px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-o-border-radius: 6px;
}

.formError.inline .formErrorContent {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
}

.greenPopup .formErrorContent {
	background: #33be40;
}

.blackPopup .formErrorContent {
	background: #393939;
	color: #FFF;
}

.formError .formErrorArrow {
	width: 15px;
	margin: -2px 0 0 13px;
	position:relative;
}

body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
	margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	margin: 0px 0 0 12px;
	top:2px;
}

.formError .formErrorArrow div {
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	box-shadow: 0 2px 3px #444;
	-moz-box-shadow: 0 2px 3px #444;
	-webkit-box-shadow: 0 2px 3px #444;
	-o-box-shadow: 0 2px 3px #444;
	font-size: 0px;
	height: 1px;
	background: #ee0101;
	margin: 0 auto;
	line-height: 0;
	font-size: 0;
	display: block;
}

.formError .formErrorArrowBottom div {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
	background: #33be40;
}

.blackPopup .formErrorArrow div {
	background: #393939;
	color: #FFF;
}


.formError .formErrorArrow .line10 {
	width: 13px;
	border: none;
}

.formError .formErrorArrow .line9 {
	width: 11px;
	border: none;
}

.formError .formErrorArrow .line8 {
	width: 11px;
}

.formError .formErrorArrow .line7 {
	width: 9px;
}

.formError .formErrorArrow .line6 {
	width: 7px;
}

.formError .formErrorArrow .line5 {
	width: 5px;
}

.formError .formErrorArrow .line4 {
	width: 3px;
}

.formError .formErrorArrow .line3 {
	width: 1px;
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
	width: 3px;
	border: none;
	background: #ddd;
}

.formError .formErrorArrow .line1 {
	width: 1px;
	border: none;
	background: #ddd;
}