@charset "utf-8";
/* CSS Document */

/********************************
  共通設定
********************************/

.pc {
	display: block !important;
}

.sp {
	display: none !important;
}



/********************************
  メインビジュアル
********************************/
.main-box {
	padding: 20px 0px 60px 0px;
	background: #333;	

}
.main-box p{
		margin-bottom: 10px;
    font-size: 17px;
    color: #FFF;
    text-align: center;
  }

.mainvisual-box {
	background: #FFF;
}

.mainvisual-box-in {
	width: 960px;
	min-width: 960px;
	margin: 0 auto;
	padding: 18px 0 10px 0;
}

.mainvisual-box-in img {
	display: block;
	margin: 0 auto;
}
.year-button {
	text-align:right;
	margin: 0 0 15px 0;
}
.year-button a {
	display: inline-block;
	background: #f47d41;
	color: #FFF;
	padding: 10px 0;
	width: 40%;
	text-align:center;
	border-radius: 4px;
	font-size: 14px;
	font-weight: bold;
	position: relative;
}
.year-button a:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 0;
    height: 0;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left: 8px solid #ffffff;
}
.year-button a:hover {
	opacity: 0.7;
}




/********************************
  メインコンテンツ
********************************/




/********************************
  テーブル
********************************/



/********************************
  テーブルの間のボタン
********************************/



/********************************
  画像リンク
********************************/



/********************************
  リンク
********************************/



/********************************
  読み込み中メッセージ
********************************/



/********************************
  タブレット設定
********************************/
@media screen and (min-width: 721px) and (max-width: 959px) {
	body {
		width: 100%;
	}

	.mainvisual-box-in{
		width: 97%;
		min-width: 97%;
	}

	.mainvisual-box-in img {
		width: 95%;
	}

	.year-button a {
		font-size: 1.5vw;
	}
	.year-button a:before {
		right: 2px;
		margin-top: -5px;
		border: 5px solid transparent;
		border-left: 7px solid #ffffff;
	}
  .main-box p{
   font-size: 2.2vw;	
  } 
}


/********************************
  スマホ設定
********************************/
@media screen and (max-width: 720px) {
	.mainvisual-box {
		width: 100%;
		background: none;
	}
	

	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
	#page {
		width: 100%;
	}

	.mainvisual-box-in {
		width: 95%;
		min-width: 95%;
	}


	.mainvisual-box-in {
		padding: 15px 0 15px 0;
	}

	.mainvisual-box-in img {
		width: 100%;
	}
	.year-button {
		margin: 0 0 25px 0;
	}
	.year-button a {
		width: 100%;
		font-size: 3.5vw;
		-webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.35), 0px 0px 2px rgba(0,0,0,0.16);
		        box-shadow: 0px 1px 4px rgba(0,0,0,0.35), 0px 0px 2px rgba(0,0,0,0.16);
	}
	.year-button a:before {
		right: 2px;
		margin-top: -5px;
		border: 5px solid transparent;
		border-left: 7px solid #ffffff;
	}

}

/* ============================================
   表示期間カード
============================================ */
.period-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  overflow: hidden;
  margin-bottom: 32px;
}

.period-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #2c3e6b 0%, #4a6fa5 100%);
  flex-wrap: wrap;
}

.period-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}


/*.period-card__icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}*/

svg.period-card__icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

.period-card__released {
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.18);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.period-card__body {
  padding: 20px 24px 24px;
}

/* ============================================
   タブ
============================================ */
.period-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: #f4f5f7;
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}

.period-tab {
  cursor: pointer;
}

.period-tab__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #888;
  transition: all .2s ease;
  user-select: none;
  white-space: nowrap;
}

.period-tab__inner svg {
  width: 16px;
  height: 16px;
}

.period-tab input:checked + .period-tab__inner {
  background: #fff;
  color: #2c3e6b;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.period-tab:hover .period-tab__inner {
  color: #4a6fa5;
}

/* ============================================
   パネル（週 / 期間）
============================================ */
.period-panel {
  animation: fadeInPanel .25s ease;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.period-panel.disabled-area {
  opacity: .38;
  pointer-events: none;
  filter: grayscale(.4);
}

/* ============================================
   セレクト群
============================================ */
.period-selects {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.period-select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.period-select-group--wide {
  flex: 1;
  min-width: 130px;
}

.period-select-label {
  font-size: .72rem;
  font-weight: 700;
  color: #999;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-left: 2px;
}


/* ▼が隠れないようselectの右paddingを確保 */
.period-card select {
  padding-right: 28px; /* ← 既存の32pxのままでもOK、矢印分の余白確保 */
  overflow: hidden;    /* ← 追加 */
}
.period-card select.w_week {
  min-width: 130px;
}

.period-card select:hover,
.period-card select:focus {
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74,111,165,.15);
  background: #fff;
}

/* ============================================
   期間モード（from → to レイアウト）
============================================ */
.period-range {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.period-range__block {
  flex: 1;
  min-width: 240px;
  background: #f8f9fa;
  border: 1.5px solid #e8eaed;
  border-radius: 12px;
  padding: 14px 16px;
}

.period-range__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: #4a6fa5;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.period-range__badge--to {
  background: #5b8fa8;
}

.period-range__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f0f0f0;
  border-radius: 50%;
}

.period-range__arrow svg {
  width: 20px;
  height: 20px;
  color: #999;
}

/* ============================================
   フッター（ボタン & エラー）
============================================ */
.period-card__footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.period-error {
  font-size: .84rem;
  color: #2c3e6b;
  background: rgba(44,62,107,.08);
  border: 1px solid rgba(44,62,107,.2);
  border-radius: 8px;
  padding: 8px 16px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.btn-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2c3e6b 0%, #4a6fa5 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 36px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  box-shadow: 0 4px 16px rgba(44,62,107,.35);
}

.btn-update svg {
  width: 18px;
  height: 18px;
}

.btn-update:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,62,107,.40);
}

.btn-update:active {
  transform: translateY(0);
  opacity: .85;
}

/* ============================================
   レスポンシブ
============================================ */
@media (max-width: 600px) {
  .period-card__body {
    padding: 16px;
  }

  .period-tabs {
    width: 100%;
  }

  .period-tab__inner {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
  }

  .period-range {
    flex-direction: column;
    gap: 10px;
  }

  .period-range__arrow {
    transform: rotate(90deg);
  }

  .period-range__block {
    min-width: unset;
    width: 100%;
  }

  .period-selects {
    gap: 8px;
  }

  .btn-update {
    width: 100%;
    justify-content: center;
  }
}

