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

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

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;
    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: 15px;
    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-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;
    }
  }


/* メニュー全体のスタイル */
.diagnosis-container {
    text-align: center;
    padding: 20px 0;
    max-width: 480px;
    padding-top: 120px;
}
/* 見出しデザイン */
.diagnosis-container .diagnosis-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;;
}


/* 唐揚げ4種類の写真エリア */
.menu-main-container {
    position: relative; /* 親要素として基準を設定 */
    width: 100%;
    text-align: center;
    margin-bottom: 32px; /* メニューとの間に余白 */
}
/* 診断タイトル */
.diagnosis-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #8C2323;
    text-align: center;
    background: #D75D49;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* 説明文 */
.description-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
    background-color: #FFFFFF;
    border-radius: 30px;
    margin: 0 auto;
    margin-bottom: 32px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.description {
    color: #000;
    text-align: center;
    font-family: YuGothic;
    font-size: 2.4rem;
    margin-bottom: 32px;
}

.description, .warning {
    font-size: 1.6rem;
    text-align: left;
    padding: 0 5rem;
    margin-bottom: 1.5rem;
    line-height: 150%;
    text-align: justify;
    font-family: "Noto sans jp";
}

.warning {
    font-size: 1.2rem;
    text-align: left;
    line-height: 150%;
    margin-bottom: 0;
}

/* 画像コンテナ */
.image-container {
    width: 100%;
}
.image-container img{
    width: 100%;
    display: block;
}

/* 画像コンテナ */
.result-image-container img {
    width: 100%;
    display: block;
}

/* 診断スタートボックス */
.start-box {
    background: white;
    padding: 24px 0;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    margin: 32px auto;
    max-width: 80%;
}
.start-text-box {
    display: flex;
    width: 302px;
    height: 166px;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 80%;
}

.start-text-box .question,
.start-text-box .subtitle {
    font-size: 2.4rem;
    font-family: "Yugothic", "Noto sans jp";
    color: #333;
    margin-bottom: 29px;
    text-align: center;
}

.start-button {
    display: flex;
    width: 254px;
    padding: 32px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: #D75D49;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    margin-right: auto;
    margin-left: auto;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
}
.start-button img {
    vertical-align: middle;
    width: auto;
}




/* フッター */
.footer-container {
    height: 67.6px;

    background-color: #FFFFFF;
    color: #8C2323;
    text-align: center;
    padding: 10px 86px;
    max-width: 480px;
    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;
}
