html,
body {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
    color: #3a2213;
    font-size: 12px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    max-width: 720px;
    /*min-width: 100%;*/
}

img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

form,
div {
    overflow: hidden;
    line-height: 1.4;
    background: #ede1cb;
}

ul.flow {
    display: table;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 40px;
    width: 100%;
    border-bottom: 1px solid white;
}

ul.flow li {
    text-align: center;
    display: table-cell;
    position: relative;
    background: #504944;
    padding: 1em 0.5em 1em 2em;
    color: #3a2213;
    width: 33%;
    white-space: nowrap;
}

ul.flow li:last-child {
    background: #f1eadc;
    color: white;
    /*padding-right: 1em;*/
}

.flow li:nth-child(1):before,
.flow li:nth-child(2):before,
.flow li:nth-child(1):after,
.flow li:nth-child(2):after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
}

.flow li:nth-child(1):before,
.flow li:nth-child(2):before {
    top: 0;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 20px 0 20px 1em;
    z-index: 10;
}

.flow li:nth-child(1):after,
.flow li:nth-child(2):after {
    top: 0;
    right: -.8em;
    border-style: solid;
    border-color: transparent transparent transparent #504944;
    border-width: 20px 0 20px 1em;
    z-index: 10;
}

.flow li:last-child:before,
.flow li:last-child:after {
    display: none;
}

.flow li.is-current {
    background: #e59d37;
    font-weight: bold;
}

.flow li.is-current:after {
    border-color: transparent transparent transparent #e59d37;
}

.flow li.is-second {
    background: #ece0ca;
    color: white;
}

.flow li.is-second:after {
    border-color: transparent transparent transparent #ece0ca;
}

form {
    width: 100%;
    margin: 0 auto;
}

form .content {
    width: 90%;
    margin: 0 auto;
}

label {
    display: block;
}

input[type=text],
input[type=number],
input[type=tel],
input[type=email],
textarea {
    width: 98%;
    height: 1.68em;
    background: white;
    padding: 4px 0 0 2px;
    font-size: 1.68em;
    border: 1px solid #666;
    border-radius: 5px;
}

.stripe-input {
    width: 98%;
    height: 1.8em;
    background: white;
    padding: 10px 0 6px 2px;
    font-size: 1em;
    border: 1px solid #666;
    border-radius: 5px;
}

#stripe-err {
    color: red;
}

textarea {
    height: 3em;
}

.is-check {
    /*font-weight: bold;*/
    margin: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    /*width: 100%;*/
    height: 17px !important;
    padding: 4px 0 0 2px;
    font-size: 1.2em;
}

.is-check_wrap {
    display: inline;
    /*width: 100%;*/
    /*background: #f7f0e6;*/
    /*padding-left: 10px;*/
}

.hidden_h2 {
    margin-top: -2px;
    background: white;
    text-align: left;
    padding-left: 10px;
}

textarea {
    font-size: 1em;
}

select {
    -webkit-appearance: listitem;
    -moz-appearance: none;
    appearance: none;
    background: white;
    border-radius: 5px;
    color: #3a2213;
    font-size: 1.2em;
    padding: .8em;
}

h2 {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    width: 100%;
    margin: 5px auto;
    padding: 5px;
    text-align: center;
}

.content img {
    width: 20px;
    height: 20px;
}

input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    display: inline-block;
    border-radius: 50%;
    background: white;
    width: 20px;
    height: 20px;
}

input[type=radio]:checked {
    background: #3a2213;
    border: 4px solid white;
}

hr {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0.5px solid #3a2213;
}

.pay {
    list-style: none;
    padding: 0;
}

input[type=submit],
input[type=button],
#form_submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #3a2213;
    border: none;
    color: white;
    font-size: 2em;
    text-align: center;
    display: block;
    width: 95%;
    height: 60px;
    margin: 1.6em auto 0;
    border-radius: 5px;
}

footer {
    background: #ede1cb;
    padding-top: 20px;
}

footer .content {
    text-align: center;
    width: 95%;
    margin: 0 auto;
}

#none {
    width: 90%;
    height: 140px;
    font-size: 10px;
    margin: 0 auto;
    display: block;
    scroll-behavior: auto;
}

#panel {
    margin-top: 15px;
}

#panel dt {
    width: 90%;
    height: 20px;
    border-radius: 5px;
    background: #3a2213;
    color: white;
    text-align: left;
    padding: 5px 1em;
    margin: 2px auto;
}

#panel dd {
    text-align: left;
    width: 80%;
    margin: 0 auto;
    padding: 0;
}

.footer_menu {
    text-align: center;
    text-decoration: none;
    margin-top: 15px;
}

.footer_menu a {
    text-decoration: none;
    color: #3a2213;
}

small {
    margin-top: 15px;
    height: 20px;
    background: #ede1cb;
    display: block;
    text-align: center;
}

.new_order_main {
    background: white;
    padding-bottom: 2em;
    height: 270px;
    overflow: scroll;
}

.new_order_block {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    background: white;
}

.new_order_img {
    flex-grow: 1;
}

.new_order_img img {
    width: 100px;
    height: 100px;
}

.new_order_text {
    flex-grow: 2;
    display: block;
    background: white;
    border-bottom: 1px dotted #3a2213;
    margin-left: 1em;
    font-size: 11px;
    padding: 1em 2em 1em 2em;
}

.alert {
    border: 1px solid red;
}

.alert::-webkit-input-placeholder {
    color: red;
    font-size: 0.8em;
}

span[id^="error"] {
    color: red;
}

/* form処理 */
#first_form {
    display: block;
    margin: 0 auto;
    width: 95%;
}

#second_form {
    width: 100%;
    margin: 0 auto;
    display: none;
}

#second_form table {
    border-spacing: 0;
    width: 100%;
    margin: 0;
}

#second_form table tr:nth-of-type(odd) {
    background-color: #fff;
}

#second_form table tr {
    height: 2em;
}

.hidden_h2 {
    width: 100%;
    text-align: left;
    margin: 0;
}

#base_receipt table {
    width: 99%;
}

#bottom_div {
    background-color: rgb(0, 0, 0, 0);
    width: 100%;
    height: 4.2em;
    margin: 0 auto;
    overflow: hidden;
    position: fixed;
    bottom: 1em;
    max-width: 720px;
    /*min-width: 100%;*/
}

#content_side {
    margin: 0px 26% 0 2%;
    height: 100%;
    width: 72%;
    background-image: url("../images/button購入.png");
    background-size: 100% 100%;
    background-color: rgb(0, 0, 0, 0);
    z-index: 999;
}

#right_side {
    position: absolute;
    top: 0em;
    right: 1em;
    width: 20%;
    height: 100%;
    background-image: url("../images/buttonお問い合わせ.png");
    background-size: 100% 100%;
    background-color: rgb(0, 0, 0, 0);
    z-index: 999;
}

.doctor {
    margin: 50px 0 0 0;
    background: #fff;
    position: relative;
}

.doctor a {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 5%;
    margin: auto;
    font-size:18px;
    font-weight: bold;
    color: #fff;
    background: #c9a063;
    text-decoration: none;
    border-radius: 20px;
    top: 88%;
    left: 20%;
}

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

    .doctor a  {
        font-size:12.5px;
    }
 
 }