@charset "UTF-8";

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   CSS Variables
========================= */
:root {
  /* Colors */
  --txt-color: #000;
  --white: #fff;
  --brown: #6e3e0e;
  --red: #bd4626;

  /* fonts */
  --zen-maru: "Zen Maru Gothic", sans-serif;
  --kaisei: "Kaisei Opti", serif;
}

/* =========================
   Base Style
========================= */

body {
  background-image: url(../images/bg-pc.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  line-height: 1.6;
}

h1 {
  font-family: var(--kaisei);
  font-size: clamp(30px, -105.000px + 11.25vw, 57px);
  font-weight: 400;
}

h2 {
  font-family: var(--kaisei);
  font-size: clamp(24px, -3.169px + 2.651vw, 35px);
  font-weight: 400;
}

h3 {
  font-family: var(--kaisei);
  font-size: 22px;
  font-weight: 700;
}

h4 {
  font-family: var(--zen-maru);
  font-size: 14px;
  font-weight: 700;
}

p {
  font-family: var(--zen-maru);
  font-size: 14px;
}

img {
  vertical-align: bottom;
  flex-shrink: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* =========================
   Top
========================= */

.top {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  max-width: calc(100vw - (390px + 25vw));
  height: 100vh;
}

.pc-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  margin: 2vw;
}

.sp-top {
  display: none;
}

.maintitle,
.map {
  width: 20vw;
}

.maintitle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.maintitle h1 {
  display: inline;
  background: linear-gradient(transparent 87%, var(--red) 0);
  padding: 0 10px 5px;
  color: var(--white);
  line-height: 1;
}

.maintitle h1 span {
  margin: 0 5px;
  font-size: 2.5em;
  letter-spacing: 0.05em;
}

.maintitle h3 {
  background-image: url(../images/bg-subtitle.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 1em 2em 2.5em;
  font-size: clamp(16px, -14.000px + 2.5vw, 22px);
  color: #000;
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff;
}

.map img {
  position: relative;
  display: block;
  max-width: 90%;
  margin: 0 auto;
}

.map .map-item {
  position: absolute;
  top: 0;
}

.calendar {
  width: 75%;
  margin: 0 auto;
}

.calendar img {
  width: 100%;
}

/* =========================
   SP-content
========================= */

/* 共通 */
.sp-content {
  position: relative;
  z-index: 1;
  max-width: 390px;
  min-height: 100vh;
  overflow-y: auto;
  margin-left: auto;
  margin-right: 25vw;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sp-content::-webkit-scrollbar {
  display: none;
}

/* 1つ目の背景 */
.bg-top {
  position: relative;
  z-index: 1;
  background-image:
    url("../images/bg-sp-top.svg"), url("../images/bg-sp-center.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size:
    100% auto,
    cover;
}

/* 2つ目以降の背景 */
.bg-center {
  background-image: url("../images/bg-sp-center.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 買えたらラッキー */
.extra {
  padding-top: 60px;
}

.extra p {
  font-family: var(--kaisei);
  font-size: 18px;
  color: var(--white);
  text-align: center;
  background-image: url(../images/extra_speech.png);
  background-repeat: no-repeat;
  background-position: center;
  padding: 2.5em 1em 3em;
}


/* LINEで送る */
.line-content {
  display: none;
}


/*------------------------------------------------------*/
/* ショップブロック */

.shop {
  background-image: url("../images/bg-shop-odd.svg");
  background-repeat: no-repeat;
  background-position: center 75px;
  background-size: 100%;
  padding: 40px 20px 80px;
}

.reverse .shop {
  background-image: url("../images/bg-shop-even.svg");
}

.reverse .number {
  text-align: right;
}

/*------------------------------------------------------*/
/* タイトル */

.title-wrap {
  text-align: center;
}

.title {
  display: inline-block;
  position: relative;
  min-width: 16em;
  text-align: center;
  margin: 0.5em 0 1em;
  padding: 0.5em 1em;
  color: var(--brown);
}

.title::before,
.title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 6px;
  border-top: 2px solid #6e3e0e;
  border-bottom: 2px solid #6e3e0e;
}

.title::before {
  top: 0;
}

.title::after {
  bottom: 0;
}

.title p {
  font-size: 16px;
  font-weight: 700;
}

/*------------------------------------------------------*/
/* item全体 */

.shop-wrap {
  display: flex;
  flex-direction: column;
}

/*------------------------------------------------------*/
/* item1 */

.item-1 {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
  margin: 0.5em 0;
}

.reverse .item-1 {
  flex-direction: row-reverse;
}

.main-store {
  height: 160px;
  width: auto;
}

.main-bread {
  position: absolute;
  top: -40px;
  right: -30px;
}

.reverse .main-bread {
  top: -40px;
  left: -30px;
}

.main-price {
  position: absolute;
  width: 120px;
  bottom: 0px;
  right: 5px;
}

.reverse .main-price {
  bottom: 0px;
  left: 5px;
}

/*------------------------------------------------------*/
/* item2 */

.item-2 {
  display: flex;
  justify-content: center;
}

.reverse .item-2 {
  flex-direction: row-reverse;
}

.shop-txt {
  padding: 10px;
}

.shop-txt h4 {
  margin-bottom: 5px;
  text-align: center;
}

.shop-txt p {
  width: 13em;
}

/* 吹き出し */
.speech-txt {
  position: relative;
  width: fit-content;
  background-image: url(../images/吹き出し右.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

.reverse .speech-txt {
  background-image: url(../images/吹き出し左.svg);
}

.speech-txt p {
  width: 9em;
  margin: 2.5em 1em 1.5em;
  color: var(--red);
}

/*------------------------------------------------------*/
/* item3 */

.item-3 {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.sub-store {
  max-height: 150px;
  width: auto;
}

.sub-bread {
  position: absolute;
  top: -30px;
  right: -30px;
}

.sub-price {
  position: absolute;
  width: 120px;
  bottom: 0px;
  right: 5px;
}

/*------------------------------------------------------*/
/* item4 */

.item-4 {
  display: flex;
  gap: 10px;
}

iframe {
  width: 150px;
  height: 130px;
}

.address p {
  width: 14em;
}

/*------------------------------------------------------*/
/* ニッシンベーカリー */
#nissin .main-bread {
  top: -20px;
  right: -5px;
}

/*------------------------------------------------------*/
/* 手焼きパントリーゴ */
#torigo .main-bread {
  top: -5px;
  left: -10px;
}

#torigo .main-price {
  bottom: -5px;
  left: 5px;
}

#torigo .sub-bread {
  top: -20px;
  right: 0;
}

/*------------------------------------------------------*/
/* サンドイッチマン */
#sandwich .main-bread {
  top: -20px;
  right: -10px;
}

#sandwich .main-price {
  width: 170px;
}

#sandwich .item-3 {
  flex-direction: row-reverse;
}

#sandwich .sub-bread {
  top: -20px;
  left: -10px;
}

