@charset 'utf-8';

:root {
  /* カラー管理 ------------------------------------------------------------*/
  --base-color: #fceed9;
  --main-color: #d72638;
  --accent-color: #6da34d;
  --sub-color: #ffa630;
  --color-bg: #fefefe;
  --color-text: #333;
  /* メインのフォント ------------------------------------------------------------*/
  --font-base: "Zen Maru Gothic", sans-serif;
  --text-font: "Noto Sans JP", sans-serif;
  /* セクションのフォントサイズ ------------------------------*/
  --section-title: clamp(2.25rem, 1.977rem + 1.36vw, 3rem);
  /* セクション間のマージン ------------------------------*/
  --section-margin: clamp(6rem, 5.273rem + 3.64vw, 8rem);
}

/* カスタムリセット・ベース  ------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

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

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

p {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: var(--font-base);
}

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

a {
  text-decoration: none;
  color: var(--color-text);

  font-family: var(--text-font);
}

/* トップページ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

body {
  background-color: var(--base-color);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-inner {
  height: 80px;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--main-color);
  text-decoration: none;
}

#nav_pc {
  display: flex;
}

#nav_pc ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}

#nav_pc ul li:nth-child(4) {
  margin-right: 1.3rem;
}

#nav_pc ul li a,
.order-btn,
.order-btn-sp {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#nav_pc ul li a {
  color: #4e342e;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}

.order-btn-wrapper,
.order-btnーsp-wrapper {
  position: relative;
  text-align: center;
}

.order-btn::after,
.order-btn-sp::after {
  content: "";
  width: 25px;
  height: 25px;
  background-color: var(--main-color);
  position: absolute;
  top: -7px;
  right: -6px;
  border-radius: 50%;
}

.order-btn,
.order-btn-sp {
  display: inline-block;
  background-color: var(--accent-color);
  padding: 0.3rem 0.6rem;
  border-radius: 0.8rem;
  color: #fff;
  transition: all 0.3s ease;
}

.order-btn:hover,
.order-btn-sp:hover {
  background-color: var(--main-color);
}

.order-btnーsp-wrapper {
  position: absolute;
  top: 18px;
  right: 95px;
}

.order-btn-sp {
  padding: 5px 10px;
  display: none;
  font-size: 12px;
  font-weight: 600;
}

.order-btn-sp::after {
  width: 16px;
  height: 16px;
}

#nav_pc ul li a:hover {
  color: var(--main-color);
  transition: all 0.3s ease;
  transform: translateY(-3px);
}

.nav-icon {
  width: clamp(1.125rem, 0.966rem + 0.8vw, 1.563rem);
  height: clamp(1.125rem, 0.966rem + 0.8vw, 1.563rem);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ハンバーガーメニュー ----------------------------------------------------------------------------------------*/
.hamburger {
  display: none;
  top: 20px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--main-color);
  cursor: pointer;
  z-index: 9999;
  position: absolute;
}

.hamburger span {
  position: absolute;
  transform-origin: center center;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background-color: #ffffff;
  transition: 0.2s;
}

.hamburger span:nth-child(1) {
  top: 12px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 30px;
}

.hamburger.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
  top: 50%;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 50%;
}

/* オーバーレイメニュー全体 ------------------------------------------------------------*/
.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--base-color);
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.overlay.active {
  display: flex;
}

#nav_mb ul {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin: 0 auto;
  width: fit-content;
}

#nav_mb ul li {
  width: 100%;
  margin-bottom: 2rem;
}

#nav_mb ul li a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 2rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

#nav_mb ul li img {
  width: 32px;
  height: 32px;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

/* CTAバナー ----------------------------------------------------------------------------------------*/
.overlay-banner {
  text-align: center;
}

