[hidden] {
  display: none !important;
}
.button, button, input[type=submit] {
  /*font-size: 100%;*/
  background: #00427b;
}
select {
  width: auto;
}
.webpage {
  width: auto;
}
.webpage-body h2 > img {
  border: solid 1px #d1d1d1;
}

.webpage-body h3 , .teng-design {
  height: 25px;
  border-bottom: solid 1px #00427b;
  padding-top: 9px;
  margin: 1em 0 1em 50px;
  position: relative;
  font-size: 1.17em;
}
.webpage-body h3:before, .teng-design:before {
  position: absolute;
  left: -50px;
  top: 0px;
  width: 50px;
  height: 44px;
  display: block;
  content: '';
  background: url(../img/icon_tengu.png) left center no-repeat;
}

.select-area {
  list-style: none;
  margin: 0;
  padding: 0;
}
.select-area > li:first-child {
  margin-right: 1em;
}
.select-area > li {
  display: inline-block;
}

.underline-title {
  color: #4e4e4e;
  border-bottom: none;
}
.underline-title > span {
  padding: 0 5px;
  border-bottom: solid 1px #ccc;
}

/*
.search-box {
  padding: 0 10px 10px;
}
*/

.search-column-l {
  float: left;
  width: 526px;
}
.search-column-r {
  float: right;
  width: 440px;
}
.search-inbox-l {
  float: left;
  width: 470px;
}
.search-inbox-r {
  float: right;
  width: 470px;
}
#search-by-prefecture ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 468px;
  height: 388px;
  background: url(../img/area_map.png) center center no-repeat;
  position:relative;
}
#search-by-prefecture ul > li {
  display: block;
  position: absolute;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
#search-by-prefecture ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
}

/*** 店舗情報 ***/
.search-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-link-list > li:first-child {
  border: none;
}
.search-link-list > li {
  border-top: solid 1px #ccc;
  padding: 0.25em 0;
}

.search-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 95%;
}
.search-info-list > li {
  border-top: solid 1px #ccc;
  padding: 0.5rem 0;
}
.search-info-list > li:first-child {
  border-top: none;
}
.search-info-list > li > a {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 0.25rem;
}
.search-info-list .search-info-logo {
  grid-row: 1 / 3;
}
.search-info-list .shop-name {
  font-weight: bold;
}

#search-by-freeword {
  margin-bottom: 20px;
}
#search-by-freeword > form {
  text-align: center;
}
#search-by-freeword > form > input[type="text"] {
  width: 80%;
}
.search-map #japan-map {
  width: 526px;
  height: 415px;
  position: relative;
  background: url(../img/japan_map.png) no-repeat;
}
.search-map #japan-map > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-map #japan-map > ul:after {
    display: block;
    clear: both;
    content: '';
}
.search-map #japan-map > ul > li {
  display: block;
  position: absolute;
}
.search-map #japan-map > ul > li > a {
  display: block;
  background-color: #ffffff;
  color: #252525;
  border: solid 2px #378900;
  width: 74px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  font-weight: bold;
}
.search-map #japan-map > ul > li > a:hover {
  background-color: #378900;
  color: #ffffff;
  text-decoration: none;
}

.small-notice {
  font-size: 75%;
  margin-top: 5px;
  color: #3f3f3f;
}

.search-list-with-icon {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.search-list-with-icon > li {
  display: block;
  width: 50%;
  margin: 5px 0;
  @media (width <= 768px) {
    float: none; width: auto;
  }
}
.search-list-with-icon label {
  display: inline-block;
  cursor: pointer;
}
.search-list-with-icon label > span {
  display: inline-block;
  width: 8em;
  vertical-align: middle;

  @media (width <= 768px) {
    width: auto;
  }
}
.search-list-with-icon input,
.search-list-with-icon img {
  vertical-align: middle;
  margin: 0 5px 0 0 !important;
}
#search-by-condition .search-list-with-icon {
  font-size: smaller;
}
#select-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#select-area ul > li {
  display: inline-block;
}
#select-area ul > li:first-child {
  margin-right: 1em;
}

#search-history .search-box {
  padding-top: 10px;
  margin: 20px 0;
}
#search-history ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#search-history ul > li {
  display: block;
  float: left;
  margin-left: 39px;

}
#search-history ul > li:first-child {
  margin: 0;
}
#search-history ul > li > a {
  display: block;
  width: 210px;
  height: 230px;
  padding: 20px 0 0;
  text-align: center;
  color: #343434;
  background: #e8e8e8;
}
#search-history ul > li > a:after {
  display: block;
  margin-top: 15px;
  white-space: pre-line;
  content: attr(title);
}
#search-history ul > li > a > div {
  width: 140px;
  height: 140px;
  padding: 0 35px;
  margin: 0 auto;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

