.arrow {
    position: absolute;
    bottom: 20vh;
    width: 100vw;
    left: 0;
    z-index: 11;
    text-align: center;
    padding-left: 0px;
}
.banner-div {
    top: 50%;
    left: 0px;
    position: absolute;
    color: #fff;
    z-index: 11;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.page-text {
    text-align: center;
    margin-top: 25px;
}
.page-text h2 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    text-transform: capitalize;
}

a.page-div:hover {
    -webkit-box-shadow: 0 0 40px rgba(0,0,0,.3);
    box-shadow: 0 0 40px rgba(0,0,0,.3);
}

/* ---- アレシア用 追加 ---- */
a.navbar-brand.logo.brand-lockup {
    display: flex;
    align-items: center;
}
a.navbar-brand.logo.brand-lockup img {
    width: 48px;
    height: 48px;
    margin-right: 10px;
}
.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: none;
    color: #fff;
}
/* スクロール後のナビ（fixed-top）は紺〜青のグラデーション背景なので、ハンバーガーの線は白にする（style.css の既定は黒） */
nav.fixed-top .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
}
.footer-item .footer-brand img {
    width: 56px;
    margin: 0 10px 0 0;
}
.footer-brand .brand-name {
    font-size: 20px;
}
.container td a {
    color: inherit;
}
.group-list {
    list-style: none;
    margin: 30px auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 60px;
}
.group-list li {
    flex: 0 1 300px;
    padding: 10px 0;
    text-align: center;
}
.group-list .group-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #8a8a8a;
    margin-bottom: 8px;
}
.group-list .group-addr {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: #8a8a8a;
}
.hyosho-img {
    max-width: 600px;
}

/* フッターの電話番号（リンク）をFAX・住所と同じ文字サイズに揃える */
.footer-details ul li a {
    font-size: inherit;
}

/* フッターの電話・FAX・住所を同じ文字サイズで縮め、住所を1行に収める */
.footer-details ul li {
    font-size: 14px;
    white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .footer-details ul li {
        font-size: 12px;
    }
}

/* メイン画像なし：画像の代わりにテーマ色のグラデーションを敷く */
#Particle-ground {
    background: linear-gradient(-29deg, rgb(61, 41, 88) 0, rgb(35, 103, 136) 100%);
}

/* お問い合わせフォーム */
.contact-form .form-group {
    margin-bottom: 26px;
}
.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #263566;
}
.contact-form .req {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 6px;
    font-size: 11px;
    line-height: 1.6;
    color: #fff;
    background: #b61924;
    border-radius: 3px;
    vertical-align: middle;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 0; /* style.css の「.contact-form input」の下余白(30px)を打ち消す。エラー文を入力欄の直下に付けるため */
    padding: 10px 12px;
    font-size: 16px;
    color: #333;
    background: #eef0f4;
    border: 1px solid #d5d9e2;
    border-radius: 4px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #263566;
}
.contact-form .agree-label {
    display: flex;
    align-items: flex-start; /* ラベルが2行に折り返しても、チェックは1行目に揃える */
    font-weight: 400;
    color: #333;
}
.contact-form .agree-label input[type="checkbox"] {
    flex: 0 0 auto;
    /* style.css の「.contact-form input」（高さ50px・下余白30px。hover/focus でも50px）を打ち消す */
    width: auto;
    height: auto;
    /* 上の余白で、チェック(13px)を文字の1行目（行の高さ 1.65em）の中央に合わせる */
    margin: calc((1.65em - 13px) / 2) 8px 0 0;
}
.contact-form .agree-label a {
    color: #263566;
    text-decoration: underline !important; /* style.css の「* { text-decoration: none !important }」に勝たせる */
}
.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-form .field-error {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5; /* p の既定（28px）だと、文字が入力欄から離れて見える */
    color: #b61924;
}
.contact-form .field-error:empty {
    display: none;
}
.contact-form .form-submit {
    margin-top: 28px;
    text-align: center;
}
.contact-btn {
    min-width: 220px;
    padding: 12px 32px;
    font-size: 16px;
    color: #fff;
    background: #263566;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
.contact-btn:hover {
    background: #2D4164;
}
.contact-btn:disabled {
    opacity: .6;
    cursor: default;
}
.contact-result {
    margin: 20px 0 0;
    text-align: center;
}
.contact-result:empty {
    display: none;
}
.contact-result.is-ok {
    color: #1c6b3a;
}
.contact-result.is-ng {
    color: #b61924;
}

/* プライバシーポリシーのページ */
/* 固定ヘッダー（nav.fixed-top）の高さ分だけ本文を下げる。ヘッダーの高さを変えたらここも合わせること */
.privacy-page {
    padding-top: 84px;
}
.privacy-main {
    padding-top: 40px;
}
.privacy-body h1 {
    margin: 20px 0 24px;
    font-size: 28px;
    color: #263566;
}
.privacy-body h2 {
    margin: 32px 0 10px;
    font-size: 20px;
    color: #263566;
}
.privacy-body p,
.privacy-body li {
    line-height: 1.9;
}
.privacy-body ul {
    padding-left: 1.4em;
}
/* style.css の「* { list-style: none !important }」は li 自身に効くので、ul ではなく li に !important を付ける */
.privacy-body li {
    list-style: disc !important;
}
.privacy-body a {
    color: #263566;
    text-decoration: underline !important;
}
.privacy-back {
    margin-top: 40px;
}

/* お問い合わせ: ステップ表示（入力 → 確認 → 完了）。切り替えは assets/js/contact.js */
.contact-steps {
    display: flex;
    max-width: 420px;
    margin: 0 auto 36px;
    padding: 0;
}
.contact-steps li {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
    color: #5f6675;
}
/* 前の丸とつなぐ線（丸の中心から中心まで） */
.contact-steps li + li::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #cfd4df;
}
.contact-steps .step-num {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #4b5563;
    background: #dde1ea;
    border-radius: 50%;
}
.contact-steps li.is-current {
    font-weight: 700;
    color: #263566;
}
.contact-steps li.is-current .step-num {
    color: #fff;
    background: #263566;
}

