.event-list {
  display: grid;
  background-color: var(--primary-color);
margin: 0 auto;
border: 6px double var(--secondary-color);
padding-bottom:30px;

}

.event-row {
  border-bottom: 2px solid #ccc;
  width: 85%;
  margin: 0 auto;
  grid-template-columns: 1fr;
  padding: 10px;
}

.event-name,
.event-date,
.event-add,
.event-checkin {
  font-size: 1.2rem;
  padding: 3px;
  padding-left: 10px;
}

.Sunday {
  color: red;
}

.Saturday {
  color: blue;
}

#count {
  font-size: 6em;
  font-weight: bold;
text-align: center;

}

button {
  padding: 10px 20px;
  font-size: 2.5em;
  color: #fdfdfd;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 auto;
width:80%;

display: block; 

}

#incrementButton {
  background-color: #7b241c;
}

#incrementButton:hover {
  background-color: #641e16;
}

#decrementButton {
  background-color: gray;
  margin-top: 35px;
}

#decrementButton:hover {
  background-color: #d5dbdb;
}

.disabled {
  background-color: #e0e0e0 !important;
  color: #fdfdfd;
  cursor: not-allowed;
}

.attention {
  color: red;
  font-weight: bold;
  margin-bottom: 0;
}

.text-marker {
  background: linear-gradient(transparent 50%, #fffacd 50%);
}

.memo {
  font-size: 0.8rem;
margin-left:20px;
}

.fin {
  font-size: 20px;
}


.group1 {
background-color: #f0f8ff;
}

.group2 {
background-color: #ffebeb;
}

.group3 {
background-color: #fff8e1;
}

.group4 {
background-color: #d0f0c0;
}

table {
 font-size: 1.2rem;
 margin: 15px 30px 15px 30px;
}

table td:nth-child(1) {
  text-align: left;
}

table td:nth-child(2) {
  text-align: right;
}

.figure {
  width: 85%;
}

.name {
  font-weight: bold;
 font-size: 1.3rem;
}


.twice {
  font-weight: bold;
 font-size: 1.3rem;
color: red;
}

.url {
  margin-left: 20px;
 text-align: left;
}


.url-bold {
  font-weight: bold;
}



.oshirase {
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 10px;
margin-top:40px;
margin-bottom:40px;
}

.oshirase-circle1 {
  font-size: 16px;
  line-height: 1.5;
  position: absolute;
  margin-top: -37px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.oshirase-circle1:after {
  content: "し";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.oshirase-circle2:before {
  content: "";
  position: absolute;
  top: 100%;
  margin-left: -12px;
  border: 5px solid transparent;
  border-top: 10px solid var(--secondary-color);
  -ms-transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}

.oshirase-circle2 {
  position: absolute;
  font-size: 16px;
  line-height: 1.5;
  margin-top: -37px;
  margin-left: 40px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.oshirase-circle2:after {
  content: "せ";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}


.hitokoto {
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 10px;
margin-top:40px;
}

.hitokoto-circle1 {
  font-size: 16px;
  line-height: 1.5;
  position: absolute;
  margin-top: -37px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle1:after {
  content: "り";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle2:before {
  content: "";
  position: absolute;
  top: 100%;
  margin-left: -12px;
  border: 5px solid transparent;
  border-top: 10px solid var(--secondary-color);
  -ms-transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}

.hitokoto-circle2 {
  position: absolute;
  font-size: 16px;
  line-height: 1.5;
  margin-top: -37px;
  margin-left: 40px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.hitokoto-circle2:after {
  content: "た";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}



.button-send {
  cursor: pointer;
  padding: 5px;
  font-size: 1.3em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  width: 120px;
  height: 50px;
  background-color: var(--secondary-color);
}

.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: var(--secondary-color);
}

a.btn--radius,
button {
  border-radius: 30px;
}

.balloon2-left {
  position: relative;
  display: inline-block;
  width: 90%;
  margin-left: 15px;
  margin-bottom: 2rem;
  padding: 10px;
  border: 1px solid #333333;
  border-radius: 10px;
  background-color: #fdfdfd;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.balloon2-left::before {
  content: "";
  position: absolute;
  top: 32%;
  left: 0;
  border-style: solid;
  border-width: 0 15px 15px 0;
  border-color: transparent #333333 transparent transparent;
  translate: -100% -50%;
  transform: skew(0, 32deg);
  transform-origin: right;
}

.balloon2-left::after {
  content: "";
  position: absolute;
  top: 32%;
  left: 0;
  border-style: solid;
  border-width: 0 12.6px 12.6px 0;
  border-color: transparent #fdfdfd transparent transparent;
  translate: -100% calc(-50% - 0.2px);
  transform: skew(0, 32deg);
  transform-origin: right;
}

input {
  height: 40px;
  width: 50%;
  font-size: 20px;
  padding: 0;
}

textarea {
  font-size: 20px;
  padding: 0;
  width: 100%;
}

.form-container {
  margin-bottom: 20px;
}
.board {
  margin-top: 20px;
}
.post {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
}

.box {
  border: 5px dashed var(--secondary-color);
  padding: 1em;
margin-bottom:20px;
}

.boxmi15 {
  position: relative;
  margin: 2em 0;
  padding: 1em 2em;
  border-top: solid 2px var(--secondary-color);
  border-bottom: solid 2px var(--secondary-color);
}
.boxmi15:before,
.boxmi15:after {
  position: absolute;
  top: -12px;
  width: 2px;
  height: -webkit-calc(100% + 24px);
  height: calc(100% + 24px);
  background-color: var(--secondary-color);
  content: "";
}
.boxmi15:before {
  left: 12px;
}
.boxmi15:after {
  right: 12px;
}
.boxmi15-title {
  font-size: 1.15em;
  padding: 4px 0 10px 12px;
  font-weight: bold;
  text-align: center;
  margin: -14px -24px 5px -24px;
}

:root {
  --primary-color: #eef7ff;
  --primary-dark: #;
  --primary-darker: #;
  --text-color: #333333;
  --secondary-color: #96beff;
  --secondary-dark: #;
  --point-color: #7b241c;
}

body {
  font-family: "Meiryo", "Noto Sans JP", "Roboto", "Arial", sans-serif;
  background-color: #fdfdfd;
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.3em;
  background-color: var(--primary-color);
  margin: 0;
  padding: 5px;
}


/* ナビゲーション全体 */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  background-color: var(--primary-color);
  position: relative;
  height: 13px;
  z-index: 100;
}

/* ハンバーガーメニュー（右寄せ） */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px; /* 右端に配置 */
}

.hamburger .bar {
  width: 30px;
  height: 4px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* ナビゲーションメニュー（デフォルトは非表示） */
nav ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 20px;
  display: none;
}

nav ul li a {
  display: block;
  padding: 5px;
  padding-left: 30px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s, primary-color 0.3s;
}

/* ホバー時のスタイル */
nav ul li a:hover {
  primary-color: rgba(0, 0, 0, 0.1);
}

/* メニューが開いたときの表示 */
nav ul.active {
  display: flex;
}

.nav-indent {
  margin-left: 1.5em;
}

.nav-top {
  text-decoration: none;
  color: var(--text-color);
}



/* 🗺️🗺️🗺️🗺️ナビ */
/* メンバー内のナビ */
.nav-container {
  display: flex; /* 横並び */
margin:12px 0px;
}

.group-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1列 */
  grid-template-rows: repeat(3, auto); /* 3行 */
  margin: 3px;
  border: double 3px #4682b4;
}

.group-link {
  margin: 2px 10px 2px 1rem;
}

.group-name {
  margin: 2px ;
}

/* 🗺️🗺️🗺️🗺️ */

main {
  margin: 0 12px;
}

h2 {
  position: relative;
  text-align: center;
  border: 3px solid #000;
}

h2:before,
h2:after {
  position: absolute;
  content: '';
}

h2:before {
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background: #f8f8f8;
}

h2 span {
  position: relative;
  display: block;
  padding: 2rem;
  letter-spacing: .05em;
  color: #fff;
  text-shadow: #000 2px 0, #000 -2px 0, #000 0 -2px, #000 0 2px, #000 2px 2px, #000 -2px 2px, #000 2px -2px, #000 -2px -2px, #000 1px 2px, #000 -1px 2px, #000 1px -2px, #000 -1px -2px, #000 2px 1px, #000 -2px 1px, #000 2px -1px, #000 -2px -1px, 4px 4px 0 #000, 0 4px 0 #000;
}

h2 span:before,
h2 span:after {
  position: absolute;
  left: 10px;
  width: calc(100% - 20px);
  height: 2px;
  content: '';
  background: #000;
}

h2 span:before {
  top: 15px;
}

h2 span:after {
  bottom: 15px;
}


h3 {
  padding-bottom: 0px;
  margin-bottom: 0px;
  font-size: 1.1rem;
}

/* 流れ*/
.order {
  font-weight: bold;
}

.rule {
  padding-top: 0px;
  margin-top: 0px;
}

.information {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

ul {
  margin: 0;
  padding: 0;
}

.information-link {
  margin-left: 15px;
  padding-left: 0px;
}

.attention {
  text-align: left;
  color: red;
  font-weight: bold;
  margin-bottom: 0;
}

.text-marker {
  background: linear-gradient(transparent 50%, #fffacd 50%);
}

/* urlコピー*/
.arrivecopy {
  display: block;
  position: relative;
  border: 3px solid #333333;
  text-decoration: none;
  padding: 5px 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
  background-color: #cccccc;
  width: 270px;
margin:0 auto 40px auto;
}

.arrivecopy:before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  content: "";
  transition: all 0.3s;
  border: 1px solid #333333;
}

.arrivecopy:hover:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/*やり方*/
.yarikata {
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 10px;
margin-bottom:15px;
}

.yarikata-circle1 {
  font-size: 16px;
  line-height: 1.5;
  position: absolute;
  margin-top: -37px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.yarikata-circle1:after {
  content: "り";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.yarikata-circle2:before {
  content: "";
  position: absolute;
  top: 100%;
  margin-left: -12px;
  border: 5px solid transparent;
  border-top: 10px solid var(--secondary-color);
  -ms-transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
}

.yarikata-circle2 {
  position: absolute;
  font-size: 16px;
  line-height: 1.5;
  margin-top: -37px;
  margin-left: 40px;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}

.yarikata-circle2:after {
  content: "た";
  position: absolute;
  margin-top: 0.2em;
  font-weight: bold;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
}





/* 枠デザイン*/
.box-tape {
  background-color: #eef7ff; /* 用紙の色 */
  border-radius: 10px; /* 角を丸く */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1),
    -2px -2px 5px rgba(255, 255, 255, 0.5); /* とても控えめな影 */
  padding: 15px 30px 5px 20px;
  position: relative;
  border-top: 1px solid #e5f2fd; /* とても薄い色の枠線 */
  margin: 30px auto;
}

.box-tape::after {
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 40px;
  height: 25px;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(150, 190, 255, 0.5) 0 5px,
    transparent 5px 10px
  );
  border-left: 2px dashed rgba(0, 0, 0, 0.1);
  border-right: 2px dashed rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 0.25em 2em;
  color: #65513f;
  transform: translateX(-50%) rotate(-5deg);
  content: "";
  display: block;
}

.box-memo {
  position: relative;
  background: #fdfdfd;
  border: solid 3px var(--secondary-color);
  padding: 0 20px;
  padding-bottom: 15px;
  margin: 30px auto;
}
.box-memo::after {
  position: absolute;
  content: "";
  right: -5px;
  top: -5px;
  border-style: solid;
  border-width: 0 30px 30px 0px;
  border-color: var(--secondary-color) #fdfdfd;
}

.box-point {
  position: relative;
  padding: 4.7rem 1.2rem 1rem;
  background-color: #fdfdfd;
  outline: 2px solid #333333;
  outline-offset: -0.5rem;
}

.box-point::before {
  position: absolute;
  top: 1rem;
  left: 0;
  width: 100%;
  padding: 0.5rem 0;
  background-color: rgba(150, 190, 255, 0.8);
  color: black;
  text-align: center;
  content: attr(data-title);
}

.box-attention {
  margin: 0 auto;
  border: 5px solid var(--point-color);
  border-radius: 5px;
  padding: 0 1rem;
  padding-bottom: 15px;
}

.box-attention div {
  display: flex;
  width: 92px;
  column-gap: 1px;
  position: relative;
  top: -15px;
  left: 5px;
  padding: 0;
  margin: 0;
  padding-left: 10px;
  color: var(--point-color);
  background-color: #fdfdfd;
  font-weight: 600;
  font-size: 1.3rem;
}

.clip-box {
  position: relative;
  margin: 2em auto;
  padding: 15px 35px 15px 25px;
  background-color: var(--primary-color);
  box-shadow: 4px 4px 1px #b0cde2;
}

.clip-box::before {
  position: absolute;
  content: "";
  top: -15px;
  right: 10px;
  height: 55px;
  width: 15px;
  border: 3px solid #c0c0c0; /*クリップ色 */
  background-color: none;
  border-radius: 12px;
  box-shadow: 1px 1px 2px #ccc; /*クリップ影*/
  transform: rotate(10deg);
  z-index: 1;
}
.clip-box::after {
  position: absolute;
  content: "";
  top: 0px;
  width: 10px;
  right: 20px;
  border: solid 5px var(--primary-color);
  z-index: 2;
}

.trial-link {
  text-align: center;
  margin: 0;
  padding: 0;
}

/* メンバー一覧　穴あけカード　*/
.punch-box-c {
  position: relative;
  margin: 2em auto;
  padding: 0.6rem 2rem;
  width: 75%;
  background-color: var(--primary-color);
  border: 1px solid #88b5d3; /* ボックス枠線 */
  box-shadow: 0 0 2px 1px #ccc; /* 影 */
  border-radius: 5px; /* 角の丸み */
  height: 47px;
}
.punch-box-c::before {
  position: absolute;
  content: "";
  left: 8px;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #fff; /*穴背景色*/
  box-shadow: 0 0 8px #aaa inset; /*穴の影*/
  border: 1px solid #88b5d3; /*パンチ穴枠色*/
  border-radius: 50%;
}

.group1 {
  background-color: #f0f8ff;
  border: double 6px var(--secondary-color);
padding:10px;
}

.group2 {
  background-color: #ffebeb;
border: double 6px #ff958b;
padding:10px;
}

.group3 {
  background-color: #fff8e1;
border: double 6px #ffa081;
 padding:10px;
}

.group4 {
  background-color: #d0f0c0;
border: double 10px #509050; 
padding:10px;
}


#group1, group2, group3, group4{
margin:15px auto 15px auto;
}

table {
  font-size: 1.2rem;
  margin: 10px ;
}

table td:nth-child(1) {
  text-align: left;
}

table td:nth-child(2) {
  text-align: right;
}

.figure {
  width: 87%;
}

.name {
  font-weight: bold;
  font-size: 1.3rem;
}

.twice {
  font-weight: bold;
  font-size: 1.3rem;
  color: red;
}

.url {
  margin-left: 20px;
  text-align: left;
}

.url-bold {
  font-weight: bold;
}

/* PC向けのスタイル */
@media (min-width: 500px) {
  .hamburger {
    display: none; /* PCでは非表示 */
  }

  nav ul {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  nav ul li {
    margin: 0 15px;
  }
}






@media (min-width: 501px) {
  body {
    width: 780px;
    margin: 0px auto;
  }

  .event-list {
    gap: 10px;
    border-radius: 20px;
  }

  .event-row {
    display: grid;
    grid-template-columns: 4fr 8fr 4fr 5fr;
  }

  .event-name,
  .event-date,
  .event-add,
  .event-checkin {
    padding: 0px;
    padding-left: 1px;
  }

  .attention {
    padding-left: 50px;
  }

  .memo {
    padding-top: 0;
    text-align: left;
    font-size: 0.8rem;
    padding-left: 90px;
  }

  #count {
    font-size: 6em;
    font-weight: bold;
  }

  button {
    width: 280px;
    margin: 10px;
    margin-top: 0px;
  }

  .plea {
    width: 600px;
    margin-left: 70px;
  }

.url {
  margin-left: 70px;
}

}