@charset "utf-8";

:root {
  --bg-green: #647a6a;
  --text: #333;
  --box-shadow: #737373 4px 4px 6px;
  --cafe-menu-bg: #f0f2e4;
  /* contact-area */
  --bg-gray: #efefef;
  --h-order-btn: #41754f;
  --m-order-btn: #005a1898;
}

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

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

footer a:hover {
  opacity: 0.4;
}

img {
  vertical-align: bottom;
  width: 100%;
}

body {
  font-family: "Hannari", "Hina Mincho", sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  color: var(--text);
}

header {
  font-family: "Hannari", "Hina Mincho", sans-serif;
}

.en {
  font-family: "Raleway", sans-serif;
}

li {
  list-style-type: none;
}

h2 {
  writing-mode: vertical-rl;
  font-size: 2rem;
  /* font-size: clamp(26px, 2.5vw, 60px); */
  font-weight: 400;
  padding: 0 4%;
  letter-spacing: 0.5rem;
  margin-bottom: 60px;
}

.contact-bg h2 {
  padding-top: 30px;
}

/* cursor */
#cursor {
  pointer-events: none;
  width: 30px;
  height: 30px;
  background: rgba(255, 208, 0, 0.5);
  position: fixed;
  top: -18px;
  left: -18px;
  border-radius: 50%;
  transition: 0.15s;
}

#g-nav .content {
  /* margin-bottom: 80px; */
}

/*-------------------------------------------

予約btn位置 
-------------------------------------------*/
#g-nav {
  position: relative;
}

.reserve-btn {
  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 150px;

  &:hover {
    transform: translateY(-20px);
    transition: all 0.4s;
    opacity: 0.5;
  }
}

/* .reserve-btn {
  width: 150px;
  animation: rotate-animation 15s linear infinite;
}

@keyframes rotate-animation {
  to {
    transform: rotate(360deg);
  }
} */

/*-------------------------------------------
table
-------------------------------------------*/
table {
  border-spacing: 0;
}

th,
td {
  font-weight: 500;
  font-size: 18rpx;
  vertical-align: text-bottom;
}

th {
  text-align: left;
  width: 270px;
}

td {
  text-align: right;
  width: 92px;
}

/* 横並びのtable間 */
.cafeMenu table,
.menu table {
  margin: 0 20px 30px 0;
}

/*-------------------------------------------
menu
-------------------------------------------*/
.cafeMenu {
  width: 90%;
}

.menu {
  text-align: center;
}

.menu-notice {
  width: 400px;
  margin: 0 auto;
  text-align: left;
  white-space: nowrap;
}

.menu-title {
  display: inline-block;
  /* margin: 0 auto; */
  font-size: 30px;
  letter-spacing: 0.5rem;
  margin-bottom: 60px;
  border-bottom: 1px solid #fff;
  text-align: center;

  position: relative;
}

.cafeMenu .menu-title {
  border-bottom: #46270e 1px solid;
}

.menu-title::after {
  content: attr(title-ja);
  font-family: "Hannari", "Hina Mincho", sans-serif;
  font-size: 16px;

  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}

/* green-box */
.menu-box {
  background-color: var(--bg-green);
  padding: 60px;
  color: #fff;
}

/*-------------------------------------------
btn 矢印
-------------------------------------------*/
.btn-white {
  position: relative;
  display: inline-block;
  background-color: #fff;

  color: var(--text);
  padding: 10px 30px;
  text-align: center;
  letter-spacing: 0.1rem;
  font-size: 18px;
  font-weight: 700;
  margin: 40px auto 0px auto;
  box-shadow: var(--box-shadow);
  border-radius: 2px;
  white-space: nowrap;
  /*アニメーションの指定効いてない気がする*/
  transition: 0.4s;

  &:hover {
    background-color: #6e8861;
    border: #fff 1px solid;
    color: #fff;
    transition: transform 0.3s ease-in-out;
  }
}

/* 矢印が右に移動 */

.btn-white::after {
  content: "";
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  top: 38%;
  right: 20px;
  /*矢印の形状*/
  width: 15px;
  height: 15px;
  border-top: 3px solid #ababab;
  border-right: 3px solid #ababab;
  transform: rotate(45deg);
  /*アニメーションの指定*/
  transition: all 0.4s;
}

/*hoverした際の移動*/
.btn-white:hover::after {
  right: -30px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/*-------------------------------------------
menu-title english & japanese
-------------------------------------------*/
.menu-title {
  margin-bottom: 60px;
}

/*-------------------------------------------
section
-------------------------------------------*/
section {
  margin-bottom: 100px;
}

#news {
  margin-bottom: 100px;
}

.w1080 {
  margin: 0 auto 100px auto;
  max-width: 1080px;
  padding: 0 4%;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.table-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/*-------------------------------------------
product & reservation btn
-------------------------------------------*/
.products a,
.res-btn-area a {
  transition: all 0.4s;
}

.products a:hover,
.res-btn-area a:hover {
  opacity: 0.4;
  scale: 1.1;
}

/* 左右共通 */
.text-box {
  font-size: 30px;
  letter-spacing: 0.3em;
  text-align: center;
}

.green-box,
.pink-box {
  position: relative;
  box-shadow: var(--box-shadow);
}

.filter-green {
  background-color: #c2cfc7;
  opacity: 0.7;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.products-left,
.products-right {
  position: relative;
}

/* 中の白枠の線も */
.p-text-box-left,
.p-text-box-right {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: #fff 2px solid;
  padding: 40px;
  background-color: #ffffff7b;
  z-index: 2;
}

.filter-pink {
  background-color: #cfc2c2;
  opacity: 0.7;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.products .content {
  justify-content: space-between;
  gap: 40px;
}

.products .text-box p:nth-of-type(2) {
  white-space: nowrap;
}

/*-------------------------------------------
footer
-------------------------------------------*/
footer {
  padding-top: 60px;
  background-color: var(--bg-green);
  color: #ffffff;
}

footer ul {
  width: 60%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.row1,
.row2 {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}

footer ul li a {
  font-family: "Hannari", "Hina Mincho", sans-serif;

  &:hover {
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
  }
}

footer p {
  text-align: center;
  padding: 20px 0 20px 0;
}



@media (max-width: 768px) {


  /* 予約btn */
  .reserve-btn {
    width: 100px;
    bottom: 10px;
    right: 10px;
  }

  .content,
  .table-content {
    flex-direction: column;
  }

  .table-content {
    align-items: center;
  }

  /* about */
  #about .content {
    flex-direction: column-reverse;
  }

  .logo {
    margin-bottom: 40px;
  }

  /* table*/
  table {
    margin: 0 auto 30px auto;
  }

  .table-left {
    margin-bottom: 60px;
  }

  /* menu */
  .btn-white {
    padding: 10px 15px;
  }

  .btn-white::after {
    display: none;
  }

  /* product */

  /* 中の白枠の線も */
  .p-text-box-left,
  .p-text-box-right {
    padding: 20px;
  }

  footer ul {
    width: 100%;

  }

  .row1,
  .row2 {
    flex-direction: column;
  }

}