@charset "utf-8";

:root {
  --base-color: #e9edd5;
  --footer-color: #b7e0b4;
  /* --main-color: #f0d7b4; */
  --main-color: #fff1f1;
  --character--color-bl: #121212;
  --character--color-wh: #fff;
}

/* リセット ----------------------------------------------------------------*/

html {
  /* VALUES MIN:1rem MAX:3rem VIEWPORT MIN:1300px MAX：4000px で算出*/
  font-size: clamp(1rem, 0.037rem + 1.19vw, 3rem);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  color: #121212;
  font-family: "Times New Roman", Times, serif;
}
img {
  object-fit: cover;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: #121212;
  transition: 0.3s;
}
a:hover {
  opacity: 0.8;
}
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ul,
li {
  margin: 0;
  padding: 0;
}

/* --------------------------
共通スタイル
-------------------------- */
.title {
  margin-bottom: clamp(2rem, -2.242rem + 9.7vw, 6rem);
  font-size: clamp(2rem, 1.385rem + 3.08vw, 4rem);
  font-weight: normal;
  line-height: 0.5;
  text-align: center;
  & span {
    font-weight: normal;
    font-size: 0.8rem;
  }
}
.wrapper {
  /* スマホの場合は左右のmarginを0にする */
  /*  VIEWPORT MIN:700px MAX:1360pxで算出 */
  margin: clamp(3rem, 1.769rem + 6.15vw, 7rem)
    clamp(1rem, -8.545rem + 21.82vw, 10rem);
}
.bg {
  background-color: var(--base-color);
  /* .wrapperのmargin,paddingと揃える  */
  padding: clamp(2rem, -1.182rem + 7.27vw, 5rem)
    clamp(1rem, -8.545rem + 21.82vw, 10rem);
}
.main {
  width: 100%;
  /* VIEWPORT MIN:700px MAX:1360pxで算出 */
  /* スマホの場合は適時調整 */
  /* headerのheightによっては変更する場合もある */
  padding-bottom: clamp(3rem, 2.385rem + 3.08vw, 5rem);
}
.logo a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #fff;
  border: 1px solid var(--character--color-wh);
}

.blank {
  display: none;
}
.ham {
  display: none;
}

/* -----------
header
----------- */
#header {
  padding: 1rem clamp(1rem, 0.385rem + 3.08vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 100%;
  z-index: 1;
  .nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 0.939rem + 2.42vw, 3rem);
    & img {
      width: 30px;
    }
    & a {
      font-size: 1.2rem;
      color: #fff;
      text-shadow: 1px 1px 1px black;
    }
    & span {
      font-size: 0.8rem;
    }
    & li {
      text-align: center;
    }
  }
}
/* -----------
main
----------- */
.mainvisual {
  width: 100%;
  height: 100vh;
  margin-bottom: 5rem;
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
#gallery {
  padding-top: clamp(1rem, -0.206rem + 6.12vw, 5rem);
  .loop {
    padding-bottom: 30px;
    display: flex;
    overflow: hidden;
  }
  .loop__box {
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    animation: loop-list 15s linear infinite;
  }
  .loop__item {
    width: calc(100vw / 4);
  }
  .loop__item img {
    width: 100%;
    border-left: 1px solid #ffffff;
  }
}
@keyframes loop-list {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.loop:hover .loop__box {
  animation-play-state: paused;
}
#concept {
  padding-bottom: clamp(1rem, -0.206rem + 6.12vw, 5rem);
  .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
    & p {
      margin-bottom: 1rem;
    }
    & img {
      width: 100%;
      height: 250px;
    }
  }
}
#recommended {
  .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    & img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }
    & h3 {
      margin: 1rem 0 0.5rem;
    }
  }
  .price {
    padding: 1rem;
    & dl {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      font-size: 0.9rem;
    }
    & dt {
      width: 70%;
      border-bottom: 1px dashed rgb(200, 166, 183);
    }
    & dd {
      width: 30%;
      text-align: right;
      border-bottom: 1px dashed rgb(200, 166, 183);
    }
  }
}
#recommended.bg {
  background-color: var(--main-color);
}
#exterior {
  & img {
    width: 100%;
    height: clamp(6.25rem, 2.404rem + 19.23vw, 18.75rem);
    object-fit: cover;
  }
}

#reservation {
  text-align: center;
  .container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
    padding: 2rem;
    & img {
      width: 30px;
    }
    & p {
      font-size: 1.5rem;
    }
  }
}

#access {
  .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .text {
    margin-bottom: 1rem;
  }
  & p {
    line-height: 1.7;
  }
  & img {
    width: 100%;
    height: 300px;
  }
}
#instagram {
  text-align: center;
  .button {
    position: relative;
    width: clamp(16.875rem, 12.542rem + 22.01vw, 31.25rem);
    height: clamp(3rem, 2.077rem + 4.62vw, 6rem);
    margin: 2rem auto 0 auto;
    align-content: center;
    transition: 0.3s;
  }
  .button a {
    display: block;
  }
  .button::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/Mini_cake_gallery.webp);
    filter: brightness(0.7);
    background-size: cover;
    background-position: center center;
    z-index: -1;
  }
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    & img {
      width: 30px;
    }
    & p {
      color: #fff;
    }
  }
  & h2 {
    font-size: clamp(1.6rem, 1.323rem + 1.38vw, 2.5rem);
    font-weight: normal;
  }
  .italic {
    font-style: italic;
  }
  .button:hover {
    opacity: 0.4;
  }
}
/* -----------
footer
----------- */
#footer {
  background-color: var(--footer-color);
  color: #333;
  .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: clamp(2rem, 1.096rem + 4.59vw, 5rem)
      clamp(1rem, -0.206rem + 6.12vw, 5rem);
  }
  .logo a {
    margin-bottom: 2rem;
    color: #333;
    border-color: #333;
  }
  .copy {
    text-align: center;
    font-size: 0.8rem;
    padding-bottom: 0.8rem;
  }
}
