main.container {
    padding: 10px;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
}
main h2 {
    font-size: 22px;
    color: #8B4513;
    margin-bottom: 20px;
}
main h3.event-title {
    font-size: 22px;
    color: #8B4513;
    margin-bottom: 20px;
}

footer, footer a,.site-footer{
 background-color: #3a8a92!important;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 20px 0 20px 0;
    font-size: 0.9em;
}


.type_card {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ff80cf;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin:10px;
}
.type_card2 {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ff80cf;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin:10px;
    width: 100%;
}
.type_card:hover{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);    
} 
.event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.event-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.login-button {
  display: inline-block;
  background: var(--login-button-color, #ffa280);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}
.login {
    text-align: center;
    margin: 24px 0 24px;
}
.login-button:hover {
  opacity: 0.9;
}
a.instagram-link {
  color: #e1306c!important; /* インスタピンクカラー */
  font-size: 1.8em!important; /* アイコンをちょっと大きめに */
  display: inline-block!important;
  margin-top: 10px!important;
}

a.instagram-link:hover {
  opacity: 0.7!important;
  transition: 0.2s!important;
}

.contentbody{
  background: var(--background-color);
}

section#update-section {
    padding: 15px;
    background-color: var(--theme-color);
}

#update-section .contentheader h3{
    font-size: 22px;
    color: #8B4513;
    margin-bottom: 20px;
    margin-top: 0;
}
#update-section .contentbody{
    background-color: var(--theme-color);
}
#update-section .type_card {
    margin: 0;
    margin-bottom: 10px;
}
#update-section p {
    margin: 0;
}
.event-action{
    margin-top: 12px; text-align: center;
}
.event-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.event-action {
  margin-top: 1rem;
}
.event-action .btn {
  background-color: #0d9488;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-right: 0.5rem;
}
.event-action .btn-cancel {
  background-color: var(--login-button-color);
}
main.container{
margin-bottom: 26px;    
}

/* === セクション：イベント概要 === */
.event-summary {
  background-color: #ffffff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.event-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.event-summary p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

/* === ラベルと入力の整形 === */
form label {
  display: block;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

form p {
  margin: 0;
  padding: 0.4rem 0.2rem;
  font-size: 1rem;
}

/* === 予約ボタン === */
form .btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #0d9488;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
      display: block;
  margin: 1.5rem auto 0 auto;
    width: 80%;

    }

form .btn:hover {
  background-color: #0b7667;
}

/* === 通知メッセージ === */
.notice-box {
  padding: 1em 1.5em;
  margin-bottom: 1.5em;
  border-radius: 6px;
  font-weight: bold;
}

.notice-success {
  background-color: #e6ffed;
  color: #12703f;
  border: 1px solid #a6e4b8;
}

.notice-warning {
  background-color: #fffbe6;
  color: #856404;
  border: 1px solid #ffeeba;
}
strong{
    width: 100%;
    display: contents;
    
}
.btn{
  background-color: var(--login-button-color);
}
    
section.block{
  padding: 5px;
}