@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');


:root{
    --main-color: #fb8926;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    color: black;
    font-size: 16px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    font-family: 'Open Sans', helvetica, arial, sans-serif;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.42857;
    background-color: white;
}

@media (min-width: 800px) {
    body, .footer {
        border: 1px solid #cccccc;
        max-width: 800px;
        margin: auto;
    }
}

a {
    text-decoration: none;
}

input {
    display: none;
}

label {
    display: inline-block;
    max-width: 100%;
    width: 100%;
    margin-bottom: 5px;
}

button {
    width: 155px;
}

section {
    height: 70px;
}

th {
    text-align: left;
}

.width-l {
    width: 48%;
}

.width-m {
    width: 31%;
}

.js-hiden {
    display: none;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.875rem;
    line-height: 1.42857;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* reCAPTCHAを非表示*/
.grecaptcha-badge { visibility: hidden; }

/* ====================================================== */
/* --------------------- login画面 ---------------------- */
/* ====================================================== */

.login-menu {
    padding: 100px 0;
    width: 62%;
    margin: auto;
    list-style: none;
}

.login-menu form + p {
    text-align: center;
}

.login-menu__wrapper {
    padding: 100px 0;
    margin-bottom: 10px;
    border: 2px solid var(--main-color);
}

.login-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.treeview.login-tree {
    text-align: center;
    margin-bottom: 30px;
}

.treeview.login-tree:last-child {
    margin-bottom: 0;
}

.input-span {
    font-size: 1.25rem;
    font-weight: bold;
    margin-right: 10px;
}

.input-birth {
    margin-right: 15px;
    margin-left: 30px;
}

.input-birth + .date-edit {
    width: 52%;
}

.input-birth + .date-edit::before {
    right: -37px;
    width: 20%;
}

.link-btn {
    width: 200px;
    text-align: center;
    font-size: 1.375rem;
    color: #fff;
    font-weight: bold;
    background-color: var(--main-color);
    border-radius: 5px;
    padding: 10px 0;
    transform: translateX(70%);
}

.sp-only {
    display: none;
}


/* ====================================================== */
/* -------------------- 問診入力画面 --------------------- */
/* ====================================================== */

/*--------------------- content -----------------------*/
.ans100 {
    overflow-y: auto;
    height: calc(100% - 60px);
}

.ans100.ans100-login {
    height: auto;
}

.top-text {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    background-color: #fff6f1;
}

.top-text_font {
    font-size: 1.375rem;
    font-weight: bold;
    margin-top: 0;
}

.top-text_font p {
    margin: 0 0 10px;
}

.top-text_font small {
    color: var(--main-color);
    font-size: 100%;
}

/* 基本情報 */
.group-list__error-mess {
    display: flex;
    justify-content: center;
    column-gap: 40px;
    background-color: #fff1f1;
    border: 2px solid #ff0000;
    margin: 20px 40px;
    padding: 30px 0;
}

.caution-img {
    width: 8%;
    height: 8%;
}

.caution-img img {
    width: 100%;
    height: 100%;
}

.error-text {
    font-size: 20px;
    font-weight: bold;
}

.group-list__header {
    padding: 10px 20px;
}

.group-list__header-text {
    border-left: 6px solid var(--main-color);
    padding-left: 10px;
    font-weight: bold;
    font-size: 1.375rem;
}

.group-list__sidebar {
    border-top: 1px solid #ebf2eb;
    background: #FEFEFE !important;
    width: 100%;
    height: 100%;
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0px;
}

.sidebar {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-menu {
    padding-left: 5px;
}

.treeview {
    margin-bottom: 20px;
}

.treeview-menu {
    list-style: none;
    padding-left: 20px;
}

.treeview-menu__item {
    padding: 5px 10px 0;
}

.treeview-menu__heading {
    font-size: 1.375rem;
    margin-bottom: 5px;
}

.sub-ans {
    padding-left: 5px;
}

.required {
    font-size: 1.125rem;
    color: #fff;
    background-color: red;
    padding: 3px;
    margin-right: 5px;
    border-radius: 5px;
}

.treeview-menu__btn-container {
    width: 100%;
}

.inquiry-btn {
    min-height: 50px;
    max-width: 100%;
    border-radius: 3px;
    background-color: #fff;
    border: 1px solid #000;
    margin-right: 1%;
    margin-bottom: 5px;
    outline: none;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle; /* ボタンを垂直方向の中央に揃える */
}

.inquiry-btn label {
    margin-bottom: 0;
    font-size: 1.125rem;
    white-space: normal; /* テキストを折り返す */
    vertical-align: middle; /* ボタンを垂直方向の中央に揃える */
}

.inquiry-btn:has(>input[type="checkbox"]:checked),
.inquiry-btn:has(>input[type="radio"]:checked) {
    background-color: var(--main-color);
}

.form-control {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 5px;
    border: 1px solid #000;
    height: auto;
    line-height: 1.5;
    padding: 6px 12px;
    width: 92.5%;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

input[type="number"] {
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
}

input[type="number"] + span {
    font-size: 1.375rem;
    font-weight: bold;
    margin-left: 10px;
}

.date-edit {
    position: relative;
    width: 17%;
}

.js-hiden p {
    font-size: 1.375rem;
    margin: 15px 0 5px;
}

.date-edit::before {
    background:  url(../images/calendar.png) no-repeat center center;
    content: "";
    position: absolute;
    top: 0;
    right: -75px;
    height: 100%;
    width: 100%;
  }

  .input[type="date"] {
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: -5%;
    bottom: 8%;
    background: transparent;
    color: transparent;
    cursor: pointer;
    height: 40px;
    width: 280px;
}

.inquiry-btn_small {
    width: 130px;
}

.otherBaby-container {
    margin-top: 50px;
}

.otherBaby-container__body {
    display: none;
}

.otherBaby-container__body.js-show {
    display: block;
}

.otherBaby-container__openText,
.open-text {
    position: relative;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background: var(--main-color);
    border-radius: 5px;
    padding: 10px 5px;
    cursor: pointer;
}

.otherBaby-container__openText::before,
.open-text::before {
    position: absolute;
    content: '';
    top: 20%;
    right: 9px;
    width: 27px;
    height: 27px;
    border: 1px solid #fff;
    border-radius: 50px;
}

.otherBaby-container__openText::after,
.open-text::after {
    position: absolute;
    content: '';
    top: 25%;
    right: 15px;
    width: 15px;
    height: 15px;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    transform: rotate(45deg);
}

.open-text {
    font-size: 1rem;
    width: 45%;
    margin: 30px 0 15px;
}

.otherBaby__desc {
    display: none;
}

.otherBaby__desc.js-show {
    display: block;
}

.caution-message {
    font-size: 1.125rem;
    font-weight: bold;
    color: red;
}

/*--------------------- footer -----------------------*/
.footer-child {
    padding: 20px;
    background-color: #fff6f1;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.navbar {
    margin-bottom: 0px;
    border: none;
    bottom: 0px;
    min-height: auto;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-fixed-bottom {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    margin-bottom: 0;
    z-index: 1030;
}

@media (min-width: 768px) {
    .navbar {
        border-radius: 4px;
    }
}

#slider-1.slideFrame {
    position: relative;
}

.footer {
    background-color: #bab9b7;
    color: #333333;
    height: 70px;
}

.slideFrame {
    overflow: hidden;
}

.footer-btn {
    text-align: center;
}

.footer button {
    width: 210px;
    padding: 10px 5px 10px 5px;
    margin-top: 6px;
    border-radius: 5px;
    background-color: var(--main-color);
}

.basic-btn {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    border: 1px solid #9a9998;
}

@media only screen and (min-width: 768px) {
    .basic-btn {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.basic-btn a {
    color: #fff;
    display: inline-block;
    width: 100%;
    height: 100%;
}

/*--------------------- modal -----------------------*/
.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.fade.in {
    opacity: 1;
}

.modal-dialog {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: transparent;
    height: 100%;
    width: 470px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 500px;
        margin: 30px auto;
    }
    textarea {
        font-size: 16px; /* スマホでのフォーカス時の拡大を防ぐ */
    }
    input[type="date"] {
        font-size: 16px; /* スマホ画面の場合に16px以上に設定 */
    }
}
@media (max-width: 480px) {
    .modal-dialog {
        width: 90%;
    }
    textarea {
        font-size: 16px; /* スマホでのフォーカス時の拡大を防ぐ */
    }
    input[type="date"] {
        font-size: 16px; /* スマホ画面の場合に16px以上に設定 */
    }
}
.modal-dialog .modal-content {
    box-shadow: none;
    border: none;
    position: relative;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -150%);
    -webkit-transform: translate(-50%, -150%);
    transform: translate(-50%, -150%);
    box-sizing: border-box;
    background-color: white;
}

.fadeDownTriger {
    opacity: 0;
}

.fadeDown {
    animation: fadeDownAnimation .5s forwards ease-out;
    opacity: 0;
}

@keyframes fadeDownAnimation {
    from {
        opacity: 0;
        transform: translate(-50%, -150%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -70%);
    }
}

.modal-body {
    position: relative;
    padding: 15px;
}

.from-wrapper-popup i {
    position: absolute;
    right: 50px;
    top: 29px;
    font-size: 2.5rem;
}

.text-center {
    text-align: center;
}

input[type="search"] {
    height: 63px;
    font-size: 2em;
    border-color: #cccccc;
    border-radius: 5px;
    background-color: #eeeeee;
}

.offset {
    margin-bottom: 4px;
    font-size: 16pt;
}

.cus-btn-calc {
    width: 75px;
    height: 66px;
}

.btn-offset {
    padding-left: 20px;
    padding-right: 20px;
}

.btn-default {
    color: #333333;
    background-color: white;
    border-color: #cccccc;
}

.btn-default:hover {
    background-color: #eeeeee;
}

.btn-default.delete-btn {
    width:155px;
}

.btn-default.cancell-btn {
    width: 214px;
}

.fa.btn-default {
    background-color: transparent;
    border-color: transparent;
    cursor: pointer;
}

/* ====================================================== */
/* --------------------- 確認画面 ----------------------- */
/* ====================================================== */

.con100 {
    height: calc(100% - 70px);
}

.con100 .content-decription {
    font-size: 1.25rem;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

.con100 .tableSection {
    height: calc(100% - 50px);
    overflow-y: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.con100 .table-bordered {
    border: 1px solid #fb8926;
    border-collapse: initial;
}

.con100 .table-bordered th {
    font-size: 1.25rem;
    color: #fb8926;
    background-color: #fff5f0;
}

.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857;
    vertical-align: top;
}

.con100 .table-bordered > thead > tr > th,
.con100 .table-bordered > thead > tr > td,
.con100 .table-bordered > tbody > tr > th,
.con100 .table-bordered > tbody > tr > td,
.con100 .table-bordered > tfoot > tr > th,
.con100 .table-bordered > tfoot > tr > td {
    border: 1px solid #fff5f0;
}

.con100 .table-bordered .width-question {
    width: 60%;
}

.con100 .table-bordered .width-answer {
    border-right: none;
    width: 35%;
}

.con100 .table-bordered .answer-value {
    font-weight: bold;
}

.con100 .table-bordered .width-edit-icon {
    border-left: none;
    cursor: pointer;
}

.con100 .table-bordered .edit-button {
    border-radius: 5px;
    border: 1px solid #9a9998;
    background-color: white;
    width: 15%;
    min-width: 60px;
}


/* ====================================================== */
/* --------------------- 完了画面 ----------------------- */
/* ====================================================== */

.complete-menu {
    padding: 150px 0 250px;
    width: 62%;
    margin: auto;
    list-style: none;
}

.complete-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.complete-message {
    font-size: 1.125rem;
    width: 90%;
    margin-left: 25px;
    margin-bottom: 60px;
}

.to-topBtn {
    width: 350px;
    margin: 0 auto;
}

.to-topBtn a {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1.375rem;
    color: #000;
    padding: 20px 0;
    border: 2px solid #cccccc;
}

.number-box {
    border: solid 2px #fb8926;
    margin-bottom: 60px;
}
.number-box .box-title {
    font-size: 1.2em;
    background: #fb8926;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.number-box p {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.75em;
    text-align: center;
}


/* =========================================================== */
/* -------------------- メディアクエリ ------------------------ */
/* =========================================================== */

@media (max-width: 768px) {
    html, body {
        font-size: 13px;
    }
    textarea {
        font-size: 16px; /* スマホでのフォーカス時の拡大を防ぐ */
    }

    /* ---------------- ログイン画面 --------------- */
    .login-menu {
        width: 95%;
    }

    .input-span {
        margin: 0;
    }

    .input-birth + .date-edit {
        max-width: 200px;
        width: 62%;
        display: block;
        margin: 0 auto;
    }

    .btn-wrap {
        text-align: center;
    }

    .link-btn {
        transform: translateX(0);
    }

    .sp-only {
        display: block;
    }

    /* ---------------- 問診入力画面 --------------- */
    .group-list__error-mess {
        display: block;
        margin: 20px;
        padding: 20px 0;
    }

    .caution-img {
        width: 25%;
        height: 25%;
        margin: 0 auto;
    }

    .error-text {
        font-size: 16px;
        text-align: center;
        padding: 15px 10px;
    }

    .top-text_html {
        font-size: 1.25rem;
        padding: 0 5px 0;
    }

    .top-text_font {
        font-size: 1.7rem;
    }

    .group-list__header {
        padding-left: 30px;
    }

    .treeview-menu__item,
    .group-list__sidebar {
        padding-left: 0;
    }

    .date-edit {
        width: 30%;
    }

    .date-edit::before {
        width: 25%;
        right: -30px;
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
        width: 230px;
    }

    .width-m,
    .inquiry-btn_small {
        width: 48%;
    }

    /* ---------------- 問診確認画面 --------------- */
    .con100 .content-decription {
        font-size: 1.375rem;
        height: auto;
        line-height: 1.5;
    }

    .footer button {
        width: 180px;
    }

    /* ---------------- 受付完了画面 --------------- */
    .complete-message {
        width: 100%;
        margin-left: 0;
        letter-spacing: 0.05em;
    }

    .to-topBtn {
        width: 180px;
    }

    /* ---------------- モーダル(電卓)画面 --------------- */
    .modal-dialog {
        width: auto;
        padding: 0 10px 0;
    }

    .from-wrapper-popup i {
        right: 40px;
        top: 25px;
        font-size: 2.1rem;
    }

    input[type="search"] {
        height: 45px;
    }

    .btn-offset {
        padding: 0;
    }

    .offset {
        font-size: 14pt;
    }

    .cus-btn-calc {
        width: 60px;
        height: 45px;
    }

    .btn-default.delete-btn {
        width:125px;
    }

    .btn-default.cancell-btn {
        width: 125px;
    }

    @keyframes fadeDownAnimation {
        from {
            opacity: 0;
            transform: translate(-50%, -150%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, -40%);
        }
    }

}
