﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
@font-face {
    font-family: 'Inter';
    src: url('../lib/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans JP';
    src: url('../lib/fonts/NotoSansJP-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900; /* Variable font weight range */
    font-style: normal;
    font-display: swap; /* Optional: improves performance */
}
body {
    background-color: #f4f6f9;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    /*font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;*/
    /*   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    margin: 0px 0px 70px 0px;
    padding-top: 56px;
}
h2, h3, h4,label {
    color: #40a6e6 !important;
}


/*css.sticky-top {
    z-index: 1030;*/ /* Bootstrap default is 1020 */
/*}*/
/* changes added externally*/
.btn-primary {
    background-color: #40a6e6;
    border-color: #40a6e6;
    border-radius: 10px;
  /*  width: 100%;*/
}

    .btn-primary:hover {
        background-color: #357ABD;
        border-color: #357ABD;
    }


.form-group a {
    color: #40a6e6 !important;
    text-decoration: none !important;
}

    .form-group a:hover {
        color: #357ABD !important;
        text-decoration: underline !important;
        
    }
.custom-link {
    color: #40a6e6 !important;
    text-decoration: none !important;
}

    .custom-link:hover {
        color: #357ABD !important;
        text-decoration: underline !important;
    }


/* Base footer styles */
footer.footer {
    position: fixed !important;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1030;
}

/* For smaller devices, optionally switch to relative position to avoid overlap */
@media (max-width: 767.98px) {
    footer.footer {
        position: relative !important;
    }
}
footer.footer {
    font-size: 1rem;
    line-height: 1.5;
}

/* For smaller screens */
@media (max-width: 575.98px) {
    footer.footer {
        font-size: 0.9rem; /*   Slightly smaller text on mobile */
    }

        /* Optionally, adjust the spacing for Japanese text */
        footer.footer .container .row {
            padding-top: 1rem;
            padding-bottom: 2rem;
        }
}

/* For mid-size screens, if needed */
@media (min-width: 576px) and (max-width: 767.98px) {
    footer.footer {
        font-size: 0.95rem;
    }
        footer.footer .container .row {
            padding-top: 1rem;
            padding-bottom: 2rem;
        }
}
/* container responsive for all screens*/

/* Extra small devices (portrait phones, less than 576px) */
.container {
    max-width: 100%; /* Full width for very small screens */
    padding-left: 15px;
    padding-right: 15px;
}

/* Small devices (landscape phones, ≥576px) */
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 540px; /* You can increase if needed */
    }
}

/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 860px; /* Default is 720px in Bootstrap */
    }
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) {
    .container, .container-lg {
        max-width: 1020px; /* Default is 960px */
    }
}

/* Extra large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) {
    .container, .container-xl {
        max-width: 1200px;
    }
}

/* Extra extra large devices (≥1400px) */
@media (min-width: 1400px) {
    .container, .container-xxl {
        max-width: 1420px;
    }
}

/* form-style.css or inside your site.css */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    background-color: #f8f9fa; /* light fill */
    border: 1px solid #dee2e6; /* dark subtle border */
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.2s ease-in-out;
}

    input:focus,
    select:focus,
    textarea:focus {
        border-color: #0d6efd; /* Optional: match with primary theme color */
        background-color: #fff;
        outline: none;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
        position: absolute;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

