/* stamprally.css */

main {
    all: unset; /* すべてのスタイルをリセット */
    overflow-x: hidden;
}

.main-wrapper {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-size: 2rem;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    color: #540F00;
    height: 100%;
    margin: 138px auto 0 auto;
    padding: 0;
  background: linear-gradient(135deg, rgba(255, 249, 222, 0.5) 25%, transparent 25%) -40px 0,
              linear-gradient(225deg, rgba(255, 249, 222, 0.5) 25%, transparent 25%) -40px 0,
              linear-gradient(315deg, rgba(255, 249, 222, 0.5) 25%, transparent 25%),
              linear-gradient(45deg, rgba(255, 249, 222, 0.5) 25%, transparent 25%);
  background-size: 80px 80px;
  background-color: #fff;

}

.main.container {
    max-width: 1040px;
    width: 100%; /* 親コンテンツと同じ幅に設定 */
}

.main h1, .main h2, .main h3, .main h4 {
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main .top-header h1, .main .top-header h2 {
    display: none; /* 見出しを非表示に */
}

.main h1 {
    display: none; /* 見出しを非表示に */
    background: none;
    color: #EA5532;
    text-shadow: 2px 2px 0 #FFE45F, -2px -2px 0 #FFE45F, 2px -2px 0 #FFE45F, -2px 2px 0 #FFE45F; /* 袋文字効果 */
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 4em; /* フォントサイズを大きく */
    font-weight: bold; /* 太字に */
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    transition: transform 0.3s, text-shadow 0.3s; /* アニメーションを追加 */
}

.main h2 {
    background: none; /* 背景色無し */
    color: #EA5532; /* テキストカラーを設定 */
    text-shadow: none; /* テキストシャドウを無しに */
    margin-top: 50px;
    margin-bottom: 50px;
}
@media (max-width: 767px) {
    .main h2 {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.main h3 {
    color: #fff;
    font-family: 'RocknRoll One', sans-serif;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    letter-spacing: 0.2em; /* 文字間を少し広げる */
    background-color: #EA5532;
    border-radius: 50px; /* 最大まで丸く */
    text-shadow: none; /* テキストシャドウを無しに */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
    margin-top: 50px;
    margin-bottom: 50px;
}

.main h4 {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 3.2rem;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    color: #EA5532; /* テキストカラーを設定 */
    margin-top: 30px;
    margin-bottom: 30px;
}

.main h5 {
    font-family: 'RocknRoll One', sans-serif;
    font-size: 2rem;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    color: #EA5183; /* テキストカラーを設定 */
    margin-top: 10px;
    margin-bottom: 10px;
}

.main h1 {
    font-size: 4.8rem;
    font-weight: 900; /* heavy */
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
}

.main h2 {
    font-size: 4rem;
    font-weight: 900; /* heavy */
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
}

.main h3 {
    font-size: 3.2rem;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
}

.main a {
    display: inline;
}

.main p.lead {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-size: 2rem;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    margin-bottom: 50px; /* Increased margin */
    text-align: left;
}



.main ul, .main ol {
    padding-left: 20px;
    list-style: none;
}

.main ul li, .main ol li {
    position: relative;
    padding-left: 40px;
}

.main ul li::before {
    content: "•";
    color: #FFE55F;
    font-weight: bold;
    font-size: 1.5em;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    position: absolute;
    left: 0;
    top: 0;
}

.main ol li {
    counter-increment: step-counter;
}

.main ol li::before {
    content: counter(step-counter);
    color: #fff;
    background-color: #FFE55F;
    border-radius: 50%;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    line-height: 1.5em;
    font-weight: bold;
    font-size: 1em;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    position: absolute;
    left: 0;
    top: 0;
}

.main p {
    margin-bottom: 40px; /* Increased margin */
    white-space: pre-line;
}

@media (max-width: 767px) {
    .main p {
        margin-bottom: 5px; /* Increased margin */
    }
}

.main .text-center {
    text-align: center;
}

/* カードスタイル */
.main .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.main .card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px; /* Increased margin */
    padding: 20px;
    width: calc(50% - 10px);
    box-sizing: border-box;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.main .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.main .card h4 {
    color: #fff;
    background-color: #00AEBB;
    padding: 10px;
    border-radius: 4px 4px 0 0;
    margin: -20px -20px 10px -20px;
    text-align: center;
    font-size: 2.4rem;
}

.main .chuo h4 {
    background-color: #F08437;
}

.main .seibu h4 {
    background-color: #FABE00;
}

.main .keio h4 {
    background-color: #187FC4;
}

.main .marunouchi h4 {
    background-color: #D9527C;
}


.main .card .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100%;
}

.main .card .button-container a {
    background: none;
    color: #510D0E;
    padding: 10px 15px;
    border: 2px solid #510D0E;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    width: 60%;
    transition: background 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.main .card .button-container a:hover {
    background: #510D0E;
    color: #fff;
}

.main .card .button-container::before {
    content: none; /* 縦線を削除 */
}

.main .card .chuo a {
   color: #F08437;
   border: 2px solid #F08437;
}

.main .card .chuo a:hover {
   background: #F08437;
   color: #FFF;
}

.main .card .chuo .button-container::before {
    background: #F08437;
}

.main .card .seibu a {
   color: #FABE00;
   border: 2px solid #FABE00;
}

.main .card .seibu a:hover {
   background: #FABE00;
   color: #FFF;
}

.main .card .seibu .button-container::before {
    background: #FABE00;
}

.main .card .keio a {
   color: #187FC4;
   border: 2px solid #187FC4;
}

.main .card .keio a:hover {
   background: #187FC4;
   color: #FFF;
}

.main .card .keio .button-container::before {
    background: #187FC4;
}

.main .card .marunouchi a {
   color: #D9527C;
   border: 2px solid #D9527C;
}

.main .card .marunouchi a:hover {
   background: #D9527C;
   color: #FFF;
}

.main .card .marunouchi .button-container::before {
    background: #D9527C;
}

.main .custom-card {
    border: 1px solid #EA5532; /* ボーダーを追加 */
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
    transition: transform 0.2s; /* ホバー時のアニメーション */
    width: 100%; /* カードの幅を100%に */
}

.main .custom-card:hover {
    transform: scale(1.05); /* ホバー時に拡大 */
}

.main .custom-card .card-header {
    font-family: 'RocknRoll One', sans-serif;
    color: #EA5532; /* テキストカラーを設定 */
    padding: 10px; /* パディングを追加 */
    font-size: 2.4rem; /* フォントサイズを調整 */
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    border-bottom: 1px solid #ddd; /* ボーダーを追加 */
    text-align: center; /* 見出しを中央揃えに */
    background: #FFF;
}

.main .custom-card .card-body {
    padding: 20px; /* パディングを追加 */
}

@media (max-width: 767px) {
    .main .custom-card .card-body {
        padding: 10px;
    }
}

.main .custom-card .card-text {
    font-size: 2rem; /* テキストのフォントサイズを調整 */
    color: #555; /* テキストの色を調整 */
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
}

.credit-wrapper {
    background-color: #EA5532;
    padding: 50px 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #FFF;
    font-size: 18px;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    overflow-x: hidden; /* 追加 */
}

.credit {
    margin: 0 auto;
    padding: 40px 20px;
    max-width: 1040px;
    box-sizing: border-box;
}

.main .banner {
    text-align: center;
}

.main .banner img {
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block; /* 画像をブロック要素に */
    margin: 0 auto; /* 画像を中央寄せ */
}

@media (max-width: 767px) {
    .main .banner img {
        height: 80px;
    }
}

.main .banner img:hover {
    transform: translateY(10px);
    filter: brightness(1.2);
}

.main .row {
    margin-top: 20px; /* 上に余白を追加 */
    margin-bottom: 20px; /* 下に余白を追加 */
}

@media (max-width: 767px) {

    .main-wrapper {
        margin: 50px auto 0 auto;
        font-size: 1.6rem;
        transform: none;
    }

    .main .container {
        padding: 10px;
    }

    .main h1 {
        font-size: 3.2rem;
    }

    .main h2 {
        font-size: 2.6rem;
    }

    .main h3 {
        font-size: 2.4rem;
        letter-spacing: 0.0em;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .main h4 {
        font-size: 2.4rem;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .main p.lead {
        font-size: 1.6rem;
    }

    .main .card {
        width: 100%;
    }
}

/* 店舗情報 */
#store-info-wrapper-chuo .store-info-table th {
    background-color: #F08437; /* 見出しの背景色を設定 */
}

#store-info-wrapper-seibu .store-info-table th {
    background-color: #FABE00; /* 見出しの背景色を設定 */
}

#store-info-wrapper-keio .store-info-table th {
    background-color: #187FC4; /* 見出しの背景色を設定 */
}

#store-info-wrapper-marunouchi .store-info-table th {
    background-color: #D9527C; /* 見出しの背景色を設定 */
}

.store-info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff; /* テーブルの背景色を白に設定 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.store-info-table th, .store-info-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.store-info-table th {
    background-color: #CCC; /* 見出しの背景色を設定 */
    color: #ffffff; /* 見出しの文字色を白に設定 */
    font-weight: bold;
    text-rendering: optimizeLegibility;
    transform: rotate(0.03deg);
    text-transform: uppercase;
    width: 30%; /* thの幅を30%に設定 */
}

