@charset "utf-8";
:lang(en) {
  font-family: 'Josefin Sans', 'fot-tsukuardgothic-std', sans-serif;
  font-weight: 300; /* 英語だけ太めに */
}

body {
  font-family: "FOT-TsukuARdGothic Std", sans-serif;
}

.menuWrap{
  position:relative;
  max-width:1000px;
  margin: 0 auto;
}

.hamburger {
   position: absolute;
  right: 0;      
  top: 10px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000;
}

.nav-menu {
  display: none;
  background-color: white;
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 999;
}

.nav-menu.open {
  display: block;
}

.nav-menu ul{
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.nav-menu li{
  padding: 0;
  margin: 0;
}

.nav-menu a{
  color: #8c6c57 !important;
  text-decoration: none;
  display: block;
  padding:10px 20px;
  text-align: center;
  margin: 0 auto;
  width: auto;
  box-sizing: border-box;
}

body {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  background-color: #8c6c57;
  color: white;
  line-height: 1.8
}

.innnerWrap {
justify-content: space-between;
display: flex;
align-items:center;
max-width: 1000px;
width: 100%;
margin: 0 auto;
padding: 0;
box-sizing: border-box;
gap: 40px;
position:relative;
}

.headerWrap{
  flex-direction: row;
  justify-content: space-between;
  align-items:center;
}

header, footer {
  background-color:#5a6157;
}

.logo{
margin-right: auto; 
}

.logo img{
  display: block;
  height: 30px;
}

nav a {
  color: white;
  text-decoration: none;
}

.nav ul{
  display: flex !important;
  flex-wrap:nowrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li{
flex: 0 0 auto;
white-space: nowrap;
}

nav{
  width: auto;
}

body{
text-align: center;
}

.wrapper{
position:relative;
display:flex;
justify-content: center;
}

.image{
 display: block;
 margin-top: 100px;
 margin-left: auto;
 margin-right: auto;
 max-width: 100%;
}

.box{
position:absolute;
top: 0;
left: 40%;
transform: translateX(-200px);
width: 400px;
height: 170px;
background-color: #5a6157;
z-index: 2;
padding-top: 10px;
text-align: center;
line-height: 230px;
font-size: 36px;
font-weight: 700;
font-family:'Josefin Sans', sans-serif;
 letter-spacing: 2px; /* 文字間隔少し広げる */ 
}

h2 {
  font-size: 30px; /* 元24px → 大きく */
  font-weight: 700;
  color: #fff8e7;
  display: inline-block;
  margin-top: 50px; /* 上に余裕 */
    border-bottom: 4px solid #fff8e7;
  padding-bottom: 2px;          /* 文字との間隔 */
}

.box-line{
 position: absolute;
 top: 5%;
 right:40%;
 width: 40%;
 height: 5px;
 background-color: white;
 margin: 8px auto 0;
 z-index: 3;
 margin-bottom: 5px;
}

.Spaghetti{
margin-top: 50px;
}

.menu-item{
  position: relative;
  text-align: center;
  margin: 30px auto;
  width: max-content;
  font-size: 16px !important; /* 強制上書き */
  line-height: 1.4; /* 少し詰めると見た目が良くなる */
}

.badge-circle{
  position: absolute;
  left: -70px;
  top:30%;
  height: 60px;
  padding-top:5px;
  padding-bottom: 5px;
  transform: translateY(-50%);
  background-color: #534234;
  color: white;
  border-radius: 50%;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;

  display:flex;
  justify-content: center;
  align-items: center;

  white-space: normal;
  box-sizing:border-box;
}

.badge-text{
  line-height: 1;
  display: inline-block;
}

.menu-name{
  display: inline-block;
  margin:0;
}

.Sandwich{
 margin-top: 50px;
}

footer{
 margin-top: 50px;
 margin-bottom: 0;
}

footer nav a {
  margin-left: 0px;
}

footer nav ul{
  list-style: none;
   gap: 20px; /* 任意のpx値に調整 */
}

footer{
display: flex;
justify-content: center;
}

a,
a:visited,
a:hover,
a:active {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0 10px;
    line-height: 1.6;
  }

  /* タイトルボックスの位置とサイズ調整（左上） */
   .box {
    position: absolute;
    top: 40px;
    left: 0;
    transform: none;
    width: 150px;
    height: 80px;
    padding: 15px;
    line-height: normal;
    font-size: 24px;
  }

  .box-text {
    position: relative;
    top: 60px;
    left: 0px;
  }

  /* 白い線も左寄せに */
  .box-line {
    position: absolute;
    top: 70px;
    left: 0px;
    transform: none;
    width: 80%;
    height: 4px;
  }

  /* メニュー画像 */
  .image {
    margin-top: 120px;
    width: 100%;
    height: auto;
  }

    .wrapper{
margin-top:30px;
}


  /* 見出し */
  h2 {
    font-size: 20px;
    margin-top: 30px;
    border-bottom-width: 3px;
  }

  /* ハンバーガーメニュー */
  .hamburger {
    font-size: 28px;
    top: 15px;
    right: 15px;
  }
  .nav-menu {
    width: auto;
    right: 0;
    top: 50px;
  }

    .hamburger,
.nav-menu {
  margin: 0;
  padding: 0;
}

  /* フッター */ 
html, body {
  overflow-x: hidden;
}

 footer {
   position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #5a6157;
}

 html, body {
  overflow-x: hidden; /* 横スクロール防止 */
}

footer .nav {
  margin-left: 30px;
  padding-right: 20px; /* 実機で右端が切れないよう調整 */
  box-sizing: border-box;
}

footer .headerWrap {
  max-width: 1000px;       /* 中身の幅制限 */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;

  transform: translateX(-60px); /* 全体を左にずらす */
}

  .logo {
  height: 60px !important;
  object-fit: contain;
  left:0;
  margin-right: 10px;
}

  footer .nav ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
  }

  footer .nav li a {
    font-size: 14px;
  }


}