/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  max-width: 100%;
  height: 100%;
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  position: relative;
  float: left;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  color: #2F7BB9;
}
a:visited{
  color: #0E5997;
}
table a.text{
  border-bottom: 1px solid #2F7BB9;
  padding-bottom: 2px;
  line-height: 1.4;
}
table a.text:after{
  /* content: " ";
  display: block;
  position: absolute;
  bottom: -4px;
  width: 100%;
  border-top: 1px solid #2F7BB9; */
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
  max-width: 100%;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
  ime-mode:disabled;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/* /normalize.css */
*{
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
共通
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.wrapper{
  width: 100%;
  max-width: 960px;
  margin: auto;
  padding: 0 8px;
}
.header,
.body,
.footer{
  width: 100%;
  position: relative;
  float: left;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
header
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.header{
  padding: 8px;
}
.header h1{
  text-align: center;
  color: #00796B;
  font-size: 28px;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
tab
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.tab{
  width: 100%;
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  text-align: center;
}
.tab li{
  display: inline-block;
  background: #EDEDED;
  border-top: 1px solid #00796B;
  border-left: 1px solid #00796B;
  border-right: 1px solid #00796B;
  border-radius: 4px 4px 0 0;
  color: #00796B;
  padding: 8px 14px;
  cursor: pointer;
  margin: 0 -1px 0 0;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.tab li.current{
  background: #00796B;
  color: white;
}

.contents_wrap{
  display: none;
  width: 100%;
  position: relative;
  float: left;
  border: 1px solid #00796B;
  border-radius: 4px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
.contents_wrap.current{
  display: block;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
body
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.body{
  background: #E9FDEF;
  border-radius: 8px;
  padding: 8px;
  color: #333;
}
.body h2{
  text-align: center;
  font-size: 20px;
}
.body .note{
  width: 100%;
  max-width: 320px;
  margin: auto;
}
.body .no{
  text-align: center;
}
.body .no span{
  display: inline-block;
  padding: 0 8px;
  font-weight: bold;
  font-size: 32px;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
footer
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.footer{
  padding: 8px;
  text-align: center;
}
.address{
  width: 100%;
  background: #00796B;
  color: white;
  text-align: center;
  float: left;
  padding: 16px 8px;
}
.address p{
  margin: 0;
  line-height: 1.6;
  font-size: 12px;
}
.address p.hospital_name{
  font-size: 16px;
  font-weight: bold;
}
.address p a{
  color: white;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
form
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.form_wrap{
  width: 100%;
  max-width: 320px;
  margin: auto;
  padding: 16px 0;
}

.form_container{
  width: 100%;
  padding: 8px 0;
}
.form_container table{
  width: 100%;
}
.form_container table th{
  vertical-align: top;
}
.form_container table th,
.form_container table td{
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  padding-top: 8px;
}
.form_container input{
  max-width: 100%;
}
.form_container p{
  margin: 4px 0;
}
input[type="text"],
input[type="number"],
input[type="password"]{
  width: 100%;
  border: 1px solid #777;
  color: #555;
  padding: 4px 8px;
  line-height: 1.4;
  max-width: 100%;
}
input[type="text"][name="b_month"],
input[type="text"][name="b_day"]{
  width: 4em;
  text-align: left;
}

input[type="checkbox"]{
  display: none;
}
input[type="checkbox"] + label{
  padding-left: 32px;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
  color: #777;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
input[type="checkbox"] + label:before{
  content: " ";
  display: block;
  position: absolute;
  left: 4px;
  top: 50%;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  border: 1px solid #777;
  background: white;
  border-radius: 4px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
input[type="checkbox"] + label:after{
  content: " ";
  display: block;
  position: absolute;
  left: 12px;
  top: 16px;
  width: 1px;
  height: 1px;
  border-left: 0px solid white;
  border-bottom: 0px solid white;
  transform-origin:left top;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
input[type="checkbox"]:checked + label{
  color: #00796B;
  font-weight: bolder;
}
input[type="checkbox"]:checked + label:after{
  left: 6px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-left: 4px solid #00796B;
  border-bottom: 4px solid #00796B;
  transition: height .1s ease-in-out, width .1s ease-in-out .1s;
}
input[type="checkbox"].un_default + label{
  color: #eee;
}
input[type="checkbox"].un_default:checked + label{
  color: white;
}


/* radio + label*/
input[type="radio"]{
  display: none;
}
input[type="radio"] + label{
  padding-left: 32px;
  position: relative;
  cursor: pointer;
  margin-right: 4px;
  color: #777;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
input[type="radio"] + label:before{
  content: " ";
  display: block;
  position: absolute;
  left: 4px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  border: 1px solid #777;
  background: white;
  border-radius: 50%;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}
input[type="radio"] + label:after{
  content: " ";
  display: block;
  position: absolute;
  left: 8px;
  top: 50%;
  margin-top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  transition: .3s;
}

input[type="radio"]:checked + label{
  color: #00796B;
}
input[type="radio"]:checked + label:after{
  background: #00796B;
}

input[type="radio"].un_default + label{
  color: #eee;
}
input[type="radio"].un_default:checked + label{
  color: white;
}

input[type="radio"] + label.rd_disabled:before
,input[type="radio"] + label.rd_disabled:after{
  content: none;
  display: none;
}

.form_btn_container{
  text-align: center;
  padding-top: 8px;
}
.submit_btn{
  background: #00796B;
  color: white;
  border: 1px solid #00796B;
  padding: 8px 16px;
  border-radius: 4px;
  margin: 4px;
}
.submit_btn:disabled{
  background: #EFEFEF;
  color: #00796B;
}
.reset_btn{
  background: #EFEFEF;
  color: #555;
  border: 1px solid #555;
  padding: 8px 16px;
  border-radius: 4px;
  margin: 4px;
}
.del_btn{
  background: white;
  padding: 4px 12px;
  border-radius: 4px;
  margin: 4px;
  color: #FF0000;
  border: 1px solid #FF0000;
  font-size: 0.83em;
}

.back_link a{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  margin: 4px;
  color: #777;
  border: 1px solid #777;
  font-size: 0.83em;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
table
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.ymd_table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  color: #777;
  /* background: white; */
}
.ymd_table th{
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid #00796B;
}
.ymd_table td{
  padding: 8px;
  border-bottom: 1px solid #00796B;
  font-size: 1.1em;
}

.check_table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;

}
.check_table th{
  text-align: center;
  padding: 8px;
  border-bottom: 1px dotted #00796B;
  color: #555;
  font-weight: normal;
  -moz-text-align-last: justify;
  text-align-last: justify;
}
.check_table th.del{
  text-align: right;
  -moz-text-align-last: inherit;
  text-align-last: inherit;
}
.check_table th.del small{
  display: block;
  text-align: left;
}
.check_table td{
  padding: 8px;
  border-bottom: 1px dotted #00796B;
  font-size: 1.1em;
  color: #00796B;
  font-weight: bold;
  text-align: right;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
待ち人数
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.status{
  width: 100%;
  max-width: 320px;
  margin: 16px auto;
  /* display: flex; */
}
.subject_wrap{
  width: 98%;
  /* flex: 1; */
  /* border-radius: 8px; */
  margin: 8px 1%;
  /* border: 1px solid #00796B; */
  overflow: hidden;
  float: left;
}
.subject_name{
  width: 100%;
  text-align: center;
  background: #4DB6AC;
  padding: 4px;
  color: white;
}
.subject_count{
  text-align: center;
  background: white;
  padding: 4px 8px 8px 20px;
  color: #00796B;
}
.subject_count p{
  margin: 0;
  text-align: center;
}
.subject_count span{
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
}
.subject_count span span{
  font-size: 12px;
  margin-left: 4px;
}
.wait_check{
  width: 100%;
  background: #00796B;
  border-radius: 8px;
  /* border-top: 2px solid #00796B;
  border-bottom: 2px solid #00796B; */
  text-align: center;
  margin-bottom: 16px;
}
.wait_check a{
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 16px 4px;
  color: white;
}
.wait_check a span{

  font-weight: bold;
  font-size: 1.2em;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
トップ変更
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

.weekly{
  width: 100%;
  display: flex;
}
.weekly > div{
  flex: 1;
}
.week_label{
  text-align: center;
  padding: 4px;
  border: 1px solid #999;
  border-left: 0;
}
.week_status{
  text-align: center;
  padding: 4px;
  border: 1px solid #999;
  border-top: 0;
  border-left: 0;
}
.sun .week_label{
  border-left: 1px solid #999;
  background: rgb(236, 78, 51);
  color: white;
}
.sun .week_status{
  border-left: 1px solid #999;
}
.sat .week_label{
  background: rgb(97, 89, 187);
  color: white;
}
.hol .week_label{
  color: rgb(236, 78, 51);
}

.remark{
  text-align: left;
  color: #555;
  margin: 16px auto;
  padding: 8px;
  border-top: 2px dotted #999;
  border-bottom: 2px dotted #999;
}


.AppLink{
  width: 100%;
  padding: 40px 20px;
  float: left;
  text-align: center;
}
.AppLink a{
  display: inline-block;
  cursor: pointer;
  width: 135px;
  height: 40px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow:hidden;
  position: relative;
}
.AppLink a img{
  position: absolute;
  width: 152px;
  max-width: none;
  left: -9px;
  top: -9px;
}



.pager{
  border: 1px solid #00796B;
  padding: 8px 16px;
  color: #00796B;
  transition: .3s;
}
.pager:visited{
  color: #00796B;
}
.pager:active{
  background: #00796B;
  color: white;
}

span.p_left,
span.p_right{
  padding: 8px 16px;
}
.p_left{
  float: left;
}
.p_right{
  float: right;
}
