@import url(reset.css);
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap");

/******* 共通　*********/
body {
  font-family: "Noto Sans", sans-serif;
}

.inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

h3 {
  font-size: 32px;
  color: #655046;
  font-weight: bold;
  margin-bottom: 21px;
  text-align: center;
}

h4 {
  font-size: 16px;
  font-weight: normal;
  color: #655046;
  margin-bottom: 60px;
  text-align: center;
}

section[id] {
  scroll-margin-top: 122px;
}

#contact {
  scroll-margin-top: 30px;
}

/********* ヘッダー　*********/
header {
  width: 100%;
  height: 80px;
  background-color: #134222;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
  left: 0;
  z-index: 1000;
}

header .inner {
  display: flex;
  align-items: center;
}

.header_notice {
  display: flex;
  align-items: center;
}
.header_notice span,
.header_notice a,
.header_notice button {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-left: 20px;
}
.header_notice .news {
  padding-right: 30px;
  border-right: solid 1px #fff;
}

.header_notice button {
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header_notice button:hover {
  color: rgb(182, 182, 182);
}

.notice_link {
  text-decoration: none;
}

.notice_link:hover {
  text-decoration: underline;
}
.nav_panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: #655046;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease,
    transform 0.6s ease;
  flex-direction: column;
  align-items: center;
  padding-top: 130px;
}

.nav_panel.is-active {
  /* display: flex; */
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav_panel_logo {
  width: 140px;
  margin-bottom: 60px;
}

.nav_panel_logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav_panel_sns {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
.nav_panel_sns a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s ease;
}

.nav_panel_sns a:hover {
  color: rgb(182, 182, 182);
}

.nav_list {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: 0;
  gap: 0;
}
.nav_list li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0; /* 余計なマージンをすべてカット */
  padding: 0;
}

.nav_list li:last-child {
  border-bottom: none;
}

.nav_list li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  text-align: center;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.nav_list li a:hover {
  color: rgb(182, 182, 182);
}

.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 1001;
  width: 40px;
  margin-right: auto;
  position: relative;
  z-index: 1001;
}

.hamburger_text {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-top: 4px;
  line-height: 1;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  margin-bottom: 6px;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/

/********* メインビジュアル　*********/
main {
  padding-top: 148px;
}

.mv {
  margin-top: 80px;
  background-size: cover;
  background-position: center;
  height: 80vh;
  margin-bottom: 128px;
  position: relative;
  overflow: hidden;
}

.mv-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 200px; /* ロゴ画像の実際のサイズに合わせて調整 */
}
.mv-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.mv-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation-name: sizeScale;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}
.mv-bg--1 {
  background-image: url(img/mv.jpg);
  animation-delay: 0s;
}

.mv-bg--2 {
  background-image: url(img/mv02.jpg);
  animation-delay: 4s;
}

.mv-bg--3 {
  background-image: url(img/mv03.png);
  animation-delay: 8s;
}

@keyframes sizeScale {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  16.6% {
    opacity: 1;
    transform: scale(1.03);
  } /* 2秒かけてフェードイン完了 */

  33.3% {
    opacity: 1;
    transform: scale(1.06);
  } /* 4秒地点まで保持 */
  50% {
    opacity: 0;
    transform: scale(1.08);
  } /* 6秒地点でフェードアウト完了 */

  100% {
    opacity: 0;
    transform: scale(1.08);
  } /* 残り時間は透明で待機 */
}

.catch {
  padding-bottom: 130px;
}

h2 {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  color: #655046;
  letter-spacing: 0.1em;
  padding-top: 30px;
  text-align: center;
}
span {
  font-family: "Julius Sans One", sans-serif;
  font-size: 26px;
  text-align: center;
  display: block;
}
/********* アバウト　*********/
#about {
  text-align: center;
  background-image: url(img/illust_coffeebean.png);
  background-repeat: no-repeat;
  background-size: 120px;
  background-position: right 30px top 0;
  padding-bottom: 130px;
}

.about_content {
  display: flex;
}
.about_img {
  width: 50%;
  margin-right: 30px;
}

.about_text {
  flex: 1;
}

