@charset "UTF-8";
/*
Theme Name: どうもんカレーフェスティバル
*/
/* フォントのインポート */
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;800;900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* カスタムプロパティ定義 */
:root {
  /* フォントの太さ */
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;
}

/* html全体に関わるもの */
html,
body {
  margin: 0;
  /* font-family: "Noto Serif JP", serif; */
  font-family: "Noto Sans JP", sans-serif;
  background-image: url("./img/background.png");
  background-size: cover;
  scroll-behavior: smooth;
  overflow: scroll;
  font-size: 4vw;
}
@media screen and (min-width: 601px) {
  html,
  body {
    font-size: 24px;
  }
}
html:has(.cover.active),
body:has(.cover.active) {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  word-wrap: break-word;
}
a:hover {
  opacity: 0.6;
}

img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 601px) {
  .sp {
    display: none !important;
  }
}

.pc-wrap {
  max-width: 600px;
  margin: 0 auto;
}

header {
  position: relative;
  z-index: 1000;
}
header:has(.toggle:checked) + .cover .close-btn {
  display: none !important;
}
header .toggle {
  display: none;
}
header .toggle:checked + .menu-btn span:nth-child(1) {
  top: 60%;
  transform: rotate(45deg);
}
header .toggle:checked + .menu-btn span:nth-child(2) {
  transform: rotate(45deg);
}
header .toggle:checked + .menu-btn span:nth-child(3) {
  top: 60%;
  transform: rotate(-45deg);
}
header .toggle:checked + .menu-btn + .menu-wrap {
  max-height: 1000px;
}
header .menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  color: #fff;
  background-color: #f07c1b;
  text-align: center;
  font-size: 16px;
  font-weight: var(--Light);
  z-index: 10000;
  cursor: pointer;
}
header .menu-btn span {
  position: absolute;
  height: 2px;
  width: 50%;
  left: 25%;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
header .menu-btn span:nth-child(1) {
  top: 45%;
}
header .menu-btn span:nth-child(2) {
  top: 60%;
}
header .menu-btn span:nth-child(3) {
  top: 75%;
}
header .menu-wrap {
  position: absolute;
  background-color: #ffffdc;
  max-width: 600px;
  width: 100vw;
  max-height: 0;
  left: 0;
  top: 0px;
  transition: 0.5s;
  overflow: hidden;
  padding-top: 0;
}
header .menu-wrap nav {
  padding-top: 60px;
}
header .menu-wrap nav ul {
  padding: 0;
  margin: 0;
}
header .menu-wrap nav ul li {
  list-style: none;
  border-bottom: 1px solid #aaa;
}
header .menu-wrap nav ul li:first-child {
  border-top: 1px solid #aaa;
}
header .menu-wrap nav ul li a {
  display: block;
  padding: 16px;
}

.cover {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  background-color: #000;
  opacity: 0.5;
}
.cover.active {
  display: block;
  z-index: 100;
}
.cover .close-btn {
  position: fixed;
  top: 2%;
  right: 5%;
  width: 40px;
  height: 40px;
  z-index: 100000;
  cursor: pointer;
}
.cover .close-btn span {
  position: absolute;
  top: 50%;
  width: inherit;
  height: 2px;
  opacity: 0.8;
  background-color: #fff;
}
.cover .close-btn span:nth-child(1) {
  transform: rotate(45deg);
}
.cover .close-btn span:nth-child(2) {
  transform: rotate(-45deg);
}

.top-arrow {
  position: fixed;
  width: 50px;
  bottom: 16px;
  right: 16px;
  cursor: pointer;
  z-index: 50;
}

.top {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.overview {
  color: #e95513;
  background-color: #fff9bb;
  font-weight: var(--Bold);
  text-align: center;
  padding: 24px 0;
  margin-bottom: 32px;
  line-height: 1.8;
}

.ticket {
  margin-bottom: 32px;
}

.orange-wrap {
  width: calc(100% - 80px);
  border: 3px solid #f5a214;
  border-radius: 16px;
  background-color: #ffffdc;
  font-size: 0.875rem;
  font-weight: var(--Bold);
  padding: 8px 16px;
  margin: 0 24px 32px;
  margin-bottom: 32px;
}
.orange-wrap h2 {
  width: fit-content;
  font-size: 0.875rem;
  color: #eeeddc;
  background-color: #f5a214;
  text-align: center;
  margin: -20px auto 16px;
  padding: 2px 16px;
  border-radius: 16px;
}

.lottery {
  margin-bottom: 32px;
}
.lottery .toggle {
  display: none;
}
.lottery .toggle:checked + .lottery-title::before {
  transform: translateY(-50%) rotate(180deg);
}
.lottery .toggle:checked + .lottery-title + .lottery-content {
  display: block;
}
.lottery .lottery-title {
  display: block;
  position: relative;
  cursor: pointer;
}
.lottery .lottery-title::before {
  display: inline-block;
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  top: 50%;
  right: 16px;
  color: #fff;
  transform: translateY(-50%);
  background-image: url("./img/lottery-arrow.png");
  background-size: cover;
}
.lottery .lottery-content {
  display: none;
}
.lottery img {
  width: 100%;
}

.tabs {
  display: grid;
  margin: 0 16px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: var(--Black);
}
.tabs .tab {
  display: flex;
  color: #f5a214;
  background-color: #fff9bb;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  line-height: 1.2;
  border-radius: 16px 16px 0 0;
  cursor: pointer;
}
.tabs .tab.active {
  color: #eeeddc;
  background-color: #e95512;
}

.menus {
  border: 3px solid #e95512;
  background-color: #ffffdc;
}
.menus .menu {
  display: none;
  padding: 16px;
}
.menus .menu.active {
  display: block;
}
.menus .menu .kids-describe {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  margin-bottom: 16px;
}
.menus .menu .kids-describe::before {
  display: inline-block;
  content: "";
  min-width: 24px;
  min-height: 32px;
  background-image: url("./img/kids.png");
  margin-right: 4px;
}
.menus .menu .stores {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.menus .menu .stores .store {
  border-radius: 16px;
  color: #6a3908;
  background-color: #f5aa02;
  padding: 8px 16px;
}
.menus .menu .stores .store .title {
  font-size: 0.875rem;
  font-weight: var(--Black);
  text-align: center;
}
.menus .menu .stores .store .place {
  width: 5em;
  position: relative;
  color: #fff;
  background-color: #e95512;
  font-size: 0.875rem;
  font-weight: var(--Bold);
  text-align: center;
  margin: -4px 0 16px -16px;
  z-index: 10;
}
.menus .menu .stores .store .content {
  min-height: 3.3rem;
  font-size: 0.75rem;
  font-weight: var(--Bold);
  padding: 0 8px;
  margin-bottom: 16px;
}
.menus .menu .stores .store .more {
  width: 80%;
  margin: 0 auto;
  cursor: pointer;
}
.menus .menu .stores .store:nth-child(4n-1), .menus .menu .stores .store:nth-child(4n-2) {
  background-color: #fef100;
}

.modals .modal {
  display: none;
  position: fixed;
  min-width: calc(350px - 4%);
  width: 40vw;
  height: 70vh;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 10000;
  padding: 1.5% 3%;
  color: #6a3908;
  background-color: #fff;
  overflow: scroll;
}
.modals .modal.active {
  display: block;
}
.modals .modal .header {
  display: flex;
  justify-content: space-between;
  font-weight: var(--Black);
  margin-bottom: 16px;
  align-items: center;
  overflow: scroll;
}
.modals .modal .header .store-name {
  margin-left: 8px;
}
.modals .modal .header .place {
  display: flex;
  width: 75px;
  height: 75px;
  color: #fff;
  background-color: #e95512;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
  font-size: 16px;
}
.modals .modal .content-wrap {
  margin: 0 5%;
}
.modals .modal .content-wrap img {
  margin-bottom: 24px;
}
.modals .modal .content-wrap .menu-name {
  font-size: 1.125rem;
  font-weight: var(--Black);
  margin-bottom: 16px;
}
.modals .modal .content-wrap .menu-detail {
  font-size: 0.875rem;
  margin-bottom: 32px;
}

aside {
  margin: 32px;
  font-size: 0.875rem;
}

.button {
  display: flex;
  position: relative;
  width: fit-content;
  font-size: 0.875rem;
  font-weight: var(--Black);
  color: #eeeddc;
  background-color: #e95512;
  padding: 2px 48px 2px 32px;
  margin: 24px auto;
  border-radius: 16px;
  align-items: center;
}
.button::after {
  display: block;
  position: absolute;
  content: "";
  width: 6.5px;
  height: 7.5px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("./img/right.png");
  background-size: cover;
}

.place-map {
  width: calc(100% - 48px);
  margin: 0 24px 32px;
}

.map-title {
  display: flex;
  position: relative;
  width: 70%;
  font-size: 1.25rem;
  font-weight: var(--Black);
  color: #eeeddc;
  background-color: #e95512;
  padding: 2px 0;
  margin: 24px auto 24px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
}
.map-title::after {
  display: block;
  position: absolute;
  content: "";
  width: 9.75px;
  height: 11.25px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("./img/right.png");
  background-size: cover;
}

.map {
  width: calc(100% - 48px);
  aspect-ratio: 9/16;
  margin: 0 24px 32px;
}

footer {
  font-size: 0.875rem;
  font-weight: var(--Bold);
  text-align: center;
  margin-bottom: 16px;
  color: #6a3906;
}