.store-info-table td {
    background-color: #fdfdfd; /* tdの背景色を明るく設定 */
    width: 70%; /* tdの幅を70%に設定 */
}

.store-info-table tr:nth-child(even) td {
    background-color: #f7f7f7; /* 偶数行の背景色を設定 */
}

.store-info-table tr:hover td {
    background-color: #f7e4d5; /* ホバー時の背景色を設定 */
}

.store-info-table td a {
    color: #1a73e8;
    text-decoration: none;
}

.store-info-table td a:hover {
    text-decoration: underline;
}

.main .ekimei img {
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #DDD; /* 細いグレーのボーダー */
  border-radius: 8px; /* 小さな角丸 */
}

.more-content {
  display: none;
}
#moreBtn {
  margin: 5px; /* ボタンの周りにマージンを追加 */
  background-color: #32A5EA; /* ボタンの背景色を補色に設定 */
  color: white; /* テキストの色を白に設定 */
  padding: 15px 30px; /* ボタンの内側の余白を増やして大きくする */
  border-radius: 30px;
  font-size: 18px; /* フォントサイズを大きくする */
  text-rendering: optimizeLegibility;
  transform: rotate(0.03deg);
  transition: background-color 0.3s ease, transform 0.3s ease; /* スムーズなトランジション */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 控えめなシャドウを追加 */
}