#shop-google-map, #shop-google-map-iframe {
  width: 100%;
  height: 500px;
}

.info-window {
  width: 200px;
}
.shop-name-in-maps {
  border-bottom: solid 1px #ddd;
  padding: 5px 0;
}
.shop-name-in-maps > a {
  font-weight: bold;
}

#map-box {
  display: flex;
  flex-direction: row-reverse;
  height: 500px;
}
.search-pannel {
  border: #afafaf solid 1px;
  padding: 4px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 500px;
}
.search-pannel-search {
  display: grid;
  grid-template-columns: 1fr 2.5em;
}
.search-pannel-search > input {
  font-size: 85%;
  border-radius: 0;
}
.search-pannel-search > button {
  padding: 0;
  border-radius: 0;
  background: #f19736 url(../img/common/icon_glass_s.png) center right no-repeat;
}
.search-pannel > .search-pannel-inbox {
  margin: 5px 3px;
}
#search-pannel-reset {
  margin: 3px 0;
  text-align: right;
  font-size: smaller;
}
.search-pannel-checkboxes {
  flex-shrink: 1;
  overflow-y: auto;
  padding: 4px 0;
  font-size: small;
}
.search-pannel-checkboxes > details {
  margin-bottom: 0.25rem;
}
.search-pannel-checkboxes > details > summary {
  display: list-item;
  user-select: none;
  background-color: #eee;
  padding: 3px 8px;
  margin: 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.search-pannel-checkboxes .search-facilities {
  list-style: none;
  margin: 0.25rem 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  row-gap: 0.25em;
}
.search-pannel-checkboxes .search-facilities label {
  display: grid;
  grid-template-columns: auto auto 1fr;
  column-gap: 0.25em;
  align-items: center;
}
.search-pannel-checkboxes .search-facilities input {
  margin: 0;
}

/*** 店舗検索一覧 ***/
.list-shop-box {
  padding: 0.5em 1em 1.5em;
  border-top: solid 1px #ccc;
}

.list-shop-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.list-shop-name {
  font-size: 20px;
  margin: 0;
}

/*** お気に入りアイコン ***/
.favorite {
  padding: 2px;
  display: flex;
  flex-direction: column;
  color: #808080;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
}
.favorite::before {
  content: "\2606";
  font-size: 28px;
}
.favorite.active {
  color: #000000;
}
.favorite.active::before {
  content: "\2605";
  color: #ffc93d;
}
/*** /お気に入りアイコン ***/
.list-shop-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  padding: 0.5em 0 0 0;
}
.list-shop-data {
  display: grid;
  gap: 0.5em;
}
.list-phone {
  font-size: 16px;
  font-weight: bold;
}
.list-address {
  font-size: 14px;
}

/*** 施設アイコン ***/
.search-detail-facilities {
  list-style: none;
  margin: 0.5em 0;
  padding: 0;
}
.search-detail-facilities > li {
  display: inline-block;
  border: solid 1px #ccc;
  padding: 1px;
  margin: 1px;
}
/*** /施設アイコン ***/

.list-shop-reserve {
  display: grid;
  gap: 20px;
  place-content: center;
  place-items: center;
}
.list-btn {
  text-align: center;
}

.list-btn .to-book-line {
  background-color: #02C755 !important;
}
.list-btn .to-book {
  padding: 12px 0px !important;
  font-size: 90% !important;
  border-radius: 3px;
  white-space: nowrap;
  width: 200px;
}
.list-icon-link {
  width: 0.8em;
  margin: 0.2em !important;
}
.to-book-smalltext {
  font-size: smaller;
}
/*** /店舗検索一覧 ***/

#search-result-list table.list {
  font-size: 85%;
}
#search-result-list table.list > tbody > tr > * {
  padding: 5px;
}
#search-result-list table.list > tbody > tr > td {
  vertical-align: top;
}
#search-result-list table.list > tbody > tr > td:nth-child(2) {
  width: 23%;
}
#search-result-list table.list > tbody > tr > td:nth-child(3) {
  width: 8em;
}
#search-result-list table.list > tbody > tr > td:nth-child(4) {
  width: 13em;
  white-space: pre-wrap;
}
#search-result-list table.list > tbody > tr > td:last-child {
  width: 20%;
}
#search-result-list table.list > tbody > tr > td:last-child > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: -3px;
}
#search-result-list table.list > tbody > tr > td:last-child > ul > li {
  display: inline-block;
  border: solid 1px #ccc;
  padding: 1px;
  margin: 1px;
}

.pager > ul {
  text-align: right;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 92%;
}
.pager > ul > li {
  display: inline-block;
  margin-left: 3px;
}
.pager > ul > li > span,
.pager > ul > li > a {
  display: inline-block;
  padding: 0.5em;
  line-height: 1em;
  text-align: center;
  border: solid 1px #8a8a8a;
}
.pager > ul > li > span {
  color: #fff;
  background: #428bca;
}
.pager > ul > li:first-child {
  margin-left: 0;
}

