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

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;
}



/* PC版で写真を左に固定する */
@media screen and (min-width: 1024px) {
    .photo-container {
        position: fixed;
        left: 0;
        top: 0;
        width: calc(100% - 480px); /* 480px 分の余白を確保 */
        height: 100%;
        background-color: #000;
        display: flex;
        justify-content: center;
        align-items: center;
        object-fit: cover;
    }

    .photo-container img {
        height: 100%;
        object-fit: cover;
    }
}

/* スマホ版は通常の縦スクロール */
@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: auto 0;
}
.sticky-headerInner {
    position: relative;
    padding: 15px 20px;
    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);
}

.diagnosis-container .diagnosis-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #8C2323;
    padding: 0 20px;
    margin-bottom: 32px;
    box-sizing: border-box;
    padding: 0.2em 0;/*上下の余白*/
    border-top: solid 4px #8C2323;/*上線*/
    border-bottom: solid 4px #8C2323;/*下線*/
    text-align: center;
    display: inline-block;
}

.description {
    color: #000;
    text-align: center;
    font-family: YuGothic;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 32px;
}
@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;
}
/* 目次の各リンク */
.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-container {
      overflow-y: scroll;
    }
    .toc-slide-container {
      width: 100%;
      height: 668px;
      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-result {
    text-align: center;
    padding: 20px 0;
    max-width: 480px;
    padding-top: 120px;
}
.diagnosis-result  .diagnosis-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #8C2323;
    padding: 0 20px;
    margin-bottom: 36px;
    box-sizing: border-box;
    padding: 0.2em 0;/*上下の余白*/
    border-top: solid 4px #8C2323;/*上線*/
    border-bottom: solid 4px #8C2323;/*下線*/
    text-align: center;
    display: inline-block;
}


.result-image-container img {
    max-width: 480px;
    display: block;
}

.result-frame img {
    width: 100%; /* 親要素に応じた可変幅 */
    max-width: 80%; /* 横幅を327pxに制限 */
    height: auto; /* 縦横比を維持 */
    display: block; /* 余計なスペースを削除 */
    margin: 0 auto; /* 画像を中央寄せ */
    padding: 36px 0;
    background-color: #FFF8F0;
}

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




/* フッター */
.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: 12px;
    padding-top: 8px;
}

