@charset "UTF-8";

html {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 62.5%;
    font-weight: 400;
    letter-spacing: 0.05em;
    background-color: #f2f2f2;
}

body {
    max-width: 480px;
    min-height: 100vh;
    margin: auto;
    background-color: #fff;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

img,
video {
    width: 100%;
    vertical-align: bottom;
    height: auto;
}


a {
    display: inline-block;
    text-decoration: none;

}

li {
    list-style: none;
}

.header {
    max-width: 480px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px 20px;
    height: 70px;
    background: #E66B1B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    background-image: url(../img/header_bg.png);
    background-size: cover;
}

.header__link {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
}

.main {
    max-width: 480px;
    margin: auto;
    padding: 105px 0px 73px;
}

.top {
    margin-bottom: 40px;
    padding: 0px 20px;
}

.top__title {
    font-size: 1.8rem;
    line-height: 1.8em;
    font-weight: 500;
    color: #E66B1B;
}

.top__detail {
    font-size: 1.4rem;
    line-height: 1.4em;
    font-weight: 500;
}

.main-content {
    border-radius: 12px;
    max-width: calc(100% - 40px);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px 11px 17px;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);
    background-image: url(../img/point_bg.png);
    background-size: cover;
    background-position: center;

}

.main-topic {
    font-size: 1.5rem;
    margin-bottom: 1em;
    display: block;
}

.main-time {
    font-family: sofia-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    align-items: flex-end;
    margin-bottom: 1.8rem;
}

.main-time__small {
    font-size: 2rem;
}

.main-time__date {
    font-size: 5rem;
    line-height: 1em;
    font-weight: bold;
}

.main-time__date small{
    font-size: 2.5rem;
    line-height: 1em;
    margin-left: 5px;
}

.main-time__hour {
    font-size: 1.8rem;
    line-height: 1em;
    margin-left: 11px;
    color: #5BAED4;
}

.main-place {
    font-size: 1.4rem;
    line-height: 1em;
}

.main-content__line {
    width: 1px;
    height: 78px;
    background: #000;
}

.main-content__id {
    font-size: 1rem;
    line-height: 1em;
    margin-top: 2px;
    color: #5BAED4;
    display: block;
}

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

.main-content__qr {
    width: 82px;
}

