@charset "UTF-8";

.contents {
    width: 95%;
    margin: 0 auto;
    max-width: 900px;
}
.top_title {
  text-align: center;
}

section.history {
    border: 4px double #DED2BF;
    padding: 15px;
}

.mainvisual{
  display:inline-block;
  position:relative;
  overflow:hidden;
  padding-top: 10px;
}

.mainvisual:after {
  content: "";
  height: 100%;
  width: 20px; /* 太さを広げる */
  position: absolute;
  top: -180px;
  left: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255,255,255,0.6) 50%,
    transparent 100%
  );
  opacity: 0;
  transform: rotate(45deg);
  animation: reflection 4s ease-in-out infinite;
}

@keyframes reflection {
0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.anniversary-svg {
  position: absolute;
  bottom: 10px;  /* リボン位置に合わせ調整 */
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

@keyframes shineMove {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.anniversary-svg .shine {
  animation: shineMove 2.5s linear infinite;
}

.F1 {
  font-family: "HG丸ｺﾞｼｯｸM-PRO", "ＭＳ ゴシック", sans-serif;
  font-size: 12px;
  color: white;
}

.F2 {
  font-family: "HG丸ｺﾞｼｯｸM-PRO", "ＭＳ ゴシック", sans-serif;
  font-size: 15px;
  color: white;
}

.F3 {
  font-family: "HG丸ｺﾞｼｯｸM-PRO", "ＭＳ ゴシック", sans-serif;
  font-size: 15px;
  color: #f1c2da;
  line-height: 2;
}

.F4 {
 font-family: "HG丸ｺﾞｼｯｸM-PRO","ＭＳ ゴシック",sans-serif; 
 font-size:15px;
 color:red;
}


.job1 {
color:red;
}

.job2 {
color:#ff69b4;
}

.job3 {
color:orange;
}

.job4 {
color:yellow;
}

.job5 {
color:green;
}

.job6 {
color:#C0C0C0;
}

span.red {
color:red;
background-color:black;
}

span.blue {
color:blue;
background-color:black;
}

span.yellow {
color:yellow;
background-color:black;
}

span.green {
color:lime;
background-color:black;
}

span.orange {
color:orange;
background-color:black;
}

span.purple {
color:violet;
background-color:black;
}

span.warning-color {
color:red;
background-color:yellow;
}


.special_event{
  padding: 120px 0;
}

.special_event h2{
  background: linear-gradient(to right, #c9b07d,   /* 左端の濃いめの色 */#f7f1d1,   /* 中央の明るめ */ #c9b07d    /* 右端の濃いめ */);
  padding: 10px;
  font-size: 20px;
}

.special_event .message{
  margin: 20px 0;
  color: white;
  line-height: 1.4;
}

/* テーブルCSS */

.flex-row {
  display: flex;
  gap: 4px;
}

.flex-row+.flex-row {
  margin-top: 4px;
}

.first-row .flex-item{
  background-color: #e1caac !important;
}

.flex-item {
  background: #eee;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.flex-item:nth-child(1) {
  width: 70px;
  background: #f9eeda;
}

.flex-item:nth-child(2) {
  width: 300px;
  flex: 2;
}

.flex-item:nth-child(3) {
  flex: 1;
}

.flex-item:nth-child(4) {
  width: 200px;
  flex: 1;
}

/* テーブルCSS終わり */
.event_date{
  color: white;
  font-weight: normal;
  margin-top: 70px;
}

.event_date h3 {
    border-bottom: 1px solid;
}

