@charset "UTF-8";

/*メインビジュアル*/
.s_mv {
    width: 100%;
    height: 300px;
    background: url(../image/top/top_mv_2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    /* スマホなどで幅が狭まった時、アスペクト比を維持して縮小させる */
    /* 例：PCで横1200px / 縦300px なら 「4 / 1」 */
    aspect-ratio: 4 / 1;
}

.s_mv_inner {
    color: #fff;
    position: absolute;
    top: 32%;
    right: 5%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.s_mv_title {
    display: block;
    font-size: clamp(1.5rem, 0.786rem + 3.57vw, 4rem);
    font-family: var(--font3);
    font-weight: 500;
    text-align: right;
}

.breadcrumb ul {
    display: flex;
    color: #555;
    font-size: 0.8125rem;
    font-weight: 400;
    padding: 4px 30px;
}

.breadcrumb li {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

.breadcrumb li+li::before {
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
    transform: rotate(-45deg);
    margin-right: 10px;
}

.dl {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 10px 200px;
}

.dl_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.dl_text {
    font-size: 1.0625rem;
    line-height: 1.8;
    text-align: center;
    max-width: 530px;
    padding: 0 10px;
}

.btn_contact_a {
    position: relative;
    display: inline-block;
    padding: 10px 45px 10px 20px;
    background-color: #40BFDE;
    color: #fff;
    border: #40BFDE 2px solid;
    border-radius: 4px;
    /* ボタン全体にもtransitionをかけておく */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn_contact_a:hover {
    background-color: #fff;
    color: #40BFDE;
    border: #40BFDE 2px solid;
    border-radius: 24px;
}

.btn_contact_a::after {
    content: '〉';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) translateX(0);
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease-out;
}

/* translateXで右にスライドさせる */
.btn_contact_a:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* 背景の暗い部分 */
.modal-overlay {
    display: none;
    /* 最初は隠す */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    /* 背景のサイトをぼかしておしゃれに */
}

/* 入力エリアの箱 */
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #40BFDE;
}

/* 入力欄とアイコンを包む親 */
.password-container {
    position: relative;
    width: 100%;
    margin: 15px 0;
    border: #dfdfdf 1px solid;
    border-radius: 4px;
}

.modal-content input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    /* 右側にアイコン分の余白を作る */
    margin: 0;
    /* 親要素で制御するため0に */
    box-sizing: border-box;
}

/* 目のアイコンのスタイル */
#toggle-password {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    user-select: none;
    /* テキスト選択を防ぐ */
    font-size: 20px;
}

/* 表示された時に追加するクラス */
.modal-overlay.is-active {
    display: flex;
}

/* パスワード入力画面ここまで */

/* ボタンのデザイン調整 */
#js-submit-pass {
    background: #40BFDE;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

#js-submit-pass:hover {
    background: #40BFDE;
    opacity: 0.8;
}

#js-close-modal {
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 25px;
    border-radius: 4px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}


@media (max-width: 768px) {
    .s_mv {
        height: auto;
    }
}