#search-detail-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}
#search-detail-header > h2 {
  flex-grow: 1;
}
#search-detail-header > h2 > img {
  height: 1.5em;
  border: none;
}
#search-detail-header > button {
  margin-left: 1rem;
}

.print .search-detail-column-l #link-recruit,
.print #header,
.print #toc,
.print #breadcrumbs-wrapper,
.print .myspace-banner,
.print .search-route,
.print #search-view-history,
.print #footer {
  display: none;
}
.search-detail-column-r {
  float: right;
  width: 650px;
}
.search-detail-column-l {
  float: left;
  width: 300px;
}

#shop-photos-box {
  padding: 10px;
  background: #f2f2f2;
}
#shop-photo {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0;
}
#shop-photo > li {
  display: none;
  text-align: center;
}
#shop-photo > li:first-child {
  display: block;
}
#shop-photo-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
}
#shop-photo-thumbs > li {
  width: 18%;
  float: left;
  margin-left: 2%;
  max-height: 28px;
  overflow: hidden;
}
#shop-photo-thumbs > li:first-child {
  margin: 0;
}

.to-book {
  display: inline-block;
  padding: 11px 33px;
  background-color: #00427b;
  color: #fff;
  text-decoration: none !important;
  font-size: 120%;
  font-weight: bold;
}

.shop-info-box :first-child {
  margin-top: 0;
}
.shop-info {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 92%;
}
.shop-info tr {
  border-bottom: solid 1px #ccc;
}
.shop-info tr:first-child {
  border-top: solid 1px #ccc;
}
.shop-info th {
  width: 7em;
  text-align: left;
  vertical-align: top;
}

.search-route {
  margin: 20px 0;
  border: #afafaf solid 1px;
  padding: 10px;
}
.search-route > form p {
  margin: 0;
}
.search-route > form input[type=text] {
  margin: 0 0 5px 0;
}
.search-route > form > .route-search-buttons {
  display: inline-block;
}
.search-route > form > .route-search-buttons > * {
  padding: 3px 5px;
  font-weight: normal;
}
.search-route > form > .route-search-buttons > a:hover {
  text-decoration: none;
}

#select-city a {
  display: inline-block;
  margin-right: 10px;
}

.icon-description {
  list-style: none;
  margin: 0 0 0 -20px;
  padding: 0;
}
.icon-description > li {
  display: block;
  float: left;
  width: 480px;
  margin-left: 20px;
  margin-bottom: 20px;
}
.icon-description > li:nth-child(odd) {
  clear: both;
}
.icon-description > li > div > img,
.icon-description > li > div > span {
  margin-left: 5px;
  vertical-align: middle;
}

#search-by-freeword-for-list input {
  display: inline-block;
}

.show-map-button {
  display: block;
}

#link-recruit {
  margin: 1.2em 0;
}
#link-recruit a {
  display: block;
  max-width: 300px;
  margin: 0 auto;
}
.banners, .buttons {
  text-align: center;
}
.button-color-red {
  background-color: #a02424 !important;
}
.brand-logo {
  display: inline-block;
  width: 2.4em;
  height: 1em;
  margin-right: 0.2em;
  text-align: center;
}
.brand-logo > img {
  height: 1.5em;
}

.select-area-in-list > div,
.select-area-in-list > p {
  display: inline-block;
  margin: 0 10px 0 0;
}
.shop-qrcode-pc {
    display: inline-block;
    position: relative;
    width: 219px;
    height: 84px;
    background: url(../img/LINEQR.png) no-repeat;
    margin-top: 0.5em;
}
.shop-qrcode-pc > img {
    position: absolute;
    top: 2px;
    right: 2px;
}
.shop-qrcode-sp {
  display: none;
}
.campaign-delivery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.campaign-delivery > span {
  flex: 0 0 50%;
  text-align: center;
  margin-bottom: 0.5em;
}

