﻿@media (min-width: 768px)
{
	.wrapper
	{
		clear: both;
		max-width: 980px ;
		margin: 0 auto ;	/* 左右に[auto]を指定することで、真ん中に寄る */
		padding: 5px ;		/* 上下左右の余白を0にしておく */
		background: #f7f5ff;
	}

	h1
	{
		font-size: 24px;
		margin: 20px;
		padding-left: 20px;
	}

	.item-area ul#area-menu
	{
		list-style: none;
		padding: 0;
		margin: 0 auto;
		display: flex;
		justify-content: center;   /* 中央寄せ */
		gap: 0;                 /* 項目同士の間隔 */
		flex-wrap: wrap;           /* 画面が狭い時は折り返す */
	}

	.item-area ul#area-menu li
	{
		display: flex;
		align-items: center;
	}

	.item-area ul#area-menu li + li::before
	{
		content: "｜";
		margin: 0 2px;
		color: #666;
	}

	.item-area ul#area-menu a
	{
		text-decoration: none;
		font-weight: bold;
		font-size: 14px;
		white-space: nowrap;
		color: #0360ed;
	}

	.item-area ul#area-menu a:hover
	{
  		color: #f35;
	}

	.container
	{
		width: 980px ;
	}

	.schedule-title
	{
		font-size: 18px;
		margin: 20px 0;   /* 左右の余白を消す */
		padding: 3px 0;
		display: inline-block;
		border-top: solid 2px #e3cdff;
		border-bottom: solid 2px #e3cdff;
	}

	h2
	{
		max-width: 880px;
		display: block;
	}

	.schedule-table
	{
		margin: 30px auto;
		max-width: 880px;
	}

	.schedule-table table
	{
		width: 100%;
		table-layout: fixed;
		border-collapse: collapse;
		font-size: 14px;
		border: 2px solid #9394de;
	}

	.schedule-table tr
	{

	}
	.schedule-table th,
	.schedule-table td
	{
		border: 1px solid #ccc;
		padding: 10px;
		vertical-align: top;
		border: 2px solid #9394de;
	}
	.schedule-table th
	{
		background: #e7c9e6;
	}

	.schedule-table td
	{
		background: #fff;
	}

	.schedule-table th:nth-child(1),
	.schedule-table td:nth-child(1)
	{
		width: 40%;
	}
	.schedule-table th:nth-child(2),
	.schedule-table td:nth-child(2)
	{
		width: 22%;
	}
	.schedule-table th:nth-child(3),
	.schedule-table td:nth-child(3)
	{
		width: 10%;
	}
	.schedule-table th:nth-child(4),
	.schedule-table td:nth-child(41)
	{
		width: 28%;
	}

	td a
	{
		font-weight: bold;
		font-size: 14px;
		white-space: nowrap;
		color: #0360ed;
	}

	td a:hover
	{
  		color: #f35;
	}

	.schedule-table img
	{
		margin-top: 10px;
	}
}
	/* スマホ */
