body {
    /* font-family: 'Arial', sans-serif; */
    /* font-family: 'UD デジタル 教科書体', sans-serif; */
    font-family: sans-serif;
    /* margin: 0;
    padding: 0; */
    background-color: #f4f4f4;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* min-height: 100svh; */
    /* box-sizing: border-box; */
    overflow: hidden;
    user-select: none;
    /* 横スクロールバーを非表示にする */
    /* font-size: 62.5%; の指示は取り下げ */
    font-size: 16px;
}

.wrap {
    display: grid;
    height: 90svh;
    width: 95svw;
    /* width: 100%; */
    grid-template-columns: 1fr;
    grid-template-rows: 10svh 90svh;
    align-items: center;
    margin: auto;
}

.breadcrumb-container {
    /* width: 100%; */
    /* background-color: #e9e9e9; */
    padding: 10px 20px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* position: fixed; */
    top: 0;
    left: 0;
    z-index: 100;

    grid-row: 1 / 2;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* 変更: 0.9em (16px * 0.9 = 14.4px) -> 0.9rem */
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    text-decoration: none;
    color: #555;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    /* 選択肢が長い場合に折り返しを防ぐ */
}

.breadcrumb a:hover {
    background-color: #d4edda;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #aaa;
}

.quiz-container {
    /* display: flex; */
    width: 100%;
    /* height: 100svh; */
    /* max-height: 100%; */
    /* position: relative; */
    height: 90svh;
    overflow: hidden;

    grid-row: 2 / 3;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
    /* padding-top: 1.25rem; */
    /* padding-right: 20px; */
    padding-bottom: 1.25rem;
    /* padding-left: 20px; */
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.slide-content {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    /* 変更: 1em (16px) -> 1rem */
    padding-top: 1rem;
    /* 変更: 1.5em (24px) -> 1.5rem */
    padding-right: 1.5rem;
    /* 変更: 0.5em (8px) -> 0.5rem */
    padding-bottom: 0.5rem;
    /* 変更: 1.5em (24px) -> 1.5rem */
    padding-left: 1.5rem;
    width: 80%;
    max-height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: auto;
    /* display: grid;
    grid-template-columns: 1fr; */
    /* grid-template-rows: 1fr 13fr; */
    /* grid-template-rows: 1fr 3fr; */
}

.question {
    text-align: left;
    margin-bottom: 10px;
    /* 変更: 1.5em (16px * 1.5 = 24px) -> 1.5rem */
    font-size: 1.5rem;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.questionStyle {
    background-color: #d4edda;
    /* 親(24px)基準: 0.1em (2.4px) 0.2em (4.8px) -> 0.15rem 0.3rem */
    padding: 0.15rem 0.3rem;
    /* 親(24px)基準: 0.2em (4.8px) -> 0.3rem */
    border-radius: 0.3rem;
    /* 親(24px)基準: 0.5em (12px) -> 0.75rem */
    margin-right: 0.75rem;
    /* border-color: #6aaa8d; */
}

.sportsName {
    text-align: left;
    color: #555;
    /* 変更: 0.8em (16px * 0.8 = 12.8px) -> 0.8rem */
    font-size: 0.8rem;
}

.ansers {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

.anser {
    background-color: #e9f7ef;
    border: 1px solid #b8e0c8;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    /* 変更: 1.1em (16px * 1.1 = 17.6px) -> 1.1rem */
    font-size: 1.1rem;
    color: #2c3e50;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.anser:hover {
    background-color: #d4edda;
    transform: translateY(-2px);
}

/* 選択した箇所を強調表示するスタイル */
.anser.is-selected {
    background-color: #a7d9b9;
    border-color: #6aaa8d;
    box-shadow: 0 0 10px rgba(106, 170, 141, 0.5);
    font-weight: bold;
    color: #1a422f;
}

.anser>img {
    /* 親(17.6px)基準: 1.5em (26.4px) -> 1.65rem */
    width: 1.65rem;
    height: auto;
}

.anser>span {
    /* 親(17.6px)基準: 0.5em (8.8px) -> 0.55rem */
    margin-left: 0.55rem;
    vertical-align: middle;
}

.ansChoices {
    /* overflow: auto; */
    /* max-height: fit-content; */
}

.ansContent {
    /* border: 1px solid gray; */
    /* border-radius: 8px; */
    /* padding: 0.2rem 0rem; */
    margin-bottom: 0.7rem;
    /* padding-left: 1.2rem; */

    padding-top: 0rem;
    padding-right: 0rem;
    padding-bottom: 0.2rem;
    padding-left: 1.2rem;

    /* text-indent: 1em; */ /* 1em (16px) -> 1rem */
}

.ansHeader {}

.ansContent:not(:last-child, :has(.conMovie), :has(.conPage)) {
    border-bottom: solid 1px gray;
}

.ansContent:last-child {
    margin-bottom: 0rem;
}

.ansText {
    display: inline;
    vertical-align: super;
}

.strBold {
    font-weight: bold;
    display: contents;
}

.ansActive {
    display: inline;
    white-space: nowrap;
}

.ansIcon {
    display: inline;
    height: 2rem;
    margin-right: 0.7rem;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* .contentsViewrBoot>iframe, */
.contentsViewrBoot>.grayout {
    margin: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 500;

}

.contentsViewrBoot>iframe,
.contentsViewrBoot>#imgViewr,
.contentsViewrBoot>#iconViewr {
    z-index: 1000;
    margin: auto;
    position: fixed;
    top: 5svh;
    bottom: 10svh;
    right: 0;
    left: 0;
}

.contentsViewrBoot>iframe,
.contentsViewrBoot>.grayout {
    display: flex;
}

.contentsViewrBoot>iframe {
    width: 80svw;
    height: 80svh;
}

iframe html {
    display: flex;
    justify-content: center;
}

.grayout {
    width: 100svw;
    height: 100svh;
    background-color: black;
    opacity: 0.33;
}

.closeBtn {
    background-color: #333;
    color: #e9f7ef;
    z-index: 2000;
    /* 変更: 2em (32px) -> 2rem */
    font-size: 2rem;
    font-weight: bold;
    /* 親(32px)基準: 1.5em (48px) -> 3rem */
    width: 3rem;
    /* 親(32px)基準: 1.5em (48px) -> 3rem */
    height: 3rem;
    /* padding: 0.1em; */
    position: fixed;
    /* 親(32px)基準: 5em (160px) -> 10rem */
    border-radius: 10rem;
    text-align: center;
    bottom: 2svh;
    cursor: pointer;
}

.closeBtnL {
    left: 3svw;
}

.closeBtnR {
    right: 3svw;
}

/* 画像表示機能 */
#imgViewr {
    max-width: 80svw;
    /* max-height: 60svh; */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    /* 変更: 1.5em (24px) -> 1.5rem */
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 15fr 1fr;
    grid-template-rows: 1fr 15fr 1fr;
    overflow: auto;
}

.imgHeader {
    text-align: left;
    /* margin-bottom: 20px; */
    /* 変更: 1.5em (24px) -> 1.5rem */
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    grid-row: 1/2;
    grid-column: 1/4;
}

.imgImg {
    justify-content: center;
    align-items: center;
    display: flex;
    grid-row: 2/3;
    grid-column: 2/3;
}

.imgImg>img {
    /* max-width: 80svw;
    max-height: 50svh; */
    /* height: 40svh; */
    width: 100%;
    height: 100%;
    /* アスペクト比を保ってコンテナに収める */
    object-fit: contain;
}

#arrowL>img,
#arrowR>img {
    /* 変更: 3em (48px) -> 3rem */
    width: 3rem;
    height: auto;

    /* display: none; */
}

#arrowL {
    grid-row: 2/3;
    grid-column: 1/2;
    margin: auto;
}

