@charset "UTF-8";
/* 全体レイアウト */
html {
    font-size: 62.5%; /* 10px = 1rem */
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background: #FFF8F0;
    box-sizing: border-box;
}

body::before {
    content: '';
    display: block;
    width: calc(100% - 480px);
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    background-image: url("../images/menu-item/all_set.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 100%;
}

h2 {
    font-size: 2.8rem;
}

.wrapper {
    float: right;
    max-width: 480px;
}

/* スマホ版は通常の縦スクロール */
@media screen and (max-width: 1023px) {
    .photo-container {
        display: none;
    }

    .wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* 固定ヘッダー */
.sticky-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%; /* 幅を100%にする */
    max-width: 480px; /* 最大幅を480pxに固定 */
    z-index: 1000;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto;
}
.sticky-headerInner {
    position: relative;
    padding: 15px 20px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 30px 30px;
    z-index: 2;
}


/* 他のスタイルはそのまま適用 */


.header-container {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
}

.beer-hall {
    font-size: 16px;
    font-weight: bold;
    align-self: flex-start; /* 左端に寄せる */
    width: 100%; /* 親幅いっぱいにする */
    padding-left: 10px; 
    text-align: left; /* テキストを左寄せ */
}

/* h1とopenbtnを横並び */
.header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.header-title h1 {
    color: #000;
    font-family: "Zen Maru Gothic";
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    flex-grow: 1; /* h1 を適切に伸ばす */
}

.header-title h1 span {
    color: #D75D49;
    font-family: "Zen Maru Gothic";
    font-weight: 700;
}

.openbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
}

.openbtn span {
    display: block;
    position: absolute;
    left: 0;
    height: 3px;
    width: 30px;
    background: #FE9425;
    transition: all 0.4s;
    border-radius: 50px;
}

.openbtn span:nth-of-type(1) { top: 12px; }
.openbtn span:nth-of-type(2) { top: 24px; }
.openbtn span:nth-of-type(3) { top: 36px; }

.openbtn.active span:nth-of-type(1) {
    top: 21px;
    left: 0;
    transform: rotate(45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;/*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3){
    top: 21px;
    left: 0;
    transform: rotate(-45deg);
}

@media screen and (max-width: 1023px) {
    .sticky-header {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* 目次セクション */
#toc {
    display: block;
    text-align: center;
    padding: 20px 20px;
}

/* 目次のリスト（背景に唐揚げの写真を設定） */
.toc-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 500;
    flex-grow: 100vh-57px;
    padding: 20px 0;
    background: url('../images/menu-item/all_set.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    height: calc(100%-100px);
}
/* 目次の各リンク */
.toc-list li {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.toc-list li a {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 10px 0px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}
.toc-list .myunnhenn-info a {
    font-size: 24px;
    font-weight: 700;
}

/* ホバー時の効果 */
.toc-list li a:hover {
    background: rgba(0, 0, 0, 0.6);
    color: #FE9425;
}

/* みゅんへんとは */
.toc-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: black;
    margin-top: 30px;
}

@media screen and (min-width: 1024px) {
    .toc-list {
        background: none;
        background-color: #D75D49;
    }
}

#toc-container {
    position: fixed;
    top: -100%;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100dvh;
    background: rgba(255, 248, 240, 0.95); /* 背景を半透明に */
    z-index: 1;
    transition: top 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#toc-container.toc-slide-container {
    height: 100dvh;
}


#toc-content {
    position: relative;
    width: 100%;
    height: calc(100% - 67.6px);
    max-width: 480px;
    padding: 120px 20px 20px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}
@media (max-height:668px) {
    .toc-slide-container {
      overflow-y: scroll;
    }
    #toc-containt {
      width: 100%;
      height: 668px;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      align-content: space-between;
    }

    .sticky-header,
    .wrapper,
    .footer-container,
    #toc-container,
    #toc-content {
        max-width: 100%; /* ⚡ 画面幅いっぱいを使う */
    }

    .toc-slide-container .footer-container {
        margin-top: 45px;
    }
}

/* ハンバーガーメニューが開いた時 */
#toc-container.open {
    top: 0;
}

@media (max-height:668px) {
    .toc-container {
      overflow-y: scroll;
    }
    .toc-container{
      width: 100%;
      height: 668px;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      align-content: space-between;
    }
  }


/* hashtag.css */
.hashtag-container {
    text-align: center;
    padding: 20px 0;
    max-width: 480px;
    padding-top: 120px;
  }
  
