@charset "utf-8";

.wpdl-main {
    margin-top: 100px;
    background: #f5f5f5;
    padding: 68px 80px 92px;
}

.wpdl-content__in {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    gap: 46px;
    align-items: flex-start;
    justify-content: space-between;
}

.wpdl-left {
    flex: 1;
    max-width: 520px;
}

.wpdl-right {
    width: 520px;
    flex: 0 0 520px;
}

.wpdl-left__ttl {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding-left: 18px;
    position: relative;
}

.wpdl-left__ttl::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: #092578;
}

.wpdl-list-box {
    margin-top: 46px;
    margin-bottom: 10px;
    padding-top: 0;
}

.wpdl-list-box__ttl {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 14px;
}

.wpdl-list-box__name {
    margin-top: 14px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
    color: #23479d;
}

.wpdl-list {
    margin-top: 16px;
}

.wpdl-list__item {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.9;
    color: #222;
}

.wpdl-list__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #23479d;
}

.wpdl-img {
    margin: 0;
}

.wpdl-sample-note {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

.wpdl-index-slide {
    display: none;
}


.wpdl-back {
    max-width: 1120px;
    margin: 36px auto 0;
}

.wpdl-back__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    height: 50px;
    background: #013ca4;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: opacity 0.2s ease;
}

.wpdl-back__link:hover {
    opacity: 0.8;
}

.wpdl-form-card {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.08);
    padding: 30px 32px 32px;
}

.wpdl-form-card__lead {
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    color: #222;
}

.wpdl-form-wrap {
    margin-top: 20px;
}

.wpdl-form-wrap .wpcf7 {
    width: 100%;
}

.wpdl-form-wrap .wpcf7 form {
    margin: 0;
}

.wpdl-form-wrap .wpdl-form-row {
    margin-top: 16px;
}

.wpdl-form-wrap .wpdl-form-row:first-child {
    margin-top: 0;
}

.wpdl-form-wrap .wpdl-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #505050;
}

.wpdl-form-wrap dt span.required {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 18px;
    padding: 0 4px;
    border-radius: 2px;
    background: #e90404;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    margin-right: 8px;
}

.wpdl-form-wrap input[type="text"],
.wpdl-form-wrap input[type="email"],
.wpdl-form-wrap input[type="tel"],
.wpdl-form-wrap select {
    width: 100%;
    height: 48px;
    margin-top: 4px;
    margin-bottom: 8px;
    border: 1px solid #cecece;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 16px;
    color: #222;
    background-color: #fff;
}

.wpdl-form-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.wpdl-form-wrap .wpdl-form-privacy {
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    color: #505050;
}

.wpdl-form-wrap .wpdl-form-privacy a {
    text-decoration: underline;
}

.wpdl-form-wrap .wpdl-form-submit {
    margin-top: 12px;
}

