@charset "utf-8";

/***************************************************************
common.css
***************************************************************/

/*************
*　Body initialization
*******************************/
html,
body,
article {
  height: 100%;
}
body {
  text-align: center;
  color: #1a283e;
  font-family: "Noto Sans JP", sans-serif;
}
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 88%;
  scroll-behavior: smooth;
}

/*************
*　Basic initialization
*******************************/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
body,
div,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
ul,
li,
img {
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
  margin: 0;
  padding: 0;
}
body,
div,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
ul,
li {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
p,
th,
td,
li,
dt,
dd {
  line-height: 160%;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
}
p {
  color: #333333;
  line-height: 130%;
}
img {
  border: none;
  vertical-align: bottom;
}
img.common-img {
  width: 100%;
  height: auto;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}

/*************
*　List initialization
*******************************/
ul,
ol {
}
ul {
  list-style-type: none;
}
ul.list-disc {
  list-style-type: disc;
}
ul li {
}

ol {
  list-style: decimal outside;
}
ol li {
}

dl {
}
dt {
  text-align: left;
}
dd {
  text-align: left;
}

/*************
*　Table initialization
*******************************/
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  font-weight: normal;
  padding: 0.6em;
  vertical-align: middle;
}
td {
  padding: 0.6em;
  vertical-align: middle;
  font-size: 90%;
}

/*************
*　Form initialization
*******************************/
textarea,
input,
select {
  outline: none;
}
form {
  text-align: left;
}

/*************
*　Link initialization
*******************************/
a:not(.btn),
a:link:not(.btn),
a:active:not(.btn),
a:visited:not(.btn) {
  text-decoration: none;
  color: inherit;
  outline: none;
}
a:hover:not(.btn) {
  color: inherit;
  text-decoration: none;
}
a:focus {
  outline: none;
}
a:hover,
a:active {
  outline: 0;
}
a.link {
  color: #0d6efd;
  text-decoration: underline;

  &:hover {
    color: #0a58ca;
  }
}

/*************
*　Float initialization
*******************************/
.left {
  float: left;
}
.right {
  float: right;
}

/*************
*　Text Align initialization
*******************************/
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

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

/*************
*　Clear initialization
*******************************/
.clear {
  clear: both;
}
.clearfix::after {
  display: block;
  clear: both;
  height: 0px;
  visibility: hidden;
  content: ".";
}
.clearfix {
  min-height: 1px;
}

/*************
*　Material icons
*******************************/
.material-icons {
  vertical-align: middle;
}

/*************
*　Color initialization
*******************************/
.font-red {
  color: #ff0000;
}

/*************
*　Button initialization
*******************************/
div.head-btn.marg,
div.foot-btn.marg {
  padding: 1.6em 0;
}
div.head-btn.pdd,
div.foot-btn.pdd {
  padding: 0.6em 0;
}
div.head-btn {
  float: right;
}
div.head-btn span {
  color: #fff;
}
div.foot-btn {
  text-align: center !important;
}
.btn {
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.2em 0.6em;
  line-height: 1.6;
  border-radius: 0.4em;
  -webkit-transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
a.btn:not([class*="btn-outline-"]) {
  color: #fff;
  border: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    -webkit-transition: none;
    transition: none;
  }
}

.btn:hover {
  text-decoration: none;
  cursor: pointer;
}
.btn:focus,
.btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2em rgba(52, 144, 220, 0.25);
}
.btn.disabled,
.btn:disabled {
  opacity: 0.6;
}

/*** btn-blue ***/
.btn-blue {
  color: #fff;
  background-color: #074496;
}
.btn-blue:hover {
  color: #fff;
  background-color: #3969ab;
}
.btn-blue:focus,
.btn-blue.focus {
  box-shadow: 0 0 0 0.2em rgba(5, 51, 112, 0.5);
}
.btn-blue.disabled,
.btn-blue:disabled {
  background-color: #074496;
}
.btn-blue:not(:disabled):not(.disabled):active,
.btn-blue:not(:disabled):not(.disabled).active,
.show > .btn-blue.dropdown-toggle {
  color: #fff;
  background-color: #3969ab;
}
.btn-blue:not(:disabled):not(.disabled):active:focus,
.btn-blue:not(:disabled):not(.disabled).active:focus,
.show > .btn-blue.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2em rgba(5, 51, 112, 0.5);
}

