@charset "UTF-8";

/* ==========================================================================
   Reset
   ========================================================================== */

*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
    all: unset;
    display: revert;
}
ul li,
ol li {
  list-style-type: none;
}
table {
  border-collapse: collapse;
}

/* ==========================================================================
   Base & Common Styles
   ========================================================================== */
a {
  cursor: pointer;
  color: #002b5b;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}
html {
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
  color: #383b4e;
  font-feature-settings: "palt";
  background: #f9f9f9;
}
.inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header (#header)
   ========================================================================== */
#header {
  background: #002b5b;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
#header h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
#header .subtitle {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 25px;
  padding-top: 25px;
  position: relative;
}
#header .subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
#header .copy {
  margin-top: 25px;
}
#header .copy .sub-copy {
  display: block;
  font-size: 20px;
  font-weight: 700;
}
#header .copy .sub-copy:not(:first-child) {
  margin-top: 0.5em;
}
#header .description {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.7;
  display: inline-block;
  padding: 1em 2em;
  border: 1px solid #fff;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
main {
  padding: 50px 0;
}
section {
  padding: 50px 0;
  background: #fff;
  margin-bottom: 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
section header h2 {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
section header h2::before {
  content: attr(data-en);
  display: block;
  font-size: 16px;
  color: #002b5b;
  margin-bottom: 5px;
  font-weight: 400;
}
section header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #002b5b;
}
section .body {
  line-height: 2;
}

/* ==========================================================================
   Message (#msg)
   ========================================================================== */
#msg p {
  margin-bottom: 1.5em;
}
#msg p:last-child {
  margin-bottom: 0;
}
#msg .signature {
  text-align: right;
  margin-top: 2em;
  line-height: 1.4;
}
#msg .signature .title {
  display: block;
  font-size: 14px;
}
#msg .signature .name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-top: 0.2em;
}

/* ==========================================================================
   Information (#info)
   ========================================================================== */
#info table {
  width: 100%;
  border-top: 1px solid #ddd;
}
#info tr {
  border-bottom: 1px solid #ddd;
}
#info th, #info td {
  padding: 20px;
  vertical-align: middle;
}
#info th {
  width: 25%;
  font-weight: 700;
  background: #f9f9f9;
  text-align: left;
}

/* ==========================================================================
   Speakers (#speakers)
   ========================================================================== */
#speakers .speaker-profile {
  display: flex;
  align-items: center;
  gap: 30px;
}
#speakers .speaker-profile:not(:first-child) {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px dashed #ddd;
}
#speakers .speaker-profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#speakers .speaker-profile .text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.5em;
}
#speakers .speaker-profile .text .name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5em;
}
#speakers .speaker-profile .text .title {
  font-size: 14px;
  color: #777;
}

/* ==========================================================================
   Schedule (#scd)
   ========================================================================== */
#scd dl div {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px dotted #ccc;
}
#scd dl div:first-child {
  border-top: 1px dotted #ccc;
}
#scd dt {
  width: 100px;
  font-weight: 700;
}
#scd dd {
  width: calc(100% - 100px);
}

#scd .detail dd {
  padding-left: 2em;
}

/* ==========================================================================
   Shops (#shops)
   ========================================================================== */
#shops ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
  gap: 20px;
  text-align: center;
}
#shops li {
  border: 1px solid #ddd;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
}
#shops li span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 0.5em;
  font-weight: 400;
}

/* ==========================================================================
   Application (#app)
   ========================================================================== */
#app .body {
  text-align: center;
}
#app .qr-code {
  margin: 30px 0;
}
#app .qr-code img {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  padding: 10px;
}

/* ==========================================================================
   Footer (#footer)
   ========================================================================== */
#footer {
  padding: 40px 0;
  text-align: center;
  color: #777;
  font-size: 14px;
  background: #f9f9f9;
}

/* ==========================================================================
   Responsive (for screens smaller than 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  #header h1 {
    font-size: 32px;
  }
  #header .copy .sub-copy {
    font-size: 16px;
  }
  section {
    padding: 40px 0;
  }
  section header h2 {
    font-size: 28px;
  }
  #info th, #info td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  #info th {
    border-bottom: none;
  }
  #info tr {
    border-bottom: 2px solid #ddd;
  }
  #speakers .speaker-profile {
    flex-direction: column;
    text-align: center;
  }
  #scd dt {
    width: 80px;
  }
  #scd dd {
    width: calc(100% - 80px);
  }
  #shops ul {
  grid-template-columns: repeat(2,1fr);
}
}


.btn-apply {
      display: block;
      max-width: 400px;
      margin: 30px auto;
      padding: 20px;
      background-color: #1a3a6b; /* サイトのテーマカラーに合わせた青 */
      color: #fff;
      text-decoration: none;
      text-align: center;
      font-weight: bold;
      font-size: 1.2em;
      border-radius: 8px;
      transition: background-color 0.3s, transform 0.3s;
    }
    .btn-apply:hover {
      background-color: #2a5296; /* ホバー時に少し明るく */
      transform: scale(1.05);
    }