.order-banner {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.order-banner:hover {
  background-color: #ff5a5a;
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  background-color: var(--main-color, #6da34d);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top img {
  width: 60px;
}


/* カルーセル ----------------------------------------------------------------------------------------*/
main {
  padding-top: 80px;
  margin-bottom: var(--section-margin);
}

.carousel {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  margin-top: 0;
  position: relative;
  padding-bottom: 1rem;
}

.carousel ul {
  /* ← 横スワイプを許可 */
  touch-action: pan-y;
  pointer-events: auto;
}

.carousel-container {
  width: 100%;
  aspect-ratio: 1.4125;
  /* height: calc(100vh - 80px); */
  overflow: hidden;
}

.carousel-container ul {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-container li {
  min-width: 100%;
  height: 100%;
  list-style: none;
}

.carousel-container img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.4125;
  object-fit: contain;
  border-radius: 16px;
}

/* 矢印ボタン */
#prev,
#next {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  width: clamp(2.188rem, 1.619rem + 2.84vw, 3.75rem);
  height: clamp(2.188rem, 1.619rem + 2.84vw, 3.75rem);
  font-size: 1.7rem;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  cursor: pointer;
  z-index: 100;
  border: none;
  font-weight: bold;
}

#prev {
  left: -30px;
}

#next {
  right: -30px;
}

/* ドットナビ */
.dots {
  position: absolute;
  text-align: center;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10%);
  z-index: 10;
}

.dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  margin: 0 4px;
  background: #ccc;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dots button:hover {
  transform: scale(1.4);
}

.dots .current {
  background: var(--main-color);
}


/* インナー：各セクション共通 ----------------------------------------------------------------------------------------*/
.inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* キャンペーン ----------------------------------------------------------------------------------------*/
.picup {
  margin-bottom: var(--section-margin);
}

.picup-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