@media (max-width: 767px)
{
	/* 全体余白 */
	.wrapper
	{
		padding: 10px;
	}

	h1
	{
		font-size: 18px;
		margin: 20px 0;
		padding-left: 0;
		text-align: center;
	}

  /* エリアメニュー */

	.item-area
	{
		display: block;
		ustify-content: center;

	}

	.item-area ul
	{
		padding: 0;
		margin: 15px 0 25px;
		list-style: none;
	}

	.item-area li
	{
		margin-bottom: 10px;
	}

	.item-area li:last-child
	{
		margin-bottom: 0;
	}

	.item-area li a
	{
		display: block;
		width: 100%;
		max-width: 320px;   /* ← これを追加 */
		margin: 0 auto;     /* ← 中央寄せ */
		text-align: center;
		font-size: 15px;
		font-weight: bold;
		line-height: 1.5;
		padding: 14px 10px; /* タップしやすさ */
		background: #e7c9e6;
		border-radius: 10px;
		text-decoration: none;
		color: #333;
		box-shadow: 0 1px 3px rgba(0,0,0,0.12);
	}

	.item-area li a:active
	{
		background: #d6b6d5;
	}

	.item-area li.has-plus
	{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}

	.item-area li.has-plus a
	{
		width: 100%;
		text-align: center;
		padding: 14px 10px;
		background: #e7c9e6;
		border-radius: 10px;
		text-decoration: none;
		color: #333;
	}

	.item-area li.has-plus .plus
	{
		display: block;      /* ← これを追加 */
		text-align: center;  /* 念のため */
		font-size: 16px;
		font-weight: bold;
		color: #777;
		line-height: 1;
	}

	.container
	{
		margin: 20px auto;
		display: block;
		ustify-content: center;
		width: 100%;
		max-width: 100%;
	}

	.schedule-title
	{
		font-size: 16px;
		margin: 25px 0 5px;
		padding: 30px 0 5px;
		text-align: center;
		border-top: 3px solid #9394de;
	}

	  /* テーブルをカード化 */
	.schedule-table table,
	.schedule-table thead,
	.schedule-table tbody,
	.schedule-table tr,
	.schedule-table th,
	.schedule-table td
	{
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.schedule-table table
	{
		table-layout: fixed;
		margin-top: 5px;
	}

	  /* ヘッダー行は非表示 */
	.schedule-table thead
	{
		display: none;
	}

	  /* 1件＝1カード */
	.schedule-table tr
	{
/*		border-top: 3px solid #9394de;*/
		border-bottom: 2px solid #ccc;
		margin-bottom: 20px;
		padding: 12px 10px;
		background: #fff;
	}

	.schedule-table tbody tr:last-of-type
	{
		border-bottom: none;
	}
	  /* 各項目 */
	.schedule-table td
	{
		box-size: border-box;
		min-width: 0;
		word-break: break-word;
		overflow-wrap: anywhere;
		border: none;
		padding: 8px 5px;
		font-size: 14px;
		line-height: 1.6;
	}

	  /* 項目名（data-label） */
	.schedule-table td::before
	{
		content: attr(data-label);
		display: block;
		font-weight: bold;
		font-size: 13px;
		color: #555;
		margin-bottom: 2px;
	}

	  /* 開催日時だけ強調 
	.schedule-table td[data-label="開催日時"]
	{
		font-size: 15px;
		font-weight: bold;
		color: #333;
	}
*/
	.schedule-table td[data-label="開催日時"]
	{
/*		background: #f0e6ff; */
		background: linear-gradient(to right,#f3ecff 0%,#f3ecff 45%,transparent 100%);
		border-left: 10px solid #9394de;
    		padding: 5px;
		margin-bottom: 5px;
		font-size: 15px;
		font-weight: bold;
	}

	  /* 「開催日時」というラベルを非表示にする */
	.schedule-table td[data-label="開催日時"]::before
	{
		display: none;
	}

	.schedule-table td[data-label="サダナコース"],
	.schedule-table td[data-label="指導者"],
	.schedule-table td[data-label="開催場所"]
	{
		padding-left: 10px;
		border-bottom: 1px dotted #000;
		font-size: 15px;
	}

	.schedule-table td[data-label="サダナコース"]:last-of-type,
	.schedule-table td[data-label="指導者"]:last-of-type,
	.schedule-table td[data-label="開催場所"]:last-of-type
	{
		border-bottom: none;
	}

	.schedule-table td[data-label="サダナコース"]::before,
	.schedule-table td[data-label="指導者"]::before,
	.schedule-table td[data-label="開催場所"]::before
	{
		font-weight: bold;
		font-size: 16px;
	}
	  /* 画像（申込みボタン等） */
	.schedule-table img
	{
		margin-top: 10px;
	}

	  /* エリア見出し */

  /* 開催日時をカードヘッダー化 */






}