#arrowR {
    grid-row: 2/3;
    grid-column: 3/4;
    margin: auto;
}


.imgPage {
    text-align: right;
    grid-row: 3/4;
    grid-column: 1/4;
}

/* ぱらぱら */
.paraparaIframe {
    background-color: #fff;
    /* 変更: 1em (16px) -> 1rem */
    border-radius: 1rem;
}

.paraparaIframe * {
    overflow: hidden;
}

/* ヒント */
.tipsIframe {
    background-color: #fff;
    /* 変更: 1em (16px) -> 1rem */
    border-radius: 1rem;
}

.tipsIframe * {
    overflow: hidden;
}

/* スライドのアイコン */
.slideIcon{
    border-radius: 3px;
    border: solid 1px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    padding: 0.3rem;
    height: 2.5rem;
    width: 4rem;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-rows: 3fr 1fr;
}

.slideIconLMargin{
    margin-left: auto;
}

.slideIconRMargin{
    margin-right: 1rem;
}

.iconInfoText {
    font-size: 0.7rem;
}

.iconBackText {
    font-size: 0.9rem;
    margin: auto;
}

.iconTipsText {
    font-size: 0.8rem;
    margin: auto;
}

.slideIconImg{
    height: 1.5rem;
    width: 100%;
    margin: auto;
}

#iconViewr {
    max-width: 80svw;
    max-height: 60svh;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    /* 変更: 1.5em (24px) -> 1.5rem */
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 15fr;
    height: 100%;
    overflow: auto;
}

.iconHeader {
    /* 変更: 1.5em (24px) -> 1.5rem */
    font-size: 1.5rem;
    font-weight: bold;
    grid-row: 1/2;
}

.iconContents {
    display: table;
    width: 100%;
    margin-top: 10px;
    grid-row: 2/3;
    vertical-align: middle;
}

.iconContents img {
    /* 変更: 2.5em (40px) -> 2.5rem */
    height: 2.5rem;
    margin: auto;
    /* vertical-align:middle; */
}

.iconContents td:has(img) {
    text-align: center;
    width: 10%;
}

.iconContents span {
    /* 変更: 1.3em (20.8px) -> 1.3rem */
    font-size: 1.3rem;
}

.conMovie,
.conPage {
    color: white;
    /* 変更: 0.15em (2.4px) 0.5em (8px) -> 0.15rem 0.5rem */
    padding: 0.15rem 0.5rem;
}

.conMovie {
    background-color: #DF5656;
}

.conPage {
    background-color: #38AEEA;
}

.ansContent:has(.conMovie, .conPage) {
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-end;
    padding-left: 0rem !important;
}

/* 開発用モード */
#developMode {
    /* 変更: 2em (32px) -> 2rem */
    font-size: 2rem;
    position: absolute;
    right: 0;
    background-color: #38AEEA25;
}