/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: .08;
  margin-bottom: 20px;
  color: #222;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: .09em;
  color: #222;
  font-weight: bold;
  border-bottom: 1px solid #e5e5e5; /* 下線を追加 */
  display: inline-block; /* 下線をテキストの幅に合わせる */
  padding-bottom: 10px; /* 下線とテキストの間隔 */
}


.contact-form h2{
  font-size: 1.2rem;
}
.contact-form label{
  font-size: 0.9rem;
}

section {
  padding: 40px 80px;
}

section.header{
  margin: 80px 80px 20px 80px;
  padding: 0 0 0 40px;
  border-left: 1px solid #e5e5e5;
}
section.header h1 span{
  font-size: 1.5rem;
  display: block;
}
section.header .status {
  margin-block: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2lh 1ic;
}
section.header .status > * {
  padding-inline: 0.5ic;
  border-radius: 3px;
  background: #e63a00;
  font-size: 85%;
  color: white;
}
section.header p{
  padding-bottom: 0;
}

.key-visual img {
  width: 100%;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
}

ul, p{
  padding-bottom: 1.5rem;
}

/* dl, dt, ddのスタイリングで、dtとddを横並びにし、それぞれの要素の上下にグレーの線を入れる設定 */
dl {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 0px 0px 40px 0px;
}

dt {
  flex-basis: 20%;
  background-color: #F5F5F5;
  font-weight: 500;
  font-family: YakuHanJP, neue-haas-grotesk-text, Koburina Gothic W6 JIS2004, sans-serif;
  color: #00001a;
  padding: 26px 10px 26px 20px;
  border-bottom: 1px solid #e5e5e5; /* #F5F5F5より少し濃いグレー */
}

dd {
  flex-basis: 80%;
  background-color: #fff;
  padding: 26px 10px 26px 20px;
  border-bottom: 1px solid #e5e5e5; /* #F5F5F5より少し濃いグレー */
}
.time-table dl {
	padding: 0;
}
.time-table dl + dl {
	border-top: 1px solid #e5e5e5;
}
.time-table :is(dt, dd) {
	padding-block: 0.5lh;
	border-bottom: 0;
}
.time-table dt {
	background: white;
}
.time-table dt + dd {
	font-weight: bolder;
	padding-bottom: 0.3lh;
}
.time-table dd + dd {
	margin-left: auto;
	padding-block: 0 0.75lh;
	font-size: 75%;
}


.speaker {
  display: flex;
  align-items: flex-start;
  margin-bottom: 45px;
}

.speaker > img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
}
.speaker .speaker-info img[src*="logo-"] {
  width: auto;
  object-fit: contain;
}

.speaker-info {
  flex: 1;
}

.speaker-info p{
  padding-bottom: 0;
  font-weight: bold;
}
.speaker-name {
  font-size: 1.25rem;
}
.speaker-title {
  font-size: 1rem;
  margin-top: 1rem;
}

.speaker-company {
  font-size: 0.9rem;
  color: #666;
}

.speaker-info p.speaker-profile{
  font-weight: normal;
}

.btn {
  display: block;
  width: fit-content;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
}


section.cta {
  padding-block: 60px;
}
section.cta .btn {
  margin-inline: auto;
  font-size: 1.25rem;
  padding: 12px 30px;
}

.contact-form {
  padding: 80px 60px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media (hover: hover) {
  .btn,
  button[type="submit"] {
    transition: 0.3s 0s ease;
  }
  .btn:hover,
  button[type="submit"]:hover {
    background-color: #555;
  }
}
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 40px 80px;
  font-size: 0.8rem;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
}

.main-content-left {
  flex: 1;
  padding-right: 50px;
  min-width: 0;
}

.main-content-right {
  width: 400px;
  background-color: #fafafa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}
.form-group span{
  color: #e63a00;
}

.br-pc {
  display: block;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  section {
    padding: 30px;
  }
  section.header{
    margin:30px 30px 0px 30px;
    border-left: 0;
    padding: 0;
  }
  section.header h1{
	  font-size: 6vw;
  }
  section.header h1 span{
    font-size: 4vw;
    margin-bottom: 0.5rem;
  }

  .speaker {
    flex-direction: column;
    text-align: center;
  }

  .speaker > img {
    margin-right: 0;
    margin-bottom: 10px;
    margin-inline: auto;
  }

  .main-content {
    flex-direction: column;
  }

  .main-content-left {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .main-content-right {
    width: 100%;
  }
  dt, dd {
    flex-basis: 100%;
  }
  .time-table :is(dt, dd) {
	padding-inline: 0;
  }
	.time-table dt {
		flex-basis: 20%;
	}
	.time-table dd {
		flex-basis: 80%;
	}
  .br-pc {
    display: none;
  }
}

.main-topics hr {
  margin-block: 1.5rem;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}
.main-topics p + hr {
  margin-top: 0;
}