/*
Theme Name: NOMIHODAI
Description: イタリアン居酒屋
Version: 1.0
Author: Ren
*/


@charset "UTF-8";

/*CSSライブラリのインポート*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&display=swap&subset=japanese");

html {
  font-family: 'Zen Maru Gothic';
}

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

body{
  font-family: "Zen Maru Gothic";
}


.main-visual {
  position: relative; /* 子要素を基準に配置できるようにする */
  width: 100%;
  height: 420px; /* ビューポート全体をカバーする例 */
  overflow: hidden; /* 必要に応じて */
}

.main-visual img{
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.main-visual-text1{
  display: inline-block;
  font-size:80px;
  color:#efe32d;
  text-shadow:
    8px 8px 0 #381d10,
    -2px 2px 0 #381d10,
    2px -2px 0 #381d10,
    -2px -2px 0 #381d10;
  -webkit-text-stroke: 0.1px #fbf5e7;
  font-weight: bold;
  position: absolute;
  z-index: 50;
  top: 50%; /* 親要素の高さの50% */
  left: 50%; /* 親要素の幅の50% */
  transform: translate(-50%, -50%); /* 要素の中心を基準に移動 */
}

.main-background{
  background-image: url(img/background/MENU3.jpg);
  background-size: cover;
  background-position: center;
  background-position: center;
  background-attachment: fixed; /* 背景を固定 */
  padding: 200px 140px;
  overflow: hidden;
  object-fit: cover;
}

@media screen and (max-width: 1376px) {
  .main-background{
    background-image: url(img/background/MENU5.jpg);
    padding: 100px 25px;
  }
}

.menu-text1{
  color: #381d10;
  text-align: center;
}

.menu-text1 dl{
  text-align: center;
  display: inline-block; /* 必要に応じて親要素の中央配置用 */
}

.menu-text1 dt{
  font-size: 24px;
  line-height: 200%;
  display: inline;
  background:linear-gradient(transparent 95%, #381d10 0%);
  padding-bottom: 3px;
  font-weight: 400;
}

h1{
  font-size: 64px;
  font-weight: bold;
  margin-top: 70px;
}

h2{
  font-size: 48px;
  margin-bottom: 70px;
}

@media screen and (max-width: 480px) {
  .main-visual-text1{
    font-size: 63px;
  }
  
  .menu-text1 dl{
    text-align: left;
  }

  .menu-text1 dt {
    background: none;
    line-height: 1.5em;
    padding-bottom: 0;
  }

  .menu-text1 br{
    display: none;
  }

  h1{
    font-size: 48px;
  }

  h2{
    font-size: 31px;
  }
}

@media (min-width: 481px) and (max-width: 820px) {
  .menu-text1 dt{
    font-size: 21px;
  }

  .text-3{
    background-size: 100%;
    background-repeat: no-repeat;
    font-size: 25px;
    width: 100%;
    height: 189px;
    padding-left: 20px;
  }
}

.menu img{
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow:  0 0 8px 4px rgba(0, 0, 0, 50%);
}

.menu img:last-child{
  margin-bottom: 70px;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.button{
  display: flex;
}

.button-1{
  margin: 0 auto;
  width: 300px;
  height: 117px;
  list-style: none;
}

.button-1 a{
  display: block;
  width: 100%;
  height: 100%;
  line-height: 105px;
  font-size: 48px;
  text-decoration: none;
  background-color: #FAF4E6;
  color: #2F2E2C;
  text-align: center;
  cursor: pointer;
  margin-top: -5px;
  box-shadow: 10px 10px 0 #2F2E2C;
  border-radius: 5px;
  font-weight: bold;
  border: solid 4px #2F2E2C;
  border-radius: 29px;
}

.button-1 a:hover{
  transform: translateY(5px);
  box-shadow: 5px 5px 0 #2F2E2C;
}

@media screen and (max-width: 480px) {
  .button{
    display: block;
  }

  .button-1{
    width: 325px;
    height: 70px;
    margin-bottom: 70px;
  }

  .button-1 a{
    line-height: 55px;
    font-size: 38px;
  }
}

footer{
  background-image: url(img/background/footer.png);
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 100px 0;
}

.footer-2{
  display: flex;
  margin: 0 auto;
  justify-content: space-between; /* 子要素の間隔を自動調整 */
  width: 100%; /* 必要に応じて幅を設定 */
}

.left-1{
  margin-left: 140px;
}

.footer-img img{
  width: 509px;
  height: auto;
  position: relative;     /* 要素の重なり防止 */
  object-fit: cover;
  padding: 0 50px 100px 50px;
}

.footer-tel{
  width: 100%;
  height: auto;
  display: inline-block;   /* テキストの幅に合わせた枠を作る */
  padding: 25px 0;       /* 枠と文字の間に余白を作る */
  border: 2px solid #fcf6e8;  /* 枠線のスタイル */
  border-radius: 0;        /* 角を丸めない（四角のまま） */
  background-color: transparent; /* 背景色を透明にする */
}

.tel-1{
  font-size: 35px;
  font-weight: bold;
  line-height: 115%;
  color: #fcf6e8;
  text-align: center;
  margin-bottom: 20px;
}

.footer-tel dd{
  display: flex;
  align-items: center;    /* 縦方向に中央揃え */
  justify-content: center; /* 横方向も中央揃え */
  gap: 15px;              /* imgとspanの間に余白を追加 */
  position: relative;     /* 要素の重なり防止 */
}

.footer-tel img{
  width: 76px;
  height: 76px;
  position: relative;     /* 要素の重なり防止 */
  object-fit: cover;
}

.footer-tel span a{
  font-size: 64px;
  font-weight: bold;
  line-height: 115%;
  color: #fcf6e8;
  position: relative;     /* 要素の重なり防止 */
  text-decoration: none;
}

.sns{
  display: flex; /* 子要素を横並びに */
  gap: 100px; /* アイコン間のスペース */
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 100px 0 20px 0;
  width: 505px;
}

.footer-sns{
  list-style: none;
}

.footer-sns a{
  display: flex;
  width: 76px;
  height: 76px;
}

.footer-sns img{
  width: 76px;
  height: 76px;
  object-fit: cover;
}

.sns-text{
  color: #fcf6e8;
  font-size: 20px;
  text-align: center;
  width: 505px;
}

.right-1{
  margin-right: 140px;
  color: #fcf6e8;
  font-size: 24px;
  font-weight: bold;
  line-height: 135%;
}

.right-1 dl{
  display: flex;
  padding-bottom: 30px;
}

.right-1 dt{
  width: 215px;
}

.right-1 dd{
  flex: 1;
  text-align: left; /* 左揃え */
  margin: 0; /* デフォルトの余白をリセット */
}

.small-text{
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  footer{
    width: 100%;
    padding: 100px 25px ;
  }

  .footer-2{
    display:block;
  }

  .left-1{
    margin: 0;
  }

  .footer-img img{
    width: 100%;
    padding: 0 0 40px 0;
  }

  .footer-tel{
    align-items: center;
    display: grid;
  }

  .tel-1{
    font-size: 28px;
  }

  .footer-tel img{
    width: 44px;
    height: 44px;
  }

  .footer-tel span a{
    font-size: 42px;
  }

  .sns{
    margin: 40px 0 20px 0;
    width: 100%;
  }

  .footer-sns{
    list-style: none;
  }

  .footer-sns a{
    display: flex;
    width: 76px;
    height: 76px;
  }

  .footer-sns img{
    width: 76px;
    height: 76px;
    object-fit: cover;
  }

  .sns-text{
    width: 100%;
    font-size: 15px;
  }

  .right-1{
    margin-right: 0;
    font-size: 16px;
    margin-top: 70px;
  }

  .right-1 dt{
    width: 38%;
  }
}

@media (min-width: 481px) and (max-width: 1376px) {
  footer{
    width: 100%;
    padding: 100px 25px ;
  }

  .left-1 {
    margin: 0 25px 0 0;
  }

  .footer-img img{
    width: 100%;
    padding: 0 0 100px 0;
  }

  .footer-tel{
    align-items: center;
    display: grid;
  }

  .tel-1{
    font-size: 28px;
  }

  .footer-tel img{
    width: 44px;
    height: 44px;
  }

  .footer-tel span a{
    font-size: 45px;
  }

  .sns{
    margin: 100px 0 20px 0;
    width: 100%;
  }

  .footer-sns{
    list-style: none;
  }

  .footer-sns a{
    display: flex;
    width: 76px;
    height: 76px;
  }

  .footer-sns img{
    width: 76px;
    height: 76px;
    object-fit: cover;
  }

  .sns-text{
    width: 100%;
  }

  .right-1{
    margin-right: 0;
    font-size: 24px;
  }

  .right-1 dt{
    width: 33%;
  }
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: #fcf6e8;
  color: #2F2E2C;
  font-size: 52px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  display: none; /* 最初は非表示 */
  transition: opacity 0.3s ease-in-out;
  padding-top: 7px;
  text-decoration: none;
}

.scroll-top:hover {
  background: #2F2E2C;
  color: #fcf6e8;
}

.scroll-top.show {
  display: block;
  opacity: 1;
}