#moreBtn:hover {
  background-color: #1E90FF; /* ホバー時の背景色 */
  transform: scale(1.1); /* ホバー時に少し大きくする */
}

#moreBtn:active {
  transform: scale(0.9); /* クリック時に少し縮む */
}

@media (max-width: 767px) {
  margin: 10px; /* ボタンの周りにマージンを追加 */
}

#top-image {
  padding: 0;
}

.alert-info {
    background-color: #e0f7fa; /* 薄い背景色 */
    color: #00796b; /* テキストの色 */
    font-weight: bold;
    border: 2px solid #00796b; /* 強調されたボーダー */
    border-radius: 10px;
    padding: 20px;
    margin: 0 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-info .fa {
    margin-right: 10px; /* アイコンとテキストの間にスペースを追加 */
    font-size: 24px; /* アイコンのサイズ */
}

/* アコーディオン全体のスタイル */
.accordion-item {
    border: 1px solid #FFD700;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* アコーディオンヘッダーのスタイル */
.accordion-header {
    background-color: #FFF;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #FFE55F;
}

/* アコーディオンボタンのスタイル */
.accordion-button {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 0;
    font-weight: bold;
    font-size: 1.0em;
    color: #EA5532;
}
/* アコーディオンボタンがフォーカスされたときのスタイル */
.accordion-button:focus {
    box-shadow: none; /* フォーカス時のボーダーを無効にする */
    outline: none; /* フォーカス時のアウトラインを無効にする */
}
/* アコーディオンボディのスタイル */
.accordion-body {
    padding: 15px;
    background-color: #99E4EB;
    border-top: 1px solid #ddd;
    white-space: pre-line;
}

/* アコーディオンの開閉アイコンのスタイル */
.accordion-button::after {
    content: '\002B'; /* プラス記号 */
    font-size: 1.2em;
    float: right;
    transition: transform 0.3s ease;
    color: #EA5532; /* メインカラー */
}

.accordion-button.collapsed::after {
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
    content: '\2212'; /* マイナス記号 */
    transform: rotate(180deg);
}

.custom-btn {
    width: 100%;
    border-radius: 50px; /* 最大の角丸 */
    background-color: #FFF; /* 通常時の背景色 */
    border: 2px solid #540F00; /* メインカラーのボーダー */
    color: #540F00; /* メインカラーの文字色 */
    font-size: 1.25em; /* 大きいボタン */
    font-weight: bold;
    padding: 10px 20px; /* パディング */
    text-align: center; /* テキスト中央寄せ */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* スムーズなトランジション */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 控えめなシャドウを追加 */
}

.custom-btn:hover {
    background-color: #540F00; /* ホバー時の背景色 */
    color: #FFF; /* ホバー時の文字色 */
    transform: scale(1.05); /* ホバー時に少し大きくする */
}

.custom-btn:active {
    transform: scale(0.95); /* クリック時に少し縮む */
}

.custom-btn a {
    color: inherit; /* リンクの文字色を親要素に継承 */
    text-decoration: none; /* リンクの下線を削除 */
    display: inline-block; /* インラインブロックに設定 */
    vertical-align: middle; /* 垂直方向の中央揃え */
}

.custom-btn i {
    display: inline-block; /* インラインブロックに設定 */
    vertical-align: middle; /* 垂直方向の中央揃え */
}

.custom-btn.small-btn {
    width: 70%; /* 幅を30%小さく */
    font-size: 0.875em; /* フォントサイズを30%小さく */
    padding: 7px 14px; /* パディングを30%小さく */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 控えめなシャドウを追加 */
    background-color: #540F00; /* 通常時の背景色 */
    border: 2px solid #540F00; /* メインカラーのボーダー */
    color: #FFF; /* メインカラーの文字色 */
}

.toc {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 20px auto;
    text-align: left;
}

.toc ul {
    list-style-type: none;
    padding: 0;
}

.toc li {
    margin: 5px 0;
}

#50th-logo img {
    padding: 20px;
}

#50th-logo img {
    display: block;
    width: 80%;
    max-width: none;
    min-width: 0;
}

@media (max-width: 767px) {
    #50th-logo img {
        display: block;
        width: 80%;
        max-width: none;
        min-width: 0;
    }
}

.row {
    box-sizing: border-box;
    margin-right: 0;
    margin-left: 0;
}
.row > [class*='col-'] {
    padding-right: 15px;
    padding-left: 15px;
}

.notice p{
    font-size: 1.6rem;
}