/*** btn-outline-green ***/
.btn-outline-green {
  color: #007074;
  border-color: #007074;
}
.btn-outline-green:hover {
  color: #fff;
  background-color: #007074;
  border-color: #007074;
}
.btn-outline-green:focus,
.btn-outline-green.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 112, 116, 0.5);
}
.btn-outline-green.disabled,
.btn-outline-green:disabled {
  color: #007074;
  background-color: transparent;
}
.btn-outline-green:not(:disabled):not(.disabled):active,
.btn-outline-green:not(:disabled):not(.disabled).active,
.show > .btn-outline-green.dropdown-toggle {
  color: #fff;
  background-color: #007074;
  border-color: #007074;
}
.btn-outline-green:not(:disabled):not(.disabled):active:focus,
.btn-outline-green:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-green.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 112, 116, 0.5);
}

/*** btn-outline-blue ***/
.btn-outline-blue {
  color: #074496;
  border-color: #074496;
}

.btn-outline-blue:hover {
  color: #fff;
  background-color: #074496;
  border-color: #074496;
}

.btn-outline-blue:hover svg {
  fill: #fff;
  transition: fill 0.15s;
}

.btn-outline-blue:focus,
.btn-outline-blue.focus {
  box-shadow: 0 0 0 0.2rem rgba(7, 68, 150, 0.5);
}

.btn-outline-blue.disabled,
.btn-outline-blue:disabled {
  color: #074496;
  background-color: transparent;
}

.btn-outline-blue:not(:disabled):not(.disabled):active,
.btn-outline-blue:not(:disabled):not(.disabled).active,
.show > .btn-outline-blue.dropdown-toggle {
  color: #fff;
  background-color: #074496;
  border-color: #074496;
}

.btn-outline-blue:not(:disabled):not(.disabled):active:focus,
.btn-outline-blue:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-blue.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(7, 68, 150, 0.5);
}

/*** black ***/
.btn-black {
  color: #fff;
  background-color: #222222;
}
.btn-black:hover {
  color: #fff;
  background-color: #4e4e4e;
}
.btn-black:focus,
.btn-black.focus {
  box-shadow: 0 0 0 0.2em rgba(20, 20, 20, 0.5);
}
.btn-black.disabled,
.btn-black:disabled {
  color: #fff;
  background-color: #222222;
}
.btn-black:not(:disabled):not(.disabled):active,
.btn-black:not(:disabled):not(.disabled).active,
.show > .btn-black.dropdown-toggle {
  background-color: #4e4e4e;
}
.btn-black:not(:disabled):not(.disabled):active:focus,
.btn-black:not(:disabled):not(.disabled).active:focus,
.show > .btn-black.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2em rgba(20, 20, 20, 0.5);
}

/*** white ***/
.btn-white {
  color: #222222;
  background-color: #fff;
}
.btn-white.disabled,
.btn-white:disabled {
  color: #222222;
  background-color: #fff;
}

/*** green ***/
.btn-green {
  color: #fff;
  background-color: #4ace86;
}
.btn-green:hover {
  color: #fff;
  background-color: #6ed89e;
}
.btn-green:focus,
.btn-green.focus {
  box-shadow: 0 0 0 0.2em rgba(51, 191, 114, 0.5);
}
.btn-green.disabled,
.btn-green:disabled {
  color: #fff;
  background-color: #4ace86;
}
.btn-green:not(:disabled):not(.disabled):active,
.btn-green:not(:disabled):not(.disabled).active,
.show > .btn-green.dropdown-toggle {
  background-color: #6ed89e;
}
.btn-green:not(:disabled):not(.disabled):active:focus,
.btn-green:not(:disabled):not(.disabled).active:focus,
.show > .btn-green.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2em rgba(51, 191, 114, 0.5);
}

/*** red ***/
.btn-red {
  color: #fff;
  background-color: #b20000;
}
.btn-red:hover {
  color: #fff;
  background-color: #c13333;
}
.btn-red:focus,
.btn-red.focus {
  box-shadow: 0 0 0 0.2em rgba(151, 0, 0, 0.5);
}
.btn-red.disabled,
.btn-red:disabled {
  color: #fff;
  background-color: #b20000;
}
.btn-red:not(:disabled):not(.disabled):active,
.btn-red:not(:disabled):not(.disabled).active,
.show > .btn-red.dropdown-toggle {
  background-color: #c13333;
}
.btn-red:not(:disabled):not(.disabled):active:focus,
.btn-red:not(:disabled):not(.disabled).active:focus,
.show > .btn-red.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2em rgba(151, 0, 0, 0.5);
}

