header {
    width: 92%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 40px 0 12px;
    height: auto;
    display: block;
}

header img {
    width: 60px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

header .breadcrumb {
    margin-bottom: 40px;
}

header .breadcrumb ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

header .breadcrumb ul li+li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    margin: 0 10px;
}

header .breadcrumb ul li:first-child a {
    color: #000;
    text-decoration: none;
}

header .breadcrumb ul li:first-child a:hover {
    text-decoration: underline;
}

main {
    width: 92%;
    max-width: 1152px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    header,
    main {
        width: 88%;
    }
}

/* お申し込みフォーム */
h1 {
    margin-bottom: 20px;
}

.apply-ttlbox {
    padding: 12px 0px;
    margin-bottom: 20px;
    border-left: 10px solid #E35B5C;
    background-color: #FFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.apply-ttlbox p:first-child {
    padding-left: 40px;
    font-size: 24px;
    font-weight: 600;
}

.apply-ttlbox p:last-child {
    padding-left: 40px;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 400;
}

.form-apply .arrow-info {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-apply .arrow-info p {
    position: relative;
    display: flex;
    align-items: center;
    padding: 7px 14px;
    background-color: #ffe981;
    border-right: none;
    margin: 0;
}

.form-apply .arrow-info p::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 20px solid #ffe981;
}

.form-apply .arrow-info .arrow-box-yellow {
    background-color: #FFD065;
}

.form-apply .arrow-info .arrow-box-yellow::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 20px solid #FFD065;
}

.wrap {
    padding: 50px 5%;
    margin-bottom: 120px;
    border-radius: 20px;
    background-color: #fff;

}

.wrap p {
    margin-bottom: 20px;
}

table th {
    padding: 0 5px;
    margin-bottom: 15px;
    text-align: left;
    border-left: 7px solid #E35B5C;
    font-weight: 600;
}

.required {
    color: #FF0000;
}

.example {
    color: #707070;
}

form table,
form table tr,
form table th,
form table td {
    display: block;
    width: 100%;
}

form table td {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

form table td ul li {
    margin-bottom: 6px;
}

/* 生年月日とtelの調整*/
.input-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.input-group input {
    width: 70px;
}

.input-block .error {
    color: #c1020e;
    display: block;
    margin-top: 4px;
}

.error {
    color: #c1020e;
}

form table tr {
    margin-bottom: 20px;
}

input {
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #707070;
}

.privacy-btn {
    color: #000;
    text-decoration: underline;
}

.privacy-btn:hover {
    text-decoration: none;
}

.btn-box {
    display: flex;
    justify-content: center;
    width: 70%;
    margin: 0 auto;
    gap: 40px;
}

.btn-submit {
    display: block;
    background: #E35B5C;
    min-width: 300px;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.btn-submit:hover {
    background-color: #cc4f52;
}

.btn-submit:active,
.btn-back:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transform: translateY(2px);
}

.btn-back {
    display: block;
    background: #B9B9B9;
    min-width: 300px;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.btn-back:hover {
    background-color: #999;
}

/* ボタンの矢印 */
.btn-back,
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::before,
.btn-submit::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 10px;
    height: 2px;
    background: #fff;
}

.btn-submit::before {
    top: 50%;
    transform: translateY(-3px) rotate(45deg);
}

.btn-submit::after {
    top: 50%;
    transform: translateY(3px) rotate(-45deg);
}

.btn-back::before,
.btn-back::after {
    content: "";
    position: absolute;
    left: 16px;
    width: 10px;
    height: 2px;
    background: #fff;
}

.btn-back::before {
    top: 50%;
    transform: translateY(-3px) rotate(-45deg);
}

.btn-back::after {
    top: 50%;
    transform: translateY(3px) rotate(45deg);
}

.btn-back {
    padding-left: 38px;
}

.btn-submit {
    padding-right: 38px;
}

/* お申し込み完了ページ */

.form-thanks p {
    margin-bottom: 40px;
}

dt {
    border-left: 10px solid #E35B5C;
    padding-left: 10px;
}

dl {
    margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
    .form-apply .arrow-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
        width: 80%;
    }

    input {
        width: 100%;
    }

    /* チェックボックスの調整 */
    form table tr:nth-child(6) td input,
    form table tr:nth-child(7) td input,
    form table tr:nth-child(8) td input {
        width: auto;
    }

    .btn-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        margin: 0 auto;
        gap: 30px;
    }
}

/* フッター */
footer {
    padding: 50px 0;
    background-color: #888;
}

footer .footer-container {
    width: 92%;
    max-width: 1152px;
    margin: 0 auto;
}

footer .footer-company {
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
}

footer .footer-add {
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
}

footer .footer-link {
    margin-bottom: 30px;
}

.footer-link a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    gap: 6px;
}

/* 疑似要素でアイコン表示 */
.footer-link a::after {
    content: "";
    background: url(../images/outlink-icn.png);
    background-size: contain;
    width: 16px;
    height: 16px;
}

footer .footer-link a:hover {
    text-decoration: underline;
}

footer .footer-copy {
    color: #fff;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    footer .footer-container {
        width: 88%;
    }
}

/* topへボタン */
.page-top {
    display: block;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    width: 48px;
}
