﻿
html, body {
}

body {
    font-family: 'Inter', /* Modern Latin typeface (for A–Z, numbers, UI text) */
    "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: 400;
    line-height: 1.75;
    color: #212529;
    background-color: #fff;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}
a {
    color: #0366d6;
}

    a.disabled {
        pointer-events: none;
        text-decoration: none;
        cursor: not-allowed;
    }


select {
    border: solid 1px #273130;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.hide {
    display: none;
}

.pc-pl-4 {
    padding-left: 32px;
}

.maxw-20px {
    max-width: 20px;
}

.maxw-50px {
    max-width: 50px;
}

.maxw-100px {
    max-width: 100px;
}

.maxw-200px {
    max-width: 200px;
}

.maxw-300px {
    max-width: 300px;
}

.maxw-400px {
    max-width: 400px;
}

.maxw-500px {
    max-width: 500px;
}

.maxh-20px {
    max-height: 20px;
}

.maxh-50px {
    max-height: 50px;
}

.maxh-100px {
    max-height: 100px;
}

.maxh-200px {
    max-height: 200px;
}

.maxh-300px {
    max-height: 300px;
}

.maxh-400px {
    max-height: 400px;
}

.maxh-500px {
    max-height: 500px;
}

.mt--5 {
    margin-top: -5px;
}

.mt--10 {
    margin-top: -10px;
}


@media (max-width: 768px) {
    .pc-pl-4 {
        padding-left: 0 !important;
    }
}

.btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.country-code-select {
    height: 100%;
    padding: 0.375rem 0.5rem 0.375rem 0.3rem;
    font-size: 0.8rem;
    background-position: right 0.2rem center;
    background-size: 12px 9px;
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}


main {
    flex: 1;
    height: 100%;
    padding-bottom: 120px;
    background: white;
}

.container-main {
    /* margin-top: 67px;*/
    position: relative;
    background: white;
    height: 100%;
}

/*
    Logo
*/
.logo {
    font-family: 'Montserrat Subrayada', sans-serif;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.plex {
    font-family: 'IBM Plex Mono', monospace;
}

/*
    Font
*/
.font-xxl {
    font-weight: 300;
    font-size: 2.5em;
}

.font-xl {
    font-weight: 300;
    font-size: 1.5em;
}

.font-lg {
    font-weight: 300;
    font-size: 1.2em;
}

.font-md {
    font-weight: 300;
    font-size: 1.0em;
}

.font-sm {
    font-weight: 300;
    font-size: 0.75em;
}

.font-xs {
    font-weight: 300;
    font-size: 0.6em;
}

.fs-0 {
    font-size: 0rem;
}

.fs-7 {
    font-size: 0.8rem;
}

.fs-8 {
    font-size: 0.6rem;
}

.text-color-1 {
    color: #78908d;
}

.text-color-2 {
    color: #29aba0;
}

.no-decoration {
    text-decoration: none;
}
/*
    Form
*/
.form-select {
    border-radius: 4px;
    border: solid 1px #273130;
}

.form-control {
    border-radius: 4px;
    border: solid 1px #273130;
}


.form-switch.form-switch-sm .form-check-input {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}


.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}


.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.form-switch.form-switch-xl .form-check-input {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}

/*
    Buttons
*/
.btn-pagination {
    width: 45px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.btn-gray {
    min-height: 40px;
    border-radius: 4px;
    background-color: #273130 !important;
    border-color: #273130 !important;
    opacity: 0.5;
    color: white !important;
}

    .btn-gray:hover,
    .btn-gray:active,
    .btn-gray:visited,
    .btn-gray:focus {
        opacity: 0.25;
    }

.btn-black {
    min-height: 40px;
    border-radius: 4px;
    background-color: #273130 !important;
    border-color: #273130 !important;
    color: white !important;
}

    .btn-black:hover,
    .btn-black:active,
    .btn-black:visited,
    .btn-black:focus {
        opacity: 0.5;
    }

.btn-green {
    min-height: 40px;
    border-radius: 4px;
    background-color: #069c8f !important;
    border-color: #069c8f !important;
    color: white !important;
}

    .btn-green:hover,
    .btn-green:active,
    .btn-green:visited,
    .btn-green:focus {
        opacity: 0.5;
    }

.btn-darkgreen {
    min-height: 40px;
    border-radius: 4px;
    background-color: #56837b !important;
    border-color: #56837b !important;
    color: white !important;
}

    .btn-darkgreen:hover,
    .btn-darkgreen:active,
    .btn-darkgreen:visited,
    .btn-darkgreen:focus {
        opacity: 0.5;
    }

.btn-orange {
    min-height: 40px;
    border-radius: 4px;
    background-color: #df7932 !important;
    border-color: #df7932 !important;
    color: white !important;
}

    .btn-orange:hover,
    .btn-orange:active,
    .btn-orange:visited,
    .btn-orange:focus {
        opacity: 0.5;
    }

.btn-white-inquiry {
    margin: 0px 29px 0 4px;
    padding: 5px 10px 5px 10px;
    border-radius: 6px;
    background-color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 1em !important;
    font-weight: bold;
}

    .btn-white-inquiry:hover,
    .btn-white-inquiry:active,
    .btn-white-inquiry:visited,
    .btn-white-inquiry:focus {
        opacity: 0.5;
    }

.btn-white-outline {
    min-height: 40px;
    border-radius: 4px;
    background-color: white !important;
    border-color: #273130 !important;
    color: black !important;
}

    .btn-white-outline:hover,
    .btn-white-outline:active,
    .btn-white-outline:visited,
    .btn-white-outline:focus {
        opacity: 0.5;
    }

.btn-white-outline2 {
    min-height: 40px;
    border-radius: 4px;
    background-color: white !important;
    border: solid 2px #273130 !important;
    color: black !important;
}

    .btn-white-outline2:hover,
    .btn-white-outline2:active,
    .btn-white-outline2:visited,
    .btn-white-outline2:focus {
        opacity: 0.5;
    }




.btn-white-outline-black-bold {
    min-height: 40px;
    border-radius: 4px;
    background-color: white !important;
    border-color: #000000 !important;
    color: black !important;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    border-width: 2px;
}

    .btn-white-outline-black-bold:hover,
    .btn-white-outline-black-bold:active,
    .btn-white-outline-black-bold:visited,
    .btn-white-outline-black-bold:focus {
        opacity: 0.5;
    }

.btn-link-white {
    color: white !important;
    text-decoration: none !important;
    padding: 0;
    border: none;
}

    .btn-link-white:hover,
    .btn-link-white:active,
    .btn-link-white:visited,
    .btn-link-white:focus {
        opacity: 0.5;
    }

.btn-link-black {
    color: black !important;
    text-decoration: none !important;
    padding: 0;
    border: none;
}

    .btn-link-black:hover,
    .btn-link-black:active,
    .btn-link-black:visited,
    .btn-link-black:focus {
        opacity: 0.5;
    }

.btn-link-green {
    color: #047e72 !important;
    text-decoration: none !important;
    padding: 0;
    border: none;
}

    .btn-link-green:hover,
    .btn-link-green:active,
    .btn-link-green:visited,
    .btn-link-green:focus {
        opacity: 0.5;
    }

.btn-disabled-gray {
    color: #999;
    min-height: 40px;
    border-radius: 4px;
    border: solid 1px #999;
    background-color: #ccc;
}

.link-sm-privacy {
    color: inherit;
    font-weight: 900 !important;
    text-decoration: none;
}

.link-language {
    color: white !important;
    /*    font-weight:bolder !important;*/
}

.radio-check-black input {
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.1em;
}

.radio-check-black label {
    margin-top: 0.1em;
    margin-left: 0.3em;
}

.radio-check-black input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%23000'/%3e%3c/svg%3e");
}

.radio-check-black input:checked {
    background-color: #ffffff;
    border-color: #000000;
}
/**

on / off
*/
.form-switch .form-check-input:checked:before {
    content: 'ON';
    color: white;
    text-align: left;
    padding-left: 8px;
    display: block;
}

.form-switch .form-check-input:before {
    content: 'OFF';
    color: white;
    text-align: right;
    padding-right: 7px;
    display: block;
    padding-top: 7px;
    font-size: 11px;
}

.form-switch .form-check-input {
    background-color: #91a4a1;
    border-color: #91a4a1;
}

    .form-switch .form-check-input,
    .form-switch .form-check-input:focus,
    .form-switch .form-check-input:checked,
    .form-switch .form-check-input:checked:focus {
        --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    }

        .form-switch .form-check-input:checked {
            background-color: #069c8f;
            border-color: #069c8f;
        }

        .form-switch .form-check-input:focus {
            border: var(--bs-border-width) solid var(--bs-border-color);
            box-shadow: none !important;
            /* border-color: #86b7fe; */
            /* outline: 0; */
            /* box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25); */
        }

/* loading-spinner */

.loading-spinner {
    display: flex; /* centers the spinner horizontally (together with justify-content) */
    justify-content: center;
    align-items: center; /* centers the spinner vertically if its container has a fixed height */
    width: 50px; /* sets spinner container width */
    height: 50px; /* sets spinner container height */
    margin: 0 auto; /* center within a parent container if needed */
    position: relative;
}

    .loading-spinner::after {
        content: "";
        width: 40px;
        height: 40px;
        border: 4px solid #ccc; /* lighter portion of the ring */
        border-top: 4px solid #000; /* darker portion to show rotation */
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Keyframes to make the ring rotate 360 degrees repeatedly */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*
    Nav
*/
.navbar {
    position: relative;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.nav .nav-link {
    min-width: 60px;
}

.nav-icon-text {
    font-size: 0.6em;
    padding: 5px 0 0 0;
    /*   font-weight: bold;*/
}

@media (min-width: 769px) {
    .nav {
        padding: 5px 0 5px 0;
    }

        .nav .nav-link {
            min-width: 70px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .nav-icon-text {
        /*     font-weight: bold;*/
        font-size: 1em;
        /*      letter-spacing: 0.2em;*/
        padding: 0 15px 0 6px;
        padding-top: 3px;
    }
}

.breadcrumb_img {
    background-image: url('/images/lv-1-ico-arrow-right-20.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
}
/*    Border       */
.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}


.errorMsg {
    font-size: .75em;
    color: #ff0000;
}

/* Sticky footer styles
-------------------------------------------------- */


.bg-primary-rr {
    background-color: #4BA5A5
}

.news-date {
    padding: 3px 3px 3px 3px;
    margin: 5px 5px 5px 0px;
    background-color: #C9D8B6;
    color: #000;
}

.news-tag {
    padding: 3px 3px 3px 3px;
    margin: 5px 5px 5px 0px;
    background-color: #57837B;
    color: #ffffff;
}

.bg-c1 {
    background-color: #06C755;
}

.bg-c2 {
    background-color: #4CC764;
}

.bg-c3 {
    background-color: #57837B;
}

.bg-c4 {
    background-color: #515E63;
}

.bg-c5 {
    background-color: #8F8571;
}

.bg-c6 {
    background-color: #C2A15F;
}

.bg-c7 {
    background-color: #F59D5F;
}

.bg-c8 {
    background-color: #C2A15F;
}

.bg-c9 {
    background-color: #048e83;
}

.bg-c10 {
    background-color: #e1f3f2;
}

.bg-sp {
    width: 35px;
    margin: 5px 3px 5px 3px;
}

.bg-bold {
    font-weight: 600 !important;
}

.menu-nav {
    min-width: 105px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.barcode {
    font-family: 'Libre Barcode 128 Text', cursive;
    font-size: 1.5em;
}


@media screen and (min-width: 600px) {
    .br-sp {
        display: none;
    }

    .bg-sp {
        width: 55px;
        margin: 5px 5px 5px 5px;
    }

    .mobile-break {
        display: none;
    }

    .font-xl {
        font-weight: 300;
        font-size: 2em;
    }

    .font-lg {
        font-weight: 300;
        font-size: 1.4em;
    }

    .font-md {
        font-weight: 300;
        font-size: 1.1em;
    }

    .font-sm {
        font-weight: 300;
        font-size: 0.8em;
    }

    .font-xs {
        font-weight: 300;
        font-size: 0.6em;
    }
}

/* LP */
.link-section {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Desktop styles (default) */
.link-area {
    position: absolute;
    top: 0;
    bottom: 0;
}

.link-a {
    left: 0;
    right: 50%;
}

.link-b {
    left: 50%;
    right: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .link-a {
        top: 0;
        bottom: 50%;
        left: 0;
        right: 0;
    }

    .link-b {
        top: 50%;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem; /* Adjust based on your design */
    box-sizing: border-box; /* Ensure padding is included in height calculation */
    overflow-y: auto; /* Scroll within the section if needed */
}

.section-1 {
    background: #fff;
    background-image: url('/images/ntop/rr-d-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    height: 100vh;
}

@media (max-width: 768px) {
    .section-1 {
        background-image: url('/images/ntop/rr-m-1.png');
        background-size: contain;
        background-position: center;
    }
}

.section-2 {
    background: #ececec;
    background-image: url('/images/ntop/rr-d-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    height: 100vh;
}

@media (max-width: 768px) {
    .section-2 {
        background-image: url('/images/ntop/rr-m-2.png');
        background-size: contain;
        background-position: center;
    }
}


.section-3 {
    background: #c3ffca;
    background-image: url('/images/ntop/rr-d-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    height: 100vh;
}

@media (max-width: 768px) {
    .section-3 {
        background-image: url('/images/ntop/rr-m-3.png');
        background-size: contain;
        background-position: center;
    }
}

.section-4 {
    background: #e9ecef; /* Slightly darker Gray */
}


/* form styles
-------------------------------------------------- */
.check_box_black {
    width: 24px;
    height: 24px;
    margin: 0 8px 0 0;
    border-color: #273130;
}

    .check_box_black:checked {
        background-color: #273130;
        border-color: #273130;
    }

    .check_box_black:focus, .label::after, label.form-check-label:focus, .form-check-input::after, .form-check-input:not(:disabled):not(.disabled):active:focus {
        color: black;
        outline: 0;
        border: 0;
        box-shadow: 0 0 0 0.1rem #273130 !important;
    }



/* business page styles
-------------------------------------------------- */
.biz_card {
    border-radius: 8px;
    border: solid 2px #273130;
}

.badge_admin {
    padding: 8px 12px;
    border: solid 1px #384645;
    background-color: #384645;
    color: white;
}

.badge_staff {
    padding: 8px 12px 8px 12px;
    /* border-radius: 8px;*/
    border: solid 2px #384645;
    background-color: white;
    color: black;
}

.badge_admin_sm {
    padding: 3px 4px;
    border: solid 1px #384645;
    background-color: #384645;
    color: white;
}

.badge_staff_sm {
    padding: 3px 4px;
    border: solid 1px #384645;
    background-color: white;
    color: black;
}

.badge_required_sm {
    padding: 1px 1px;
    border: solid 1px #b8263a;
    background-color: #b8263a;
    color: white;
    margin-left: 4px;
}

.badge_allocated_terminal {
    background: #46C0B6;
    position: absolute;
    bottom: 15px;
    left: 0;
    color: white;
    padding: 2px 8px 2px 6px;
}