/*** btn-outline-red ***/
.btn-outline-red {
  color: #b20000;
  border-color: #b20000;
}

.btn-outline-red:hover {
  color: #fff;
  background-color: #b20000;
  border-color: #b20000;
}
.btn-outline-red:hover svg {
  fill: #fff;
}

.btn-outline-red:focus,
.btn-outline-red.focus {
  box-shadow: 0 0 0 0.2rem rgba(151, 0, 0, 0.5);
}

.btn-outline-red.disabled,
.btn-outline-red:disabled {
  color: #b20000;
  background-color: transparent;
}

.btn-outline-red:not(:disabled):not(.disabled):active,
.btn-outline-red:not(:disabled):not(.disabled).active,
.show > .btn-outline-red.dropdown-toggle {
  color: #fff;
  background-color: #b20000;
  border-color: #b20000;
}

.btn-outline-red:not(:disabled):not(.disabled):active:focus,
.btn-outline-red:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-red.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(151, 0, 0, 0.5);
}

/*** orange ***/
.btn-orange {
  color: #fff;
  background-color: #e69e3d;
}
.btn-orange:hover {
  color: #fff;
  background-color: #e0860c;
}
.btn-orange:focus,
.btn-orange.focus {
  box-shadow: 0 0 0 0.2em rgba(203, 123, 11, 0.5);
}
.btn-orange.disabled,
.btn-orange:disabled {
  color: #fff;
  background-color: #e69e3d;
}
.btn-orange:not(:disabled):not(.disabled):active,
.btn-orange:not(:disabled):not(.disabled).active,
.show > .btn-orange.dropdown-toggle {
  background-color: #e0860c;
}
.btn-orange:not(:disabled):not(.disabled):active:focus,
.btn-orange:not(:disabled):not(.disabled).active:focus,
.show > .btn-orange.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2em rgba(203, 123, 11, 0.5);
}

/*** btn-outline-orange ***/
.btn-outline-orange {
  color: #e0860c;
  border-color: #e0860c;
}

.btn-outline-orange:hover {
  color: #fff;
  background-color: #e0860c;
  border-color: #e0860c;
}

.btn-outline-orange:focus,
.btn-outline-orange.focus {
  box-shadow: 0 0 0 0.2rem rgba(203, 123, 11, 0.5);
}

.btn-outline-orange.disabled,
.btn-outline-orange:disabled {
  color: #e0860c;
  background-color: transparent;
}

.btn-outline-orange:not(:disabled):not(.disabled):active,
.btn-outline-orange:not(:disabled):not(.disabled).active,
.show > .btn-outline-orange.dropdown-toggle {
  color: #fff;
  background-color: #e0860c;
  border-color: #e0860c;
}

.btn-outline-orange:not(:disabled):not(.disabled):active:focus,
.btn-outline-orange:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-orange.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(203, 123, 11, 0.5);
}

/*** btn-outline-gray ***/
.btn-outline-gray {
  color: #666;
  border-color: #666;
}

.btn-outline-gray:hover {
  color: #fff;
  background-color: #666;
  border-color: #666;
}

.btn-outline-gray:focus,
.btn-outline-gray.focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 102, 102, 0.5);
}

.btn-outline-gray.disabled,
.btn-outline-gray:disabled {
  color: #666;
  background-color: transparent;
}

.btn-outline-gray:not(:disabled):not(.disabled):active,
.btn-outline-gray:not(:disabled):not(.disabled).active,
.show > .btn-outline-gray.dropdown-toggle {
  color: #fff;
  background-color: #666;
  border-color: #666;
}

.btn-outline-gray:not(:disabled):not(.disabled):active:focus,
.btn-outline-gray:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-gray.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 102, 102, 0.5);
}

/*** pagetop ***/
#pagetop {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #ffcc00;
  color: #fff;
  bottom: 40px;
  right: 30px;
  cursor: pointer;
}
#pagetop span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100%;
  text-align: center;
}

