
@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;
}
.ajst img{
    max-width: 480px;
    display: block;
}

/* スマホ版は通常の縦スクロール */
@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; /* 最大幅を375pxに固定 */
    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;
}

/* メニューセクションのスタイル */
.diagnosis-container {
    text-align: center;
    padding: 20px 0;
    max-width: 480px;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.diagnosis-container .diagnosis-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #8C2323;
    margin-bottom: 32px;
    box-sizing: border-box;
    padding: 0.2em 0;/*上下の余白*/
    border-top: solid 4px #8C2323;/*上線*/
    border-bottom: solid 4px #8C2323;/*下線*/
    display: inline-block;
}

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

.question {
    color: #000;
    text-align: center;
    font-family: YuGothic;
    font-size: 2.4rem;
    line-height: 150%; /* 34.839px */
    }

.question-box {
    display: flex;
    width: 80%;
    padding: 44px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    border-radius: 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #FFF;
    margin-bottom: 54px;
}
.answer-button {
    display: flex;
    width: 66%;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: #FFF;
    color: #D75D49;
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    margin-right: auto;
    margin-left: auto;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    border: 3px solid #D75D49;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25) ;
}

.answer-button.selected {
    display: flex;
    width: 254px;
    padding: 15px 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: 4px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.result-button {
    display: flex;
    padding: 11px 29px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: #FFF;
    border-radius: 88px;
    background-color: #FF9629;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25) ;
}

.result-button.active {
    background-color: #D75D49; /* すべて選択されたらボタン有効化 */
    cursor: pointer;
}






/* フッター */
.footer-container {
    height: 67.6px;
    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;
}