.wpdl-form-wrap .form-btn input {
    width: 100%;
    height: 64px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: linear-gradient(180deg, #fde701 0%, #f1c800 100%);
    color: #222;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.wpdl-form-wrap .form-btn input:hover {
    opacity: 0.85;
}

.wpdl-form-wrap .wpcf7-spinner,
.wpdl-form-wrap .wpcf7-not-valid-tip {
    display: none !important;
}

.wpdl-form-wrap .wpcf7-response-output {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
    border-width: 1px;
    padding: 8px 10px;
}

.wpdl-form-fallback {
    font-size: 14px;
    line-height: 1.8;
    color: #c00;
    background: #fff8f8;
    border: 1px solid #ffc7c7;
    border-radius: 4px;
    padding: 12px;
}

.wpdl-form-privacy label {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpdl-form-privacy input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    cursor: pointer;
}

.slide-item {
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.slide-item:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.slide-item::after {
    content: "";
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    z-index: 10;
    background-image: url("../../img/icon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ------------------------------
    拡大表示（モーダル）のスタイル
    ------------------------------ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* モーダル表示時のクラス */
.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.modal-content img {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* 閉じるボタン */
.close-btn {
    position: absolute;
    top: -35px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

#mail_form .error_check {
    display: none;
    line-height: 1;
    font-size: 14px;
    color: #f44336;
    margin-top: 5px;
    font-weight: bold;
}

#mail_form .error_blank {
    display: block;
    line-height: 1;
    font-size: 14px;
    color: #f44336;
    margin-bottom: 5px;
    font-weight: bold;
}


@media screen and (max-width: 1199px) {
    .wpdl-main {
        /* margin-top: 90px; */
        padding: 68px 200px 92px;
    }

    .wpdl-content__in {
        display: block;
    }

    .wpdl-left {
        max-width: none;
    }

    .wpdl-right {
        width: 100%;
        max-width: 560px;
        margin: 34px auto 0;
    }

    .wpdl-form-card {
        width: 100%;
        margin: 0;
    }

    .wpdl-back {
        margin-top: 30px;
    }

    .wpdl-img {
        display: none;
    }

    .wpdl-index-slide {
        display: block;
    }

    .wpdl-slider {
      width: 100%;
      padding: 10px 0 0;
    }

    .slider {
      display: flex;
      gap: 15px;
      padding: 0;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    /* スクロールバーを非表示にする（お好みで） */
    .slider::-webkit-scrollbar {
      display: none;
    }
    .slider {
      scrollbar-width: none;
    }

    .slide-item {
      flex: 0 0 200px;
      scroll-snap-align: center;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      cursor: pointer;
    }

    .slide-item img {
      width: 250px;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    #mail_form .error_check {
        font-size: 13px;
    }

    .wpdl-list-box img {
        display: none;
    }
}

@media screen and (max-width: 1079px) {
    #wrapper {
        min-width: 0;
    }

    .wpdl-main {
        margin-top: 75px;
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1079px) {
    #header .header__in,
    #header.scroll .header__in {
        width: 100%;
        min-width: 0;
    }

    #header .h-logo,
    #header .h-menuwrap {
        flex-wrap: nowrap;
    }

    #header .h-logo-link {
        width: 170px;
        flex: 0 0 170px;
    }

    #header .h-logo-corp {
        width: 95px;
        flex-basis: 95px;
    }

    #footer .f-in {
        width: 100%;
        padding-right: 40px;
        padding-left: 40px;
    }

    #footer .f-logo-wrap,
    #footer .f-list-wrap {
        width: 100%;
    }

    #footer .f-list-wrap {
        justify-content: flex-start;
        margin-top: 24px;
    }

    .breadcrumb .breadcrumb__list {
        width: 100%;
        max-width: 100%;
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media screen and (max-width: 767px) {
    .wpdl-main {
        /* margin-top: 90px; */
        padding: 42px 12px 60px;
    }

    .wpdl-left__ttl {
        font-size: 20px;
        padding-left: 13px;
    }

    .wpdl-left__ttl::before {
        top: 50%;
        transform: translateY(-50%);
        height: 22px;
    }

    .wpdl-list-box {
        margin-top: 28px;
        padding-top: 0;
    }

    .wpdl-list-box__ttl {
        font-size: 17px;
        padding-bottom: 10px;
    }

    .wpdl-sample-note {
        font-size: 13px;
        line-height: 1.6;
    }

    .wpdl-list-box__name {
        margin-top: 12px;
        font-size: 16px;
    }

    .wpdl-list__item {
        font-size: 14px;
        line-height: 1.8;
    }

    .wpdl-back {
        margin-top: 24px;
        text-align: center;
    }

    .wpdl-back__link {
        width: 170px;
        height: 44px;
        font-size: 14px;
    }

    .wpdl-form-card {
        margin-top: 30px;
        padding: 18px 14px 20px;
        border-radius: 6px;
    }

    .wpdl-form-card__lead {
        font-size: 13px;
        line-height: 1.7;
        text-align: left;
    }

    .wpdl-form-wrap .wpdl-form-row {
        margin-top: 12px;
    }

    .wpdl-form-wrap .wpdl-form-label {
        font-size: 13px;
    }

    .wpdl-form-wrap input[type="text"],
    .wpdl-form-wrap input[type="email"],
    .wpdl-form-wrap input[type="tel"],
    .wpdl-form-wrap select {
        height: 44px;
        font-size: 14px;
        padding: 0 12px;
    }

    .wpdl-form-wrap .wpdl-form-privacy {
        font-size: 11px;
    }

    .wpdl-form-wrap .form-btn input {
        height: 52px;
        font-size: 15px;
    }
}

/* @media (max-width: 440px) {
    .wpdl-main {
        margin-top: 70px;
    }
} */