.shop-link-simple {
  display: inline-block;
  color: #000;
}
.shop-link-simple > img {
  margin-right: 0.5em !important;
  vertical-align: middle;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.15em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.about-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25em 1em;
  align-items: center;
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-icons > li {
  display: flex;
  align-items: center;
  column-gap: 0.25em;
}

body:has(.modal-overlay.show) {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.modal-overlay.show {
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}
.modal-overlay.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}
.close-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

@media (max-width: 767px) {
  .column-full .webpage-body {
    padding: 0 5px;
  }

  .search-column-l, .search-column-r,
  .search-inbox-l, .search-inbox-r,
  .search-detail-column-r, .search-detail-column-l {
    float: none;
    width: auto;
  }
  #search-by-prefecture > p {
    text-align: center;
  }
  #search-by-prefecture ul {
    background: none;
    width: auto;
    height: auto;
  }
  #search-by-prefecture ul > li {
    position: static;
    display: inline;
    text-indent: 0;
  }
  #search-by-prefecture ul > li > a {
    height: auto;
    padding: 10px 0;
    border-bottom: solid 1px #ccc;
  }
  #search-by-prefecture ul > li:last-child > a {
    border: none;
  }
  #search-by-freeword > form > input[type="text"] {
    width: 100%;
  }
  #select-area ul > li {
    display: list-item;
    margin: 5px 0;
  }
  .search-map {
    width: auto;
  }
  .search-map #japan-map {
    width: auto;
    height: auto;
    background: none;
  }
  .search-map #japan-map > ul > li {
    position: static;
    float: left;
    margin: 0 5px 10px 5px;
  }

  .search-list-with-icon > li {
    float: none;
    width: 100%;
  }
  .search-list-with-icon > li > label {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .search-list-with-icon label > input,
  .search-list-with-icon label > img {
    flex-shrink: 0;
  }
  .search-list-with-icon label > span {
    width: auto;
  }
  #search-by-condition .search-list-with-icon label {
    display: block;
  }

  #search-history ul {
    display: block;
  }
  #search-history ul > li {
    display: block;
    margin: 0 auto 20px;
  }
  #search-history ul > li > a {
    display: table-row;
    width: auto;
    height: auto;
    padding: 0;
    text-align: left;
    background: inherit;
  }
  #search-history ul > li > a:after {
    display: table-cell;
    margin: 0;
    vertical-align: middle;
  }
  #search-history ul > li > a > div {
    width: auto;
    height: auto;
    padding: 0 5px 0 0;
    display: table-cell;
  }
  #search-history ul > li > a > div > img {
    vertical-align: middle;
    width: 2em;
    height: auto;
  }

  #shop-google-map, #shop-google-map-iframe {
    height: 400px;
  }

  #map-box {
    flex-direction: column;
    margin-bottom: 1em;
    height: auto;
  }
  .search-pannel {
    position: static;
    width: auto;
    height: auto;
  }
  .search-pannel .search-pannel-checkboxes {
    max-height: none;
    overflow-y: visible;
  }

  #search-result-list table.list thead {
    display: none;
  }
  #search-result-list table.list tr {
    display: block;
    border: solid 1px #ccc;
    border-top: none;
  }
  #search-result-list table.list tr:first-child {
    border-top: solid 1px #ccc;
  }
  #search-result-list table.list > tbody > tr > td {
      display: block;
      border: none;
      padding: 0 5px;
  }
  #search-result-list table.list tbody > tr > td:first-child,
  #search-result-list table.list tbody > tr > td:nth-child(2),
  #search-result-list table.list tbody > tr > td:last-child {
    width: auto;
    padding: 5px;
  }
  #search-result-list table.list > tbody > tr > td:first-child {
    font-size: 120%;
  }

  #search-detail-header > h2 {
    font-size: 120%;
  }
  #search-detail-header > button {
    display: none;
  }
  .search-detail-column-l #link-recruit {
    margin: 10px 0
  }

  #shop-photo > li {
    height: auto;
  }

  .search-route {
    position: static;
    margin: 1.2em 0;
  }
  .search-route > form {
    text-align: center;
  }
  .search-route > form p {
    text-align: left;
  }
  .search-route > form .route-search-buttons {
    display: block;
    text-align: center;
  }

  .icon-description {
    margin: 0;
  }
  .icon-description > li {
    float: none;
    margin-left: 0;
    width: 100%;
  }

  #search-by-freeword-for-list form > span {
    margin: 1em 0;
    display: block;
    text-align: center;
  }

  .show-map-button {
    text-align: center;
  }

  .select-area-in-list > div,
  .select-area-in-list > p {
    margin: 0 0 10px;
    display: block;
  }
  .select-area-in-list > p {
    text-align: center;
  }

  .shop-qrcode-pc {
    display: none;
  }
  .shop-qrcode-sp {
    display: block;
    margin-top: 8px;
  }

/*** 店舗検索一覧 ***/
  .list-shop-box {
    padding: 0.5em 0.5em;
  }
  .list-shop-name {
    font-size: medium;
  }

  .list-shop-body {
    display: block;
  }

  .list-phone {
    font-size: small;
  }
  .list-adress {
    font-size: small;
  }
  .list-icons {
    font-size: small;
  }
 .list-shop-reserve {
    grid-template-columns: 1fr 1fr;
  }

  .list-btn {
    width: 100%;
  }

  .list-btn .to-book {
    width: 100%;
  }

}