.main-box__list {
    margin-top: 60px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-box__item {
    width: 50%;
    position: relative;
    border-top: 0.5px solid #BCBCBC;
}

.main-box__item--under {
    border-bottom: 0.5px solid #BCBCBC;
}

.main-box__item--right {
    border-left: 0.5px solid #BCBCBC;

}

.main-box__link {
    width: 100%;
    padding: 35px 0 20px;
    text-align: center;
}

.main-box__link:hover {
    opacity: 0.75;
}

.main-box__icon {
    width: 47.43px;
    margin-bottom: 7px;
}

.main-box__title {
    width: 100%;
    display: block;
    font-size: 1.5rem;
    color: #000;
}

.main-more {
    margin-top: 40px;
    text-align: center;
}

.main-more__button {
    padding: 16px 0;
    border-radius: 100px;
    width: 323px;
    max-width: 100%;
    display: inline-block;
    color: #fff;
    font-size: 1.6rem;
    background: linear-gradient(30deg, #E66B1B, #F1AB21);
}

.main-more__button:disabled {
    background: #ccc;
}

.main-more__button:hover {
    opacity: 0.75;
}

.form {
    padding: 0px 20px;
}

.form__input {
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    height: 43px;
    width: 100%;
    border: 1px solid #767676;
    padding-left: 1em;
}

.form__input--sm {
    width: calc(50% - 4px);
}

.form__textarea {
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    width: 100%;
    height: 10em;
    border: 1px solid #767676;
    padding: 1em;
}

.form__content {
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form__label {
    width: 100%;
    display: block;
    font-size: 1.5rem;
    margin-bottom: 12px;

}

.form-more {
    margin-top: 64px;
    text-align: center;
}

.select__wrap {
    width: 100%;
    position: relative;
}

.select__wrap::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #000 transparent transparent transparent;
    position: absolute;
    bottom: 50%;
    right: 15px;
    transform: translateY(50%);
}

.form__input--select {
    cursor: pointer;
}

.form__note {
    padding-left: 0.5em;
    font-size: 1.1rem;
}

.form__content--center {
    justify-content: center;
    align-items: center;

}

.form__left,
.form__right {
    font-size: 1.5rem;
}

.form__input--center {
    margin: 0 38px;
    width: 122px;
}

.check {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.check__wrap {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 8px;
}

.check__input {
    margin-right: 5px;
}

.check__label {
    font-size: 1.4rem;
    cursor: pointer;
}

.header-hum {
    display: block;
}


.header-hum__wrap {
    position: relative;
    display: block;
    width: 30px;
    height: 17px;
    cursor: pointer;
}

.header-hum__wrap {
    position: relative;
}

.header-hum__wrap.open {
    height: 23px;
}

.sp-header-nav {
    position: fixed;
    width: 100%;
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    padding: 0px 5%;
    background: #E66B1B;
    z-index: 2;
    height: 0vh;
    overflow: hidden;
    transition: 0.3s;
    transition-property: height, padding;
}

.sp-header-nav.open {
    height: 220px;
    padding: 20px 5%;
    overflow: scroll;

}

.header-nav__link {
    padding: 17px 0;
    width: 100%;
    font-size: 1.6rem;
    color: #fff;
}

.header-hum__line {
    display: block;
    margin: auto;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    position: absolute;
}

.header-hum__line--top {
    top: 0;
    left: 0;
    transform: translateY(0%);

}

.header-hum__line--top.open {
    top: 0;
    left: 0;
    transform: translateY(0%) rotate(-45deg);
    transform-origin: right;
}

.header-hum__line--center {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-hum__line--under {
    bottom: 0;
    left: 0;
    transform: translateY(0%);
}

.header-hum__line--center.open {
    opacity: 0;

}

.header-hum__line--under.open {
    bottom: 0;
    left: 0;
    transform: translateY(0%) rotate(45deg);
    transform-origin: right;
}

.search {
    padding: 0px 20px;
}

.search__link {
    display: block;
    padding: 38px 0;
    text-align: center;
    width: 100%;
    font-size: 1.6rem;
    color: #000;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);
}

.search__link--first {
    margin-bottom: 25px;
}

.clinic {
    padding: 0px 20px;
}

.clinic__content {
    padding: 12.5px 14px;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);
    border-radius: 5px;
    margin-bottom: 20px;
}

.clinic__content:last-of-type {
    margin: 0;
}

.clinic__name {
    font-size: 1.6rem;
    margin-bottom: 5.5px;
    font-weight: 500;
}

.clinic__map {
    font-size: 1rem;
    color: #000;
    margin-bottom: 17px;
    padding-right: 60px;
    position: relative;
}

.clinic__map::before {
    content: "アクセス";
    font-size: 10px;
    display: inline-block;
    padding: 0px 7px;
    color: #fff;
    background: #333333;
    position: absolute;
    right: 0;
    top: 50%;
    font-weight: 500;
    transform: translateY(-50%);
}

/* .clinic__map{
    padding-right:0;
    line-height: 2.5em;
}
.clinic__map span {
    content: "MAP";
    font-size: 10px;
    display: inline-block;
    padding: 0px 7px;
    color: #fff;
    background: #333333;
    font-weight: 500;
    margin-left: 10px;
    height: 15px;
    line-height: 15px;
}  */

.clinic__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clinic__img {
    width: 110px;
}

.clinic__button {
    width: 100%;
}

.clinic__reservation {
    padding: 15px 0;
    width: 100%;
    color: #fff;
    background: linear-gradient(30deg, #5BAED4, #7AD2FA);
    border-radius: 3px;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 9px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.19);
}

.clinic__detail {
    font-size: 1.2rem;
    padding: 7px 0;
    width: 100%;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.19);
    text-align: center;
    color: #000;
    border-radius: 3px;
}

.date {
    width: 100%;
    margin-bottom: 30px;
}

.date__input {
    width: 100%;
    height: 43px;
    border: 1px solid #767676;
    padding: 0.5em 1em;
    font-size: 1.3rem;
}

.date-form {
    padding: 0px 20px;
}

.time_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.date-form__time {
    width: calc(50% - 6.5px);
    padding: 10px 0;
    font-size: 2rem;
    font-family: sofia-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);
    margin-bottom: 13px;
    border-radius: 5px;
    background: #fff;
}

.date-form__time:disabled {
    background: #D5D5D5;
}

.back {
    margin-top: 15px;
    text-align: center;
}

.back__link {
    padding: 7px 0;
    font-size: .8rem;
    width: 175px;
    color: #000;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);

    border-radius: 3px;
}

.clinic__check {
    margin-top: 35px;
}

.clinic__time {
    margin-bottom: 13px;
}

.clinic__date {
    font-size: 2.8rem;
    margin-left: 11px;
    display: inline-block;
    margin-top: 5px;
}

.clinic__hour {
    font-size: 1.8rem;
    margin-left: 11px;
    color: #E66B1B;
}

.msg_box {
    background-color: #f1f1f1;
    padding: 10px;
    margin: 20px;
}

.action_btn {
    display: block;
    position: absolute;
    right: 0;
    background-color: #5baed4;
    color: white;
    bottom: 0;
    padding: 8px 20px;
    border-radius: 0 0 12px 0;
    font-size: 115%;
}

.btn_box {
    width: 50%;
    width: calc(50% - 2px);
    display: inline-block;
    padding: 0 5px;
}

.cancel_confirm_btn {
    display: inline-block;
    width: 100%;
    font-size: 15px;
    color: white;
    background-color: black;
    text-align: center;
    padding: 20px 0;
    border-radius: 5px;
    box-shadow: 2px 2px 10px 0px #b9b9b9;
}

.pw_forget {
    margin-top: 10px;
}

.pw_forget a {
    color: #444;
    font-size: 13px;
}



@media screen and (min-width:480px) {

    .sp-header-nav {
        padding: 0 24px;
    }

    .sp-header-nav.open {
        padding: 20px 24px;
    }
}

/* モーダルのスタイル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

.modal__bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal__content {
    width: 90%;
    max-width: 400px;
    padding: 30px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal__button {
    display: flex;
    justify-content: space-between;
}

.modal__button--left,
.modal__button--right {
    width: 48%;
    padding: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal__button--left {
    background-color: #fff;
}

.modal__button--right {
    background-color: #f00;
    color: #fff;
}

.modal__button--right:hover {
    background-color: #c00;
}

.modal__button--left:hover {
    background-color: #eee;
}

.modal__button--right:active {
    background-color: #a00;
}

.modal__button--left:active {
    background-color: #ddd;
}

.modal__button--right:disabled {
    background-color: #ccc;
    color: #fff;
}

.modal__button--left:disabled {
    background-color: #fff;
    color: #ccc;
}

/* 注文履歴のスタイル */
.history__list {
    padding: 0 20px;
}

.history__card {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
    /* カードの枠線を追加 */
    border: 1px solid #b9b9b9;
}

.history__ttl {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.history__line {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin-bottom: 10px;
}

.history__date {
    font-size: 14px;
    margin-bottom: 10px;
}

.history__link {
    display: flex;
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #E66B1B;
    border: 2px solid #E66B1B;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.lottery_results{
    margin-top: 30px;
    padding: 0px 20px;
}

.results_wrap{
    padding: 15px;
    box-shadow: 2px 3px 14px rgba(65, 65, 65, 0.19);
    margin-bottom: 20px;
}

.results_wrap-detail{
    display: flex;
    justify-content: space-between;
    margin-top: 11px;
    margin-bottom: 2px;
    align-items: center;
}

.results_btn-miss{
    background: gray;
    width: 150px;
    display: inline-block;
    text-align: center;
    color: white;
    font-size: 16.5px;
    border-radius: 20px;
    line-height: 40px;
}

.results_btn-hit{
    background: linear-gradient(45deg, #e66b1b, #ee965c);
    width: 150px;
    display: inline-block;
    text-align: center;
    color: white;
    font-size: 17px;
    border-radius: 20px;
    line-height: 40px;
    font-weight: bold;
}

.results_wrap-left{
    font-size: 21px;
}

.results_wrap-date{
    font-size: 13px;
}

#login{
    background-image: url(../img/login_bg.png);
    background-size: cover;
    background-position: center;
}

.login_wrap{
    padding: 0 20px;
    padding-top: 180px;
}

.login_wrap img{
    width: 80%;
    margin: 0 auto;
    display: block;
}

.login_btn{
    background: #5e9e42;
    text-decoration: none;
    color: white;
    display: block;
    text-align: center;
    line-height: 50px;
    font-size: 1.7rem;
    width: 95%;
    margin: 0 auto;
    margin-top: 50px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0px 3px 2px #457331;
}

.login_title{
    font-size: 18px;
    text-align: center;
    margin-top: 3px;
}

.register__form{
    padding: 0 20px;
}

.register__title{
    font-size: 20px;
    margin-top: 40px;
}

.register__input{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    margin-top: 5px;
}

.register__attention{
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 20px;
}

.register__form label{
    font-size: 15px;
}

.register__form label span{
    background-color: #d45243;
    color: white;
    line-height: 30px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
}

.terms__wrap{
    padding: 0 20px;
    padding-top:100px;
    padding-bottom: 50px;
    font-size: 13px;
    line-height: 20px;
}

.section-5__block--title {
    font-size: 16px;
    color: black;
    line-height: 2;
    font-weight: bold;
    margin-top: 10px;
}

.section-5__title{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 30px;
}