.about_text p {
  text-align: left;
  line-height: 2.5;
  font-size: 18px;
  margin-top: -13.5px; /* (18px × 2.5 - 18px) ÷ 2 = 13.5px 分を打ち消す */
}
.about_text img {
  max-width: 300px;
  margin-top: 70px;
  margin-left: auto;
  display: block;
}

/********* メニュー　*********/
#menu {
  position: relative;
}

#menu h3 {
  position: relative;
  z-index: 2;
}

.illust_pot {
  position: absolute;
  top: -5px;
  left: 20px;
  width: 120px;
}

.menu_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 90px;
}
.menu_list li {
  width: calc((100% - 100px) / 3);
  text-align: center;
}
.menu_list li:last-child {
  margin-bottom: 90px;
}
.sp_name {
  font-size: 18px;
  margin-bottom: 20px;
}
.sp_price {
  font-size: 18px;
  margin-bottom: 5px;
}
.sp_text {
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 2.5;
}

/********* メニューバック　*********/
.menu_back {
  background-image: url(img/bk_menu.jpg);
  background-size: cover;
  margin-bottom: 80px;
  padding: 79px 0;
}

.sp_menu {
  display: flex;
  gap: 20px 40px;
  justify-content: space-between;
}
.sp_menu + .sp_menu {
  margin-top: 60px;
}
.text,
.img {
  width: 50%;
}
.img img {
  width: 100%;
  height: auto;
}

.text p {
  color: #fff;
}

/********* アクセス　*********/

#access .inner {
  background-image: url(img/illust_shop.png);
  background-repeat: no-repeat;
  background-size: 50%;
  padding-bottom: 150px;
  background-position: right 20px bottom;
  background-origin: content-box;
}
.access_info {
  text-align: left;
  margin-bottom: 24px;
}
.access_info p {
  font-size: 16px;
  color: #655046;
  line-height: 2;
}

.access_time {
  font-size: 14px;
  margin-bottom: 130px;
}

.access_line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.map iframe {
  display: block;
}

/********* コンタクト　*********/
.contact {
  padding: 90px 0 140px;
  background-image: url(img/contact_bg.jpg);
  background-size: cover;
  background-position: 150% center;
}

/* フォーム */

form {
  max-width: 420px;
  margin: 120px auto;
}

.contact h3,
.contact h4 {
  color: #fff;
}

.feedback-input {
  margin-bottom: 27px;
}

label {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  background: rgba(255, 255, 255, 0.5);
  border: 1px #fff solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 390px;
}

input[type="submit"] {
  color: #fff;
  border: none;
  cursor: pointer;
  line-height: 2.5;
  width: 200px;
  background: #cc6666;
  border-radius: 5px;
  margin-inline: auto;
  display: block;
  transition: background 0.3s ease;
  margin-top: 80px;
}

[type="submit"]:hover {
  background: #cc4949;
}

textarea {
  height: 220px;
}

/********* フッター　*********/
footer {
  background-color: #134222;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}

footer p {
  font-size: 12px;
  align-items: center;
  text-align: center;

  color: #fff;
}

/********* レスポンシブ　*********/

@media screen and (max-width: 1000px) {
  header.inner {
    padding: 0 20px;
  }
}

/* タブレット・スマホ（768px以下） */
@media screen and (max-width: 768px) {
  header {
    padding: 0;
    flex-direction: row;
  }

  header .inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
  }

  .notice_link {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mv .inner {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav_panel_logo {
    width: 80%;
    /* margin-bottom: 60px; */
  }

  h2 {
    font-size: 36px;
    line-height: 1.6;
    padding-top: 30px;
    text-align: center;
    text-wrap: balance;

    margin: 0;
  }

  .menu_list li {
    width: calc((100% / 2) - 10px);
  }

  .about_content {
    flex-direction: column;
  }
  .about_img,
  .about_text {
    width: 100%;
    margin-top: 50px;
  }

  .about_text img {
    margin-inline: auto;
  }

  #access .inner {
    background-size: 80%;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 390px) {
  .header_notice .news {
    display: none;
  }

  .mv {
    height: 60vh;
  }
  .menu_list li {
    width: 100%;
  }
  .sp_menu {
    flex-direction: column;
  }
  .sp_menu:last-child {
    flex-direction: column-reverse;
  }
  .text,
  .img {
    width: 100%;
  }
}