/* タイトル：各セクション共通 ----------------------------------------------------------------------------------------*/
.title {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.heading {
  padding: 0 0 20px;
  font-size: var(--section-title);
  background-image: repeating-linear-gradient(-45deg,
      #d72638 0px,
      #d72638 2px,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%);
  background-size: 8px 8px;
  background-repeat: repeat-x;
  background-position: center bottom;
}

.picup-container a {
  width: calc(50% - 13px);
  display: block;
  position: relative;
}

.picup-container a::after {
  content: "NEW!";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--main-color);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 7px;
  text-decoration: none;
}

.picup-container a:nth-child(2)::after {
  content: "期間限定!";
}

.picup-container a:nth-child(3)::after {
  content: "おすすめ！!";
}

.picup-container img {
  width: 100%;
  transition: filter 0.3s ease;
  filter: brightness(1);
  border-radius: 16px;
}

.picup-container img:hover {
  filter: brightness(1.4);
}

.section-btn-wrapper {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  margin-top: 2rem;
}

.section-btn {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 3rem;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-bottom: var(--section-margin);
  font-family: var(--text-font);
}

.section-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* ミニバナーコーナー ----------------------------------------------------------------------------------------*/
.mini-bnr {
  margin-top: 2rem;
}

.mini-bnr-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mini-card {
  display: block;
  flex: 1 1 calc((100% - 48px) / 3);
  width: 400px;
  border: 1px solid #ccc;
  padding: 1rem;
  background-color: #fff;
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  border-radius: 1rem;
}

.mini-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.mini-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mini-card p {
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
}

.mini-card img {
  width: 100%;
  transition: filter 0.3s ease;
  filter: brightness(1);
  border-radius: 16px;
}

.mini-card img:hover {
  filter: brightness(1.4);
}

/* メニュー ----------------------------------------------------------------------------------------*/
.swiper {
  position: relative;
  padding-bottom: 40px;
}

.swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.swiper-pagination-bullet {
  background-color: var(--main-color);
  opacity: 0.4;
  transition: 0.3s;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

.menu-carousel .section-title {
  font-size: var(--section-title);
  margin-bottom: var(--section-margin);
}

.my-menu-swiper {
  position: relative;
}

.menu-card-list {
  display: flex;
  list-style: none;
}

.menu-card {
  width: auto;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
}

.menu-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.menu-card h3 {
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

.menu-card h3,
.menu-card p {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--main-color);
  pointer-events: auto;
}

/* NEWS ----------------------------------------------------------------------------------------*/
.news {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.news-wrapper {
  width: 100%;
  padding: 1rem;
  background-color: #fff;
  border-radius: 1rem;
}

.news-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.news-wrapper ul li {
  padding-bottom: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px dotted #bbb;
}

.news-wrapper ul li:last-child {
  border-bottom: none;
}

.news-wrapper ul li a {
  display: inline-block;
  color: var(--color-text);
  font-size: 1rem;

}

.news-wrapper ul li a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

.news-wrapper ul li time {
  color: #8d8d8d;
  font-size: 14px;
}

.news-wrapper article {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}


/* リクルート -------------------------------------------------------------------------------------*/
.recruitment {
  margin-bottom: var(--section-margin);
}

.recruit-containner {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.recruit-card {
  max-width: none;
  width: calc(50% - 12px);
  border-radius: 1rem;
  background-color: #fff;
  color: var(--color-text);
  display: block;
}

.recruit-card-container {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.recruit-text-wrapper {
  padding: 0.8em;
}

.recruit-text-wrapper h3 {
  font-family: "Noto Sans JP", sans-serif;
}

.recruit-text-wrapper p {
  padding-top: 1rem;
}

.recruit-card-container img {
  width: 50%;
  display: block;
  object-fit: cover;
  padding: 0.8rem;
}

/* 絵文字 */

.loop-container {
  width: 100%;
  height: 80px;
  /* 画像の高さに合わせて */
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

.loop-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 80px;
  background-image: url("../images/emiji.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  animation: scrollLoop 20s linear infinite;
  background-color: var(--base-color);
}

@keyframes scrollLoop {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -50% 0;
  }
}

/* footer --------------------------------------------------------------------------------------*/

footer {
  background-color: #fff;
  font-family: var(--text-font);
}

.footer-container {
  display: flex;
  justify-content: space-around;
  padding: 2rem 4% 4rem;
}

.sns-wrapper h2 {
  margin-bottom: 1.3rem;
}

.sns-wrapper h2 a {
  color: var(--main-color);
  letter-spacing: 0.05em;
}

.sns-wrapper ul {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.sns-wrapper ul a {
  display: inline-block;
}

.sns-wrapper ul li a img {
  width: 30px;
}

.footer-menu-wrapper h3 {
  font-family: var(--text-font);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.footer-menu-wrapper ul li {
  margin-bottom: 0.8rem;
}

.footer-menu-wrapper ul li a {
  color: var(--color-text);
}

.footer-menu-wrapper ul li a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

.footer-nav-wrapper {
  display: flex;
  gap: 4rem;
}

.copy {
  background-color: var(--accent-color);
  text-align: center;
  padding: 2rem;
}

.copy small {
  color: #fff;
}


/* スマホ対応：７６８px以下 --------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .header-inner {
    height: 70px;
    position: relative;
  }

  #nav_pc {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .order-btn-sp {
    display: block;
  }

  main {
    padding-top: 70px;
  }

  .menu-slider {
    margin-top: var(--section-margin);
  }

  .mini-bnr {
    display: none;
  }

  .my-menu-swiper .swiper-slide {
    width: auto;
    /* Swiperが滑らかに横スクロールできるように */
  }

  .news-wrapper article {
    flex-direction: column;
    gap: 0.3rem;
  }

  .news-wrapper ul li time {
    width: auto;
  }

  .picup-container a {
    width: 100%;
    display: block;
  }

  .recruit-containner {
    flex-direction: column;
  }


  .recruit-card {
    width: 100%;
  }

  .recruit-card-container {
    flex-direction: row;
  }

  .recruit-card:nth-of-type(even) .recruit-card-container {
    flex-direction: row-reverse;
  }

  .recruit-card-container img {
    width: 40%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-nav-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .recruit-containner a:nth-of-type(4) {
    display: none;
  }

  .loop-bg {
    height: 50px;
    width: 100%;
    animation: scrollLoop 10s linear infinite;
  }


}

/* カルーセルのサイズ調整------------------------------------------------------------------------------------ */
@media screen and (max-width: 760px) {
  .carousel-container img {
    /* height: auto; */
    /* 高さ固定をやめる */
    aspect-ratio: 0.7;
    /* スマホ縦長画像に合わせて調整 */
    object-fit: contain;
    /* 画像を切らずに収める */
  }

  .carousel-container {
    aspect-ratio: 0.7;
  }
}

@media screen and (max-width: 1500px) {
  #prev {
    left: 10px;
  }

  #next {
    right: 10px;
  }
}

/* PCでは表示 （念の為）-------------------------------------------------------------------------------------*/
@media screen and (min-width: 769px) {
  .order-btn-sp {
    display: none;
  }

  .mini-bnr {
    display: block;
    margin-bottom: var(--section-margin);
  }
}