@charset "utf-8";

/* TOP IMAGE */
#header {
  position: relative;
  width: 100%;
  height: 650px;
  background-image: url('../images/684_back_tsuzumi-mon.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(130%);
  text-align: center;
  color: white;
}

#header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
}

#header .header-text {
  position: relative;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

#header-2 {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url('../images/684_back_tsuzumi-mon.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(10%);
  text-align: center;
  color: white;
}

#header-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
}

#header-2 .header-text {
  position: relative;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}


#header,#header-2  h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

#header,#header-2 h4 {
  font-size: 1.5rem;
  margin-top: 0;
}


/* CALL FOR PAPER */

#submit,
#format,
#anonymous {
  width: 300px;
  background-color: rgba(255, 255, 0, 0.5);
  color: #ffffff;
  border-radius: 20px;
  padding: 5px;
  margin-top: 0;
  margin-left: 30px;
}

#submit a,
#format a,
#anonymous a {
  text-decoration: none;
  font-weight: 500;
  font-size: 110%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

/* KEYNOTE */
#keynote .keynote-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start; /* ← これが重要：上端揃え */
}

#keynote .keynote-left {
  flex: 0 0 220px;
}

#keynote .keynote-left h3 {
  margin-top: 0; /* h3 の余白を消して揃える */
}

#keynote .keynote-left img {
  display: block;
  margin-top: 10px; /* h3 と画像の間の余白 */
}

#keynote .keynote-right {
  flex: 1;
}

#keynote .keynote-right ul {
  margin-top: 50px; 
}




/* PROGRAM */
#program .subtitle {
  text-align: left;
  margin-bottom: 10px;
  color: #555;
}

.day-section {
  margin-bottom: 10px;
}

.day-section h2 {
  border-left: 6px solid #1a3d7c;
  padding-left: 10px;
  color: #1a3d7c;
  margin-bottom: 15px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
   width: 100%;
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* スマホで潰れないように最低幅を確保 */
}

.table-wrapper th,
.table-wrapper td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}


#program table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#program thead {
  background: #1a3d7c;
  color: white;
}

#program th,
#program td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

#program tbody tr:nth-child(even) {
  background: #f0f4fa;
}

#program tbody tr:hover {
  background: #e4ecf7;
}

/* REGISTRATION */

#registration table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

#registration th,
#registration td {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

#registration th {
  background-color: #f5f5f5;
}

#registration .note {
  font-size: 0.9rem;
  color: #555;
}

/* VENUE */
#venue img {
  max-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}
#registration a,
#venue a {
  text-decoration:none;
}

#registration span,#venue span{
  /*文字にborder-radius*/
  border: 10px;
  background-color:#343a40 ;
  color: #fff;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-left: 5px;
  transition: all 0.3s ease-in-out;
}
#venue span :hover{
  transform: translate(3px, -10px);
  transform: scale(120%);
}
