body {
    padding-top: 100px;
}

.page-title {
    color: #d38b3e;
    background-color: #eeeeee;
    padding: 10px 1.5em;
    width: fit-content;
    font-size: 1.5rem;
}

.form-btn {
    color: white;
    border: none;
    font-weight: bold;
    background-color: #d38b3e;
    padding: 10px 10%;
    border-radius: 5px;
}

.text-underline {
    text-decoration: underline;
}

.text-underline-link {
    color: #007bff;
    text-decoration: underline;
}

.box-underline {
    border-bottom: 2px solid lightgray;
    padding: 8px 0;
}

.custom-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1.2em; /* ← 横の余白を狭く */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #d38b3e;
    background-color: white;
    border: 4px solid #dddddd;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap; /* ← 折り返しを防止！ */
    max-width: 100%;
}

.custom-tab-darkorange-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1.2em; /* ← 横の余白を狭く */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background-color: #d38b3e;
    border: 4px solid #d38b3e;
    border-radius: 10px;
    white-space: nowrap; /* ← 折り返しを防止！ */
    cursor: pointer;
}

.custom-tab-lightgray-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1.2em;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    background-color: #e0e0e0;
    border: 4px solid #e0e0e0;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
}

.custom-tab-lightgray-button:hover {
    background-color: #d0d0d0;
    border-color: #d0d0d0;
    text-decoration: none;
    color: #333;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2em;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background-color: #d38b3e;
    border: 4px solid #d38b3e;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
}

.custom-fix-button {
    --color: white;
    --background-color: #d38b3e;
    --border-color: #d38b3e;

    color: var(--color);
    background-color: var(--background-color);
    border: 4px solid var(--border-color);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4em 1.2em;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    white-space: nowrap;
    cursor: pointer;
}

.rectangle-outline-theme {
    color: #d38b3e;
    background-color: white;
    border: 4px solid #d38b3e;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.rectangle-outline-lightgray {
    color: lightgray;
    background-color: white;
    border: 4px solid lightgray;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.underline-theme {
    color: #d38b3e;
    background-color: white;
    border-bottom: 2px solid #d38b3e;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.underline-lightgray {
    color: lightgray;
    background-color: white;
    border-bottom: 2px solid lightgray;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.rounded-40 {
    border-radius: 40px;
}

.border-lightgray-1 {
    background-color: white;
    border: 1px solid lightgray;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.border-lightgray-2 {
    background-color: white;
    border: 2px solid lightgray;
    padding: 0.4em 1.2em;
    text-decoration: none;
}

.min-height-200 {
    min-height: 200px;
}

/* アクティブな状態（今いるタブ） */
.custom-tab-button.is-active {
    border: 4px solid #d38b3e;
}

/* ホバー時に透明度だけ変化 */
.custom-tab-button:hover {
    opacity: 0.8;
}

.search-form {
    flex-grow: 1;
    width: 100%;
    margin-right: 0.5rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem; /* 左に余白 */
    font-size: 1rem;
    border: 2px solid #aaa;
    border-radius: 9999px; /* 楕円形 */
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
}

.sticky-note {
    display: inline-block;
    background-color: #d38b3e; /* お好みで調整 */
    color: white;
    font-size: 1.1rem;
    padding: 0.2em 1.5em;
    position: relative;
    border-radius: 6px;
    white-space: nowrap;
}

.sticky-note::before,
.sticky-note::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #9c622b;
    border-radius: 50%;
}

.sticky-note::before {
    top: 4px;
    left: 4px;
}

.sticky-note::after {
    top: 4px;
    right: 4px;
}

/* 黒板のスタイル */
.outer-border {
    background: linear-gradient(#aaa, #666); /* 外枠のグレーグラデ */
    padding: 5px; /* 外枠の太さ */
    display: inline-block;
    border-radius: 2px; /* 任意で角丸 */
}

.inner-border {
    background-color: white; /* 白フチ */
    padding: 3px; /* 白フチの太さ */
}

.box-content {
    background-color: #2e4b1d; /* 深緑色 */
    color: white; /* 中身の文字色 */
    padding: 1.5em;
    min-width: 300px;
    min-height: 150px;
}

/* 質問カード */
.outer-box {
    border: 2px solid #bbb;
    padding: 4px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
}

.inner-box {
    border: 1px solid #ccc;
    background-color: white;
    padding: 16px;
}

/* リストスタイル */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5em;
}

.step-icon {
    flex-shrink: 0;
    width: 2.5em;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 0.2em;
}

.step-body {
    flex: 1;
    padding-left: 0.5em;
}

.step-title {
    font-weight: bold;
    margin-bottom: 0.25em;
}

.step-description {
    margin: 0;
    color: white;
    font-size: 0.95em;
}

.fs-10 {
    font-size: 10px;
}
.fs-14 {
    font-size: 14px;
}
.fs-16 {
    font-size: 16px;
}
.fs-20 {
    font-size: 20px;
}
.fs-24 {
    font-size: 24px;
}
.fs-28 {
    font-size: 28px;
}

.fc-theme {
    color: #d38b3e;
}

.fc-grey {
    color: grey;
}

.fc-lightgray {
    color: lightgray;
}

.bg-whitesmoke {
    background-color: whitesmoke;
}

.rounded-20 {
    border-radius: 20px;
}

.ml-8 {
    margin-left: 2rem /* 32px */;
}

.tab-outer-rounded {
    width: 90%;
    max-width: 1500px;
    margin: 0px auto;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 64px;
    overflow: hidden;
    position: relative;
}

.tab-header-rounded {
    display: flex;
    justify-content: flex-start;
    background: transparent;
    margin: 0px 75px;
    padding-top: 1.5em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    z-index: 2;
}

.tab-link-rounded {
    flex: 1 1 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: -2px auto;
    color: #bdbdbd;
    background: none;
    border: none;
    outline: none;
    padding: 0 0 0.2em 0;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid lightgray;
    transition: color 0.2s, border-bottom 0.2s;
    z-index: 1;
}

.vertical-line {
    border-left: 2px solid lightgray;
}

.tab-link-rounded.active {
    color: #d38b3e;
    border-bottom: 2px solid #d38b3e;
    z-index: 1;
}

.tab-panel-rounded {
    min-height: 320px;
    padding: 2.5em 2.5em 2.5em 2.5em;
    font-size: 1.2rem;
    z-index: 2;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .tab-link-rounded {
        font-size: 1.2rem;
        padding: 0 0 0.2em 0;
    }
    .tab-panel-rounded {
        padding: 1.5em 0.5em 1.5em 0.5em;
    }
}

/* タブパネルにスクロールを追加 */
.tab-panel-rounded.scrollable {
    max-height: 400px; /* 例: 500px */
    overflow-y: auto; /* 縦スクロール */
}

/* スクロールバーのカスタマイズ（オプション） */
.tab-panel-rounded.scrollable::-webkit-scrollbar {
    width: 4px;
}
.tab-panel-rounded.scrollable::-webkit-scrollbar-thumb {
    background: #d38b3e; /* スクロールバーの色 */
    border-radius: 4px;
}

/* カウントダウンメッセージのスタイル */
#countdownMessage {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}