#sandwich .sub-price {
  bottom: 5px;
  left: 0;
  width: 160px;
}

/*------------------------------------------------------*/
/* ベーカリーみやぱん */
#miyapan .main-bread {
  left: -10px;
}

/*------------------------------------------------------*/
/* ブンディール・ケケ */
#cke .title span {
  font-size: 14px;
}

#cke .main-bread {
  top: -10px;
  right: 15px;
}

#cke .main-price {
  bottom: -5px;
  right: 0;
}

/*------------------------------------------------------*/
/* CCベーカリー */
#cc .main-bread {
  top: -15px;
  left: -20px;
}

#cc .main-price {
  bottom: -15px;
}

/*------------------------------------------------------*/
/* Orange Fields Bread Factory */
#orange .item-3 {
  flex-direction: row-reverse;
}

#orange .main-bread {
  top: -20px;
  right: -10px;
}

#orange .sub-bread {
  top: -25px;
  left: 0px;
}

#orange .sub-price {
  left: 10px;
  bottom: 0;
  width: 130px;
}

#orange .sub-store {
  margin-left: auto;
}

#orange .item-3 .speech-txt {
  width: 163px;
  background-image: url(../images/吹き出し左下.svg);
}

#orange .item-3 .speech-txt p {
  margin: 1em 2em;
}

/*------------------------------------------------------*/
/* まん福ベーカリー */
#manpuku .main-bread {
  top: -25px;
}

/*------------------------------------------------------*/
/*  */
#a-1 .item-1 {
  margin: 0;
}

#a-1 .main-bread {
  top: 10px;
  right: 15px;
}

#a-1 .item-3 {
  justify-content: space-around;
}

/*------------------------------------------------------*/
/* Happy Camper Bagel */
#bagel .main-bread {
  top: -20px;
  left: -10px;
}

#bagel .main-price {
  width: 140px;
  bottom: -8px;
  left: 10px;
}

/* =========================
   Menu
========================= */

.menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 25vw;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.sp-menu {
  display: none;
}

.menu-item {
  margin: 2vw;
  color: var(--white);
}

.menu-item h2 {
  margin-bottom: 20px;
}

.menu-item li a {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 20px;
  font-family: var(--zen-maru);
  font-size: clamp(14px, 4.12px + 0.964vw, 18px);
}

.menu-item li a:hover {
  color: rgb(243, 203, 151);
}

.qr {
  margin: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.qr p {
  color: var(--white);
}

/* =========================
   SP Responsive
========================= */

@media (max-width: 1024px) {
  h1 {
    font-size: 57px;
  }

  h2 {
    font-size: 35px;
  }

  .sp-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    min-height: 100vh;
    padding: 5vh 0;
  }

  .top {
    display: none;
  }

  .sp-content {
    width: 100%;
    height: 100dvh;
    margin: 0 auto;
  }

  .maintitle,
  .map {
    width: 100%;
  }

  .maintitle h3 {
    font-size: 22px;
  }

  .shop {
    background-position: center 90px;
  }

  .bg-top .shop {
    background-position: center 180px;
    padding: 130px 20px 80px;
  }

  .sp-menu {
    display: block;
  }

  .menu {
    display: none;
  }

  /* ボタン */
  .menu-btn {
    display: block;
    width: 100%;
    margin: 20px auto;
    padding: 20px 30px;
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    text-align: center;
    cursor: pointer;
  }

  .sp-menu .menu-item {
    max-height: 0;
    overflow: hidden;
    transition: 0.5s;
    margin: 0 2em;
  }

  .sp-menu .menu-item h3 {
    margin-bottom: 20px;
  }

  /* menuを開いたときの高さ */
  .sp-menu.open .menu-item {
    max-height: 100vh;
  }

  .sp-menu .menu-item li a {
    font-size: 18px;
  }

  .sp-menu .menu-item ul {
    margin: 1em 0;
  }

  .line-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
  }


}