/* スマホ向けスタイル(モバイルファースト) */

html {
	font-size: 1em;
	background: url(../img/bg.jpg);
}

body {
	font-size: 1em;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	line-height: 1.5;
}

.logo {
    width: 30%;
    padding: 1rem 0.25rem 0.25rem 1rem;
}

.logo a{
	padding: 0;
	margin: 0;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.oaday{
	width:100%;
	line-height:1.5;
	text-align:center;
	white-space: pre-line; /* スマホでは改行を有効にする */
}

.oaday p{
	font-size: var(--font-size-large);
	font-weight:bold;
	padding:1em;
	white-space: pre-line; /* スマホでは改行を有効にする */
}

footer{
	width:100%;
	padding:1em;
	text-align:center;
	background:var(--secondary-bg-color);
}

footer p{
	font-size: var(--font-size-base);
	color: var(--secondary-text-color);
	line-height:1.5;
	white-space: pre-line; /* スマホでは改行を有効にする */
}

.creativeplay {
	font-size: var(--font-size-base);
}

h2 {
	font-size: var(--font-size-xxlarge);
}

h3{
	font-size:var(--font-size-large);
}

/*- 番組概要・出演者見出しあしらい -*/
.titlearrangement {
	background-color: var(--secondary-bg-color);
	color: var(--secondary-text-color);
}

.contents {
	padding:1.5em;
}

.contents p {
	font-size:16px;
}

.images {
	display: flex;
	flex-direction: column; /* 画像を縦に並べる */
	gap: 16px;
	padding: 0 16px;
}

.images img {
	width: 100%;
	height: auto;
	display: block;
}

.section-badge {
	display: table;
	background-color: #1f2937;
	color: #ffffff;
	font-weight: 700;
	padding: 0.25rem 1rem;
	border-radius: 0.125rem;
	margin-bottom: 5px;
}

.content-label {
	margin-bottom: 1rem;
}

.content-label h2 {
	font-weight: 700;
	color: #4b5563;
	border-bottom: 2px solid #9ca3af;
	padding-bottom: 0.5rem;
	display: inline-block;
}

.p-program__date { 
	font-size: var(--font-size-large); 
	font-weight: bold; 
	margin-bottom: 16px;
}

.accent { 
	font-size: 1.5em;
	color: var(--primary-text-color); 
	}


/* ===============================================
	テーブル部分（出演者等）
=============================================== */

.tb01 {
  border-collapse: collapse;
  width: 100%;
	font-size: 18px;
}

.tb01 th,.tb01 td {
	display: block; /* セルをブロック要素にして縦に並べる */
	width: 100%;
	margin-bottom: 0.2rem;
	box-sizing: border-box;
}

.tb01 th {
	text-align: left;
}

.speaker-name,.speaker-title {
	display: block; /* モバイルでは縦に並べる */
}

.speaker-name {
	font-weight: bold; 
}

.speaker-title {
	font-size: 14px;
}

/* タブレット向けスタイル */
@media (min-width: 768px) {
	.images {
		flex-direction: row; /* 画像を横に並べる */
		flex-wrap: wrap; /* 画像を折り返す */
	}

	.images img {
		width: calc(100% / 3 - 16px); /* 3等分して、画像間の余白を確保 */
		margin-bottom: 16px;
	}

	.contents p {
	font-size:var(--font-size-large);
}

h2 {
	font-size: var(--font-size-xlarge);
}

.logo {
    width: 25%;
    padding: 1rem 0.25rem 0.25rem 1.5rem;
}


	.section-badge {
    display: inline-block;
		margin-right: 1rem;
}

  .tb01 th,
  .tb01 td {
    display: table-cell; /* 表示をテーブルセルに戻す */
    width: auto; /* 横幅を自動調整に戻す */
  }

  .tb01 th {
    border-right: 1px solid #000000;
		width: 170px;
		vertical-align: top;
  }

  .tb01 td {
		padding-left: 1rem;
		padding-bottom: 1rem;
  }

  .speaker-name,
  .speaker-title {
    display: inline; /* タブレット以上で横に並べる */
  }

  .speaker-name {
    margin-right: 1rem; /* 名前と肩書の間隔 */
  }

  .speaker-title {
    display: inline-block; /* 肩書をブロックとして横に配置 */
    vertical-align: top; /* 上揃え */
    max-width: calc(100% - 150px); /* 名前分の幅を考慮 */
		padding-left: 1rem;
  }

 .p-program__date { font-size: var(--font-size-xlarge); } 

}

/* PC向けスタイル */
@media (min-width: 1024px) {
	.header-logo {
			width:150px;
			padding:0 20px;
		}

	.wrap{
			max-width: 1200px;
			margin: 0 auto;
		}

.logo {
    width: 18%;
    padding: 1rem 0.25rem 0.25rem 2.5rem;
}

 .p-program__date { font-size: var(--font-size-xxlarge); } 

.section {
	max-width:1024px;
	margin: 0 auto;
}

.tb01 {
	font-size: 20px;
		margin: 0 auto;
		width:800px;
}


  .tb01 th {
		width: 180px;
  }

  .speaker-name {
    display: inline; /* 名前はインライン */
    margin-right: 1rem;
  }

	.speaker-title {
    font-size: var(--font-size-medium);
}

}

@media (min-width: 1440px) {
	.logo {
    width: 10%;
    padding: 1rem 0.25rem 0.25rem 2.5rem;
}
}