/*************
*　Image initialization
*******************************/
/* trim-image　imgの親要素にwidthを指定する */
.trim-image {
  position: relative;
}
.trim-image::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.trim-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

/*************
*　Photo initialization
*******************************/
.form-photo-wrap {
  width: auto;
  height: auto;
  position: relative;
}
img.form-photo {
  width: 100%;
  height: 100%;
}
.form-photo-s-wrap {
  margin: 0.2em auto;
  width: 100px;
  height: 100px;
}
ul.photo-list {
  width: 100%;
  margin: 0;
  padding: 0;
}
ul.photo-list li {
  float: left;
  width: auto;
  height: auto;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  padding: 0.2em;
  margin: 0 0.2em 0.2em 0;
  background-color: #fff;
}
ul.photo-list li span {
  width: 100px;
  font-size: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
ul.photo-list li img {
}
dl.photo-detils {
  display: flex;
  flex-wrap: wrap;
}
dl.photo-detils dt {
  width: 30%;
  text-align: right;
  padding: 0 1em 0 0;
}
dl.photo-detils dd {
  width: 70%;
}

/*************
*　Error
*******************************/
ul.error-list,
ul.errorlist {
  margin: 0.4em 0;
  background-color: #ffe5e5;
  padding: 0.2em 0.6em;
  border-radius: 0.2em;
}
ul.error-list li,
ul.errorlist li {
  color: #b20000;
}
ul.error-list li::before,
ul.errorlist li::before {
  font-size: 1.2em;
  content: "\e5d8";
  font-family: "Material Icons";
  vertical-align: middle;
  padding: 0 0.4em 0 0;
}

/*************
*　Alert
*******************************/
p.message-frame {
  margin: 0 auto 1.2em auto;
  text-align: center;
}
span.upload_message {
  display: block;
  background-color: #008c8c;
  color: #fff;
  font-weight: bold;
  padding: 0.8em 1.2em;
}
span.error_message {
  display: block;
  background-color: #b20000;
  color: #fff;
  font-weight: bold;
  padding: 0.8em 1.2em;
}

/*************
*　pagenation
*******************************/
.pagination {
  display: -webkit-box;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25em;
}
.page-link {
  position: relative;
  display: block;
  padding: 0.5em 0.75em;
  margin-left: -1px;
  line-height: 1.25;
  color: #074496;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.page-link:hover {
  z-index: 2;
  color: #1d68a7;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-link:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 0.2em rgba(52, 144, 220, 0.25);
}
.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25em;
  border-bottom-left-radius: 0.25em;
}
.page-item:last-child .page-link {
  border-top-right-radius: 0.25em;
  border-bottom-right-radius: 0.25em;
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #074496;
  border-color: #074496;
}
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}
.pagination-lg .page-link {
  padding: 0.75em 1.5em;
  line-height: 1.5;
}
.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3em;
  border-bottom-left-radius: 0.3em;
}
.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
}
.pagination-sm .page-link {
  padding: 0.25em 0.5em;
  line-height: 1.5;
}
.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2em;
  border-bottom-left-radius: 0.2em;
}
.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
}

/*************
*　Form
*******************************/
.form-parts {
  display: block;
  width: 100%;
  height: calc(1.6em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-parts {
    -webkit-transition: none;
    transition: none;
  }
}
.form-parts::-ms-expand {
  background-color: transparent;
  border: 0;
}
.form-parts:focus {
  color: #495057;
  background-color: #fff;
  border-color: #a1cbef;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}
.form-parts::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-parts::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-parts:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-parts::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-parts::placeholder {
  color: #6c757d;
  opacity: 1;
}
.form-parts:disabled,
.form-parts[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}
select.form-parts:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}
.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
  color: #f00;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
  color: #00f;
}

/******************************************************************************
***　[CASE] min-width 1080px
******************************************************************************/
@media screen and (min-width: 1080px) {
  /********** photo ***********/
  .form-photo-wrap {
    float: left;
    margin: 0 1em 0 0;
    max-width: 300px;
  }
}

/******************************************************************************
***　[CASE] max-width 1079px
******************************************************************************/
@media screen and (max-width: 1079px) {
  /********** photo ***********/
  .form-photo-wrap {
    margin: 0 auto;
    max-width: 160px;
  }
}