.hashtag-main-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #8C2323;
  padding: 0.2em 0;
  box-sizing: border-box;
  border-top: solid 4px #8C2323;/*上線*/
  border-bottom: solid 4px #8C2323;/*下線*/
  text-align: center;
  display: inline-block;
  margin-bottom: 32px;;
}
  
  .hashtag-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .hashtag-main-container img {
    width: 100%;
    
  }
  
  .hashtag-message {
    font-size: 2rem;
    font-weight: bold;
    color: #D75D49;
  }
  
  .hashtag-note {
    font-size: 1.4rem;
    color: #555;
  }
  
  /* 質問セクション */
  .question-box
   {
    background: #fff;
    border-radius: 30px;
    padding: 24px;
    margin: auto;
    margin-bottom: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 436px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  .question-title {
    font-size: 2rem;
    font-family: Yugothic;
  }

  .question-title span {
    font-size: 1.2rem;
    display: block;
    margin-top: 6px;
    padding-bottom: 24px;
  }


.check-box {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 16px;
  text-align: center;
}

.check-box label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.6rem;
  color: #8C2323;
  max-width: 335px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.check-box label span {
  display: flex;
  justify-content: center;
  font-family: 'Yugothic';
}

.check-box input {
  display: none;
}

.check-box input + .text {
  width: 335px;
  background-color: #FFE5C9;
  padding: 10px 0 10px 75px;
  border-radius: 30px;
}

.check-box input + .text::before {
  content: "";
  display: inline-block;
  background-image: url("../../assets/images/icon/checkbox_off.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
  margin-right: 20%;
  position: absolute;
  left: 20%;
}


.check-box input[value="ソーセージ"] + .text::before {
  transform: translateY(50%);
}

/* 選択状態のチェックボックス */
.check-box input:checked + .text::before {
  background-image: url("../../assets/images/icon/checkbox_on.png");
}

/* 背景色も変えたい場合（オプション） */
.check-box label input:checked + .text {
  background-color: #FFC486;
  border-radius: 30px;
  padding: 10px 0 10px 75px;
  width: 100%;
}
  /* 生成ボタン */
  .generate-button {
    background: #D75D49;
    border-radius: 30px;
    max-width: 230px;
    width: 100%;
    padding: 17.5px 31.5px;
    cursor: pointer;
    margin: 24px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
  }
  .generate-button:hover {
    background: #b04538;
  }

  .generate-button-title {
    color: white;
    font-size: 2.4rem;
    width: 100%;
  }
  
  /* 生成された文章表示エリア */
  .generated-text-area 
    {
      font-family: 'Noto Sans JP', sans-serif;
      color: #000;
      background: #fff;
      border-radius: 15px;
      padding: 24px;
      margin: auto;
      writing-mode: horizontal-tb;
      margin-bottom: 24px;
      box-sizing: border-box;
      width: 100%;
      max-width: 436px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }

    .defo {
      display: none;
    }

    /* フレームが表示される際に visibility を変更 */
.generated-text-area.visible {
  display: block;
  visibility: visible;  /* 表示させる */
}


  .generated-text-area .username {
    font-family: 'Yugothic', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 120%;
  }
  .generated-text-area .message {
    font-size: 2rem;
    text-align: left;
    width: 100%;
    margin: 0 auto;
    max-width: 255px;
    line-height: 160%;
    border-top: solid;
    border-top-width: 2px;
    padding-top: 6px;
  }

  .generated-text-area span.keyword {
    color: #D75D49;
    font-weight: bold;
    margin: 0 auto;
  }

  /* OKなら投稿ボタン */
  .post-button {
    display: none;
    align-items: center;
    background: #D75D49;
    border-radius: 30px;
    max-width: 230px;
    width: 100%;
    padding: 17.5px 31.5px;
    cursor: pointer;
    margin: 24px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
  }

  .post-button:hover {
    background: #b04538;
  }

  .post-button-title {
    color: white;
    font-size: 2.4rem;
    width: 100%;
  }
  
  .post-button-icon {
    width: 24px;
  }

/* フッター */
.footer-container {
    background-color: #FFFFFF;
    color: #8C2323;
    text-align: center;
    padding: 10px 86px;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px -2px 100px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 0px 0px;
}

/* フッター内のアイコンコンテナ */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* X アイコン（22px × 23px） */
.social-icons .icon-x img {
    width: 22px;
    height: 23px
}

/* Instagram アイコン（24px × 24px） */
.social-icons .icon-instagram img {
    width: 24px;
    height: 24px;
}

/* Map アイコン（29px × 29px） */
.social-icons .icon-map img {
    width: 26px;
    height: 26px;
}

.footer-container p {
    font-size: 1.2rem;
    padding-top: 8px;
}

  