:root {
  --color-primary: #ed7c36;
}

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  background-color: #efefef;
  line-height: 1.75;
  font-family: -apple-system, "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  word-break: normal;
  color: #1a1a1a;
}
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}


textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

button {
  color: #1a1a1a;
}

button:focus {
  outline: 4px solid #86c9ef;
}

/**/

header,
main,
footer {
    max-width: 576px;
    margin: auto;
    background-color: #fff;
    padding: 30px 15px;
}
main {
  padding-bottom: 60px;
}
.text-en {
  color: #777;
}
/**/

.opening {
  overflow: hidden;
  margin: 0;
  border: none;
  padding: 0;
  box-sizing: border-box;
  background: #fff;

}

.opening::backdrop {
  background: #fff
}

.opening .opening-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  gap: 30px;
}

.opening .opening-container .img img {
  width: 120px;
  height: auto;
}

.opening .opening-container .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.opening .opening-container .text strong {
  display: block;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: bold;
}

.opening .opening-container .text .title {
  display: flex;
  justify-content: center;
  font-size: 1.4rem;
}

.opening .close-opening {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 80px;
  border: 1px var(--color-primary) solid;
  border-radius: 100vh;
}


.opening .close-opening .text {
  font-size: 1.8rem;
}

/**/

.header h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header h1 .place {
  font-size: 1.4rem;
}
.header h1 .name {
  font-size: 2rem;
}
.header h1 .title {
  font-size: 2rem;
  color: var(--color-primary);
}
.header p {
  padding-top: 1em;
  text-align: center;
  font-size: 1.2rem;
}
/**/
.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 30px 0;
}
.category img {
    max-width: 100px;
    height: auto;
}
.category .text-ja {
  display: block;
  font-size: 1.8rem;
}
.category .text-en {
  display: block;
}

/**/
.list + .category {
  margin-top: 60px;
}

.list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.list li {
  width: calc(50% - 7.5px);
}

.list li > button {
  width: 100%;
}

.list li > button img {
  width: 100%;
  height: auto;
  border: 1px #ccc solid;
  border-radius: 8px;
}

.list li > button .text-ja {
  display: block;
  font-size: 1.6rem;
}

/**/

.open-dialog {
  padding: 0;
  text-align: left;
}

.dialog {
  width: 100dvw;
  padding: 0;
  border: 0;
}
.dialog::backdrop {
  content: "";
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.dialog-container {
  padding: 30px 15px;
}
.dialog .dialog-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
}
.dialog .close-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 20px;
  border: 1px var(--color-primary) solid;
  border-radius: 100vh;
}
.dialog .close-dialog .icon-cross {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.dialog .close-dialog .icon-cross:before,
.dialog .close-dialog .icon-cross:after {
  position: absolute;
  content: "";
  width: 80%;
  height: 2px;
  background: var(--color-primary);
}

.dialog .close-dialog .icon-cross:before {
  top:14px;
    left: 5px;
  transform: rotate(-45deg);
}

.dialog .close-dialog .icon-cross:after {
  left: 5px;
    top: 14px;
  transform: rotate(45deg);
}

.dialog .close-dialog .text {
  font-size: 1.8rem;
}


/* スクロールを止めるためのクラス */
.no-scroll {
  position: fixed;
  overflow: hidden;
  width: 100%;
}


/**/

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

footer img {
  width: auto;
  height: 146px
}