/* お問い合わせ: 確認画面 */
.confirm-title {
    margin: 0 0 12px;
    font-size: 22px;
    text-align: center;
    color: #263566;
}
.confirm-lead {
    margin: 0 0 24px;
    text-align: center;
}
.confirm-list {
    margin: 0;
    border-top: 1px solid #d5d9e2;
}
.confirm-row {
    display: flex;
    padding: 14px 4px;
    border-bottom: 1px solid #d5d9e2;
}
.confirm-row dt {
    flex: 0 0 11em;
    padding-right: 16px;
    font-weight: 700;
    color: #263566;
}
.confirm-row dd {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
/* 副ボタン（入力画面に戻る）。枠の1px分、余白を引いて主ボタンと同じ大きさにする */
.contact-btn-sub {
    padding: 11px 31px;
    color: #263566;
    background: #fff;
    border: 1px solid #263566;
}
.contact-btn-sub:hover {
    background: #eef0f4;
}
/* キーボード操作の位置が分かるように（テンプレート側で outline を消しているため） */
.contact-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(38, 53, 102, .35);
}
.confirm-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    margin-top: 28px;
}

/* お問い合わせ: 完了画面 */
.contact-complete {
    padding: 24px 0 8px;
    text-align: center;
}
.contact-complete .fa-check-circle {
    display: block;
    margin-bottom: 12px;
    font-size: 48px;
    color: #263566;
}
/* bootstrap.css の「p { text-align: justify }」に勝たせて、見出しと同じく中央にそろえる */
.contact-complete p {
    text-align: center;
}
/* 「トップに戻る」ボタン（.contact-btn を流用）。中央寄せは .contact-complete の text-align による */
.contact-complete .form-submit {
    margin-top: 28px;
}
.complete-title {
    margin: 0 0 12px;
    font-size: 24px;
    color: #263566;
}
/* 自動返信メールを送った旨の案内。本文より少し小さく（text-align は上の .contact-complete p で中央）。
   hidden で出し分けるので、ここでは display を指定しないこと */
.contact-complete .contact-complete-note {
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 575px) {
    .confirm-row {
        display: block;
    }
    .confirm-row dt {
        margin-bottom: 4px;
        padding-right: 0;
    }
    /* 縦積みでは、主ボタン（送信する）を上にする */
    .confirm-buttons {
        flex-direction: column-reverse;
    }
    .confirm-buttons .contact-btn {
        width: 100%;
        min-width: 0;
    }
}
