/*   transdisciplinarity.css
   学際共創課程・学際共創専攻 セクション用スタイル
   -------------------------------------------------------- */

:root {
  --c-red:      #C7000A;
  --c-black:    #000000;
  --c-text:     #4D4D4D;
  --c-num:      #808080;
  --c-yellow:   #FCE421;
  --c-bg-gray:  #E6E6E6;
  --c-bg-light: #F2F2F2;
  --c-white:    #FFFFFF;
}


/* ========================================
   基本設定
   ======================================== */

#main:has( #td-wrap){
	padding-bottom:0;
}
#main:has( #td-wrap) #breadcrumb{
	margin-bottom:0;
}
#sub:has( #td-wrap){
	max-width:unset;
	padding: 0;
}
#sub > div:has( #td-wrap){
	padding-left:0;
	padding-right:0 !important;
}
.td-inner{
	max-width:1400px;
	margin: 0 auto;
	padding: 0 16px;
}
#td-wrap {
	overflow-x: clip;
}

/* ========================================
   イントロ（ヒーローエリア）
   ======================================== */

.td-intro {
	position:relative;
	padding-top:40px;
  padding-bottom:32px;
}
.td-intro-inner{
	padding-left:calc(100vw / 1928 * 88);
}
.td-badge {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #333;
  line-height:1em;
	margin-top:0 !important;
}

.td-new {
  background-color: var(--c-black);
  color: var(--c-white);
  font-weight: bold;
  padding: 11px 12px;
  letter-spacing: 0.08em; 
  display: inline-flex;
  align-items: center;
}

/* NEWバッジ右スパン: 赤地「2027年4月スタート」 */
.td-date {
  background-color: var(--c-red);
  color: var(--c-white);
  font-weight: bold;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
}

.td-dept-title {
  font-size: 1.375rem;
  margin-bottom: 15px;
  line-height: 1.9;
	color:var(--c-black);
}
.td-dept-subtitle{
  position:relative;
  width:5em;
  color: var(--c-red);
	display:inline-flex;
	align-items:center;
	gap:0.5em;
	font-weight:bold;
}
.td-dept-subtitle::after{
	content:"";
	height:1px;
	width:100%;
	flex:1;
	background: var(--c-red);
}
.td-dept-subtitle strong{
	color:var(--c-black);
}

#td-wrap .td-hero-title {
  font-size: clamp(1.875rem, 4.17vw, 5rem) !important;
  font-weight: bold;
  line-height: 1.2375em;
  margin-bottom: 5px;
  color: #333;
  border: none;
  padding: 0;
	margin-top:15px;
	color:var(--c-black);
}
#td-wrap .td-hero-title strong,
#td-wrap .td-section-title strong{
	color:var(--c-red);
}

/* 既存CSSのh2装飾をリセット */
#td-wrap h2.td-hero-title::before,
#td-wrap h2.td-hero-title::after,
#td-wrap h2.td-section-title::before,
#td-wrap h2.td-section-title::after {
  display: none;
}
#td-wrap h2.td-hero-title:first-letter,
#td-wrap h2.td-section-title:first-letter,
#td-wrap h3.td-about-heading:first-letter{
	font-size:inherit !important;
	color:inherit;
}

.td-hero-desc {
  font-size: 1.125rem;
  line-height: 1.528em;
  margin-bottom: 10px;
	margin-top:0 !important;
	color:var(--c-black);
}

.td-year-info {
  display: inline-block;
  font-size: 1.125rem;
	font-weight:bold;
  line-height: 1.64;
	color:var(--c-black);
}

/* ========================================
   アンカーナビゲーション
   ======================================== */
.td-anchor-nav {
  background-color: var(--c-black);
  margin: 0;
  position: sticky;
  top: 8px;
  z-index: 50;
}

.td-anchor-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
	justify-content: center;

}

.td-anchor-list li{
	display:flex;
  align-items: center;
}
.td-anchor-list li:not(:last-child)::after {
	content:"";
	height:1em;
	width:1px;
	background:#fff;
}

.td-anchor-list li:last-child {
  border-right: none;
}
#td-wrap .td-anchor-list a{
	color:#fff;
	text-decoration:unset;
	font-weight:bold;
}

.td-anchor-link {
  display: block;
  text-align: center;
  padding: 13px 30px;
  color: var(--c-white);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  transition: background-color 0.2s ease;
}

.td-anchor-link:hover,
.td-anchor-link:focus-visible {
  background-color: var(--c-red);
  color: var(--c-white);
  text-decoration: none;
}

/* ========================================
   ビジュアル写真エリア
   ======================================== */
.td-visual {
  position: absolute;
  top: 0;
	right:0;
	z-index:-1;
	width:100%;
	height:100%;
}

.td-visual-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.td-visual01{
	position:absolute;
	top:40px;
	right:0;
	width:calc(100vw / 1928 * 724);
}
.td-visual02{
	position:absolute;
	left:calc(100vw / 1928 * 722);
	width:calc(100vw / 1928 * 575);
	bottom:0;
}
.td-visual03{
	position:absolute;
	z-index:-1;
	top:0;
	left:0;
}
.td-visual04{
	z-index:1;
  position: absolute;
	top:74px;
  width: 100%;
	/*opacity:.5;*/
	opacity:1;
	
}
@media(max-width:1366px){
	.td-visual02{
    left: 450px;
	}
}
/* ========================================
   セクション共通
   ======================================== */
.td-section {
  padding: 100px 0;
}

/* CURRICULUMセクション: グレー背景 */
#td-curriculum {
  background-color: var(--c-bg-gray);
  border-bottom: none;
}

/* FEATURESセクション: 赤背景 */
#td-features {
  background-color: var(--c-red);
  border-bottom: none;
	padding-top:83px;
}

.td-section-label {
  margin-bottom: 10px;
  font-weight: bold;
  display: inline-block;
  border-bottom: 1px solid var(--c-red);
	font-size:1rem;
}

#td-wrap .td-section-title {
  font-size: clamp(1.75rem, 2.604vw, 3.125rem) !important;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
  border: none;
  padding: 0;
	margin-top:0;
}

#td-wrap .td-section-title small{
	font-size:1.125rem;
	color:#666666;
}

/* 既存CSSのh2装飾をリセット */
#td-wrap .td-section-title::before,
#td-wrap .td-section-title::after {
  display: none;
}

.td-section-subtitle {
  font-size: 1.125rem;
  margin-bottom: 0;
	font-weight:bold;
}


/* FEATURESセクション内テキスト（赤背景） */
#td-features .td-section-label {
  color: var(--c-white);
}
#td-features .td-section-title {
  color: var(--c-white);
	margin-top:0;
}
#td-features .td-section-subtitle {
  color: var(--c-white);
}
#td-features .td-feature-title {
	z-index:1;
	border:unset;
  margin-bottom: 0;
  margin-top: 0;
	padding-bottom:0;
	font-size:1.875rem;
}

/* ========================================
   ABOUTセクション
   ======================================== */
.td-about-body {
  margin-top: 32px;
}

.td-about-block {
  margin-top: 40px;
}

#td-wrap .td-about-heading {
  /*font-size: 1.875rem;*/
	font-size: clamp(1.6rem, 1.9vw, 1.875rem) !important;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.6;
  border: none;
  padding: 0;
  margin-bottom: 10px;
	z-index:1;
}

#td-wrap .td-about-heading::before,
#td-wrap .td-about-heading::after {
  display: none;
}
.td-about-heading-small{
	display:block;
	color:var(--c-red);
	font-size:1rem;
}

.td-about-block p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.td-about-block p:last-child {
  margin-bottom: 0;
}
.td-about-block-box{
	background:var(--c-bg-light);
	border:1px solid var(--c-red);
}


#td-wrap .td-about-block-box .td-about-heading{
	color:var(--c-white);
	background:var(--c-red);
	z-index: 1;
	padding:13px 24px 9px;
  margin-bottom: 0;
	font-size: clamp(1.375rem, 1.6vw, 1.5625rem) !important;
	margin-top:0;
}
.td-about-block-box-desc{
	padding:30px 40px;
	font-weight:bold;
	font-size:1.125rem;
}
.td-about-block-box strong{
	color:var(--c-red);
}

/* ========================================
   FEATURESセクション（4つの特徴）
   ======================================== */
#td-features .td-section-label,
#td-merit .td-section-label,
#td-admission .td-section-label{
	border-bottom-color:var(--c-black)
}
.td-features-grid {
  margin-top: 36px;
}

.td-feature-col {
  margin-bottom: 24px;
}

.td-feature-inner {
  background-color: var(--c-white);
  padding: 28px 24px 28px;
  height: 100%;
  position: relative;
}

.td-feature-top {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 16px;
}

.td-feature-keyword {
	display: block;
  color: var(--c-red);
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
	font-size:1rem;
}

.td-feature-num {
  font-size: clamp(2.5rem, 4.17vw, 5em);
  font-weight: bold;
  color: var(--c-num);
  line-height: 1;
	position:relative;
	display:flex;
  align-items: center;
	gap:30px;
}
.td-feature-num::after{
	content:"";
  height: 100%;
	width:1px;
	background:#999999;
	display:block;
}

.td-feature-title {
  font-size: 1.875em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.55;
  border: none;
  padding: 0;
}

#td-wrap .td-feature-title::before,
#td-wrap .td-feature-title::after {
  display: none;
}

.td-feature-desc {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* ========================================
   レスポンシブ（スマートフォン）
   ======================================== */
@media (max-width: 767px) {

  .td-intro {
    padding: 28px 0 95px;
  }
	.td-intro-inner{
		padding-left:16px;
		padding-right:16px;
	}
	.td-badge{
		font-size:1.125rem;
	}
	.td-new{
    padding: 4px;
	}
	.td-dept-title{
		line-height:1.4;
		font-size:1.125rem;
    margin-bottom: 10px;
	}
	.td-dept-subtitle{
		width:4.7em;
	}
  #td-wrap .td-hero-title {
    font-size: 2.5rem !important;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 15px;
  }
	.td-hero-detail{
    display: block;
    margin-left: 47px;
    width: fit-content;
	}
  .td-hero-desc {
    font-size: 0.875rem;
    margin-bottom: 10px;
  }
	.td-year-info{
		font-size:0.875rem;
	}
  .td-anchor-nav {
    top: 58px;
  }
  .td-anchor-list {
    padding: 5px 0px;
  }
  .td-anchor-list li:nth-child(3)::after {
  	display:none;
  }
  .td-anchor-list a{
	margin:5px;
  }
  .td-anchor-link {
    font-size: 0.875rem;
    padding: 2px 10px;
  }

  /* 写真エリア */
  .td-visual {
    width: 100vw;
  }

  .td-visual-img {
  }
	.td-visual01{
		top:unset;
    bottom: 26px;
    width: calc(100vw / 375 * 144);
    height: calc(100vw / 375 * 113);
	}
	.td-visual02{
    left: 0;
    width: calc(100vw / 375 * 273);
    bottom: 0;
    height: calc(100vw / 375 * 78);
    overflow: hidden;
		max-height:90px;
	}
	.td-visual01 img,
	.td-visual02 img{
    object-fit: cover;
    object-position: center;
    height: 100%;
	}
	.td-visual03{
    width: 165%;
    left: -58%;
	}
	.td-visual04{
    width: calc(100vw / 375 * 733);
    top: unset;
    bottom: -400px;
    right: calc(100vw / 375 * -182);
    opacity: 1;
	}
  .td-section {
    padding: 60px 0 54px;
  }

	.td-section-label{
		font-size:1em;
		margin-bottom: 16px;
	}
  #td-wrap .td-section-title{
    font-size: 1.875rem !important;
		line-height:1.4;
  }
	#td-wrap .td-section-title small{
		font-size:0.9rem;
    display:block;
    margin-top: 6px;
	}
	.td-section-subtitle{
		font-size:1em;
	}
	#td-wrap .td-about-heading{
		font-size:1.25rem !important;
	}
	.td-about-heading-small{
		font-size:0.9rem;
    margin-bottom: 6px;
	}
	#td-wrap .td-about-block-box .td-about-heading{
		font-size:1rem !important;
		line-height:1.25;
	}
	.td-about-block p{
		font-size:1em;
	}
	.td-about-block-box-desc{
		font-size:1em;
	}
	.td-about-block-box-desc{
		padding:15px;
	}

	#td-features .td-inner,
	#td-curriculum .td-inner,
	#td-merit .td-inner{
		padding:0;
	}
  .td-feature-num {
    font-size: 3.75rem;
    gap: 10px;
  }

  .td-feature-inner {
    padding: 15px;
  }
	#td-features .td-feature-title{
		font-size:1.25rem;
    padding-top: 4px;
	}
	.td-features-grid{
		margin-top:24px;
	}
	.td-feature-col{
		margin-bottom:10px;
	}
	.td-feature-top{
		gap:18px;
	}
	.td-feature-keyword{
		font-size:1em;
	}
	.td-feature-desc{
		font-size:1em;
	}
}

@media (max-width: 400px) {
	.td-hero-detail{
		margin-left:auto;
		margin-right:0;
	}
}

/* ========================================
   アコーディオン共通
   ======================================== */
.td-accordion {
  margin-top: 80px;
  border: 1px solid var(--c-red);
}

.td-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 30px 10px;
  background-color: var(--c-white);
  color: var(--c-red);
  font-size: 1.625rem;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
	border:unset;
	position:relative;
}
.td-accordion-btn:hover,
.td-accordion-btn:focus-visible {
  background-color: #fff0f0;
}

.td-accordion-title {
  flex: 1;
	line-height: 1.4em;
}

.td-accordion-icon {
  font-size:0;
  width: 22px;
  height: 22px;
  position: relative;
  flex: 0 0 auto;
}
.td-accordion-icon::before, .td-accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--c-red);
  transition: transform .25s;
}
.td-accordion-icon::before {
  left: 0;
  top: 10px;
  width: 22px;
  height: 2px;
}
.td-accordion-icon::after {
  left: 10px;
  top: 0;
  width: 2px;
  height: 22px;
}
.td-accordion-icon.open::after {
    transform: scaleY(0);
}

.td-accordion-body {
  padding: 40px 30px;
	position:relative;
  display: none;
}
.td-accordion-body::before{
	content:"";
	height:1px;
	width:calc(100% - 60px);
	background:var(--c-red);
	display:block;
	position:absolute;
	top:0;
	left:50%;
	transform:translateX(-50%);
}


#td-wrap .td-notice {
	font-size:2.5rem;
	border-bottom:unset;
	text-align:center;
  margin-top: 0;
  padding-top: 0;
}
.td-notice span{
	display:inline-block;
	background:var(--c-black);
	color:var(--c-white);
	font-size:1.25rem;
  padding: 3px 14px;
	margin-bottom:16px;
}
.td-notice small{
	font-size:1.125rem;
	color:var(--c-text);
  display: block;
}
.td-notice::before{
	display:none;
}

/* ========================================
   STRUCTUREセクション（BEFORE / AFTER）
   ======================================== */
.td-ba-wrap,
.td-structure-detail {
  margin-top: 36px;
	display:flex;
  align-items: stretch;
	flex-wrap:wrap;
	gap:30px;
  justify-content: center;
}

.td-ba-panel {
  padding: 56px 24px 0;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
	width:623px;

}

.td-ba-before {
  background-color: var(--c-bg-gray);
}

.td-ba-after {
  background-color: var(--c-red);
  color: var(--c-white);
}

.td-ba-label {
  font-weight: bold;
  margin-bottom: 35px;
	font-size:1.5rem;
	text-align:center;
  line-height: 1.5em;
}
.td-ba-label span{
	font-size:2.1875rem;
}

.td-ba-before .td-ba-label {
  color: var(--c-red);
}
.td-ba-before .td-ba-label span{
	color:#333;
}

.td-ba-after .td-ba-label {
  color: var(--c-yellow);
}
.td-ba-after .td-ba-label span{
	color:var(--c-white);
}


.td-ba-label span {
  display: block;
  letter-spacing: 0;
  color: inherit;
  margin-top: 2px;
}

.td-ba-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border: 1px solid var(--c-black);
  border-left: unset;
  border-right: unset;
  padding: 21px 0;
}

.td-ba-list li {
  padding: 2px 0;
  text-align: center;
  position: relative;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.4em;
}

.td-ba-problem {
  color: #c7000a;
  font-size: 1.575rem;
  margin: 0;
  line-height:1.5em;
  margin-top: 0 !important;
  text-align:center;
  font-weight:bold;
}
.td-ba-problem span {
  font-size:1.25rem;
  font-weight:normal;
}

.td-ba-after-box {
  padding: 16px;
  margin-bottom: 16px;
	font-size:2.5rem;
	border:1px solid var(--c-white);
	border-right:unset;
	border-left:unset;
	font-weight:bold;
}

#td-wrap .td-ba-after-box p {
  color: var(--c-white);
  margin: 4px 0;
  line-height: 1.5;
}
.td-ba-after-box span{
	display:inline-block;
}
.td-ba-after-box span:first-child{
	width:3.2em;
}
.td-ba-after-box strong{
	color:var(--c-yellow);
}

.td-ba-note {
	text-align:center;
	line-height: 1.7;
	margin-bottom: 16px;
	font-size:1.25rem;
	color:var(--c-white);
	font-weight:bold;
}

.td-ba-arrow-col,
.td-sd-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.td-ba-arrow {
  font-size: 0;
	border-top:65px solid transparent;
	border-bottom:65px solid transparent;
	border-left:37px solid var(--c-red);
	border-right:0;
  height: 0;
}
@media (max-width:1610px) and (min-width:768px){
	.td-ba-panel{
    transform: scale(0.8);
    transform-origin: top center;
    margin-bottom: -125px;
    margin-right: -62.5px;
    margin-left: -62.5px;
	}
}
@media (max-width:1366px) and (min-width:768px){
	.td-ba-panel{
    transform: scale(0.6);
    transform-origin: top center;
    margin: 0 -123px -246px;
	}
}
@media (max-width:1126px) and (min-width:768px){
	.td-ba-wrap{
		flex-direction:column;
    align-items: center;
	}
	.td-ba-arrow-col .td-ba-arrow{
		border-right:65px solid transparent;
		border-left:65px solid transparent;
		border-top:37px solid var(--c-red);
		border-bottom:0;
	}
	.td-ba-panel{
    transform: scale(0.8);
    transform-origin: top center;
    margin-bottom: -125px;
    margin-right: -62.5px;
    margin-left: -62.5px;
	}
}

/* 専門分野タグ */
.td-dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.td-dept-tag {
  display: inline-block;
  background-color: var(--c-black);
  color: var(--c-white);
  font-size: 1.125rem;
  font-weight: bold;
  padding: 7px 10px;
  width: 76px;
  text-align: center;
}

/* アコーディオン内の詳細構造 */
.td-accordion-body-desc{
	font-size:1.25rem;
	font-weight:bold;
	text-align:center;
	line-height:1.5;
}
.td-accordion-body-desc strong{
	color:var(--c-red);
}
.td-structure-detail {
  margin-top: 24px;
}

.td-sd-panel {
  padding: 20px;
	background:var(--c-bg-light);
	height:100%;
}
#td-wrap .td-sd-heading{
	border:0;
  font-size:2.1875rem;
	background:var(--c-white);
	color:var(--c-red);
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.td-sd-dept{
	text-align:center;
	font-size:1.625rem;
	color:var(--c-red);
	font-weight:bold;
}
#td-wrap .td-sd-before .td-sd-heading,
.td-sd-before .td-sd-dept{
	color:#333;
}
#td-wrap table.td-sd-table{
	border:unset;
	width:100%;
}
#td-wrap table.td-sd-table thead th{
	color:inherit;
}
#td-wrap table.td-sd-table thead th,
#td-wrap table.td-sd-table td{
	border:unset;
	background:unset;
}
#td-wrap table.td-sd-table tr{
	height:100%;
}
.td-sd-table td{
	font-size:0.875rem;
	height:1px;
}
.td-sd-before .td-sd-table td{
	font-weight:bold;
}
.td-sd-table .dept,
.td-sd-table .field{
	font-weight:bold;
	font-size:1.375rem;
	position:relative;
  line-height: 1.4;
}
.td-sd-table .field{
  white-space: nowrap;
}
.td-sd-after .td-sd-table .colhd:not(:last-child){
	white-space:nowrap;
}
#td-wrap .td-sd-after .td-sd-table .field{
	height:120px;
}
.td-sd-table .td-sd-topline{
	border-top:1px solid var(--c-black) !important;
}
.td-sd-table .td-sd-btmline{
	border-bottom:1px solid var(--c-black) !important;
}
#td-wrap .td-sd-table .td-sd-side{
	padding:0;
}
#td-wrap .td-sd-table .td-sd-side .td-sd-side-text{
	color:var(--c-white);
	background:var(--c-red);
	font-size:1.625rem;
  writing-mode: vertical-lr;
	padding:16px 10px;
	text-align:center;
	min-height:100%;
	margin-right:30px;
	margin-top:0;
  line-height: 1.4em;
  white-space: nowrap;
	height: fit-content;
	font-weight:bold;
}
#td-wrap .td-sd-before .td-sd-table .td-sd-side .td-sd-side-text{
	background:var(--c-black);
}
.td-sdsic-text{
	color:var(--c-red);
	background:var(--c-white);
	font-size:1.625rem;
  writing-mode: vertical-lr;
	padding:16px 10px;
	text-align:center;
	height:96%;
	margin-right:30px;
	margin-left:30px;
	margin-top:0;
	width:86px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4em;
	font-weight:bold;
}
/* Firefox */
@-moz-document url-prefix() {
	#td-wrap table.td-sd-table .td-sd-side,
	#td-wrap table.td-sd-table .td-sdsic{
		height:fit-content;
	}
	#td-wrap .td-sd-table .td-sd-side .td-sd-side-text{
  	min-height: min(714px,100%);
	}
	.td-sdsic-text{
  	height: min(692px,100%);
	}
}
/* Safari の場合 */
@supports (hanging-punctuation: first) and (font: -apple-system-body) {
	#td-wrap table.td-sd-table td{
		position:relative;
	}
	#td-wrap table.td-sd-table .td-sd-side .td-sd-side-text,
	#td-wrap table.td-sd-table .td-sdsic .td-sdsic-text{
		position:absolute;
		top:0;
	}

	#td-wrap table.td-sd-table .td-sd-side{
		width:120px;
	}
	#td-wrap table.td-sd-table .td-sdsic{
		width:150px;
	}
}
.td-sd-after td{
	font-size:1rem;
}
.td-sd-table td strong{
	color:var(--c-red);
	font-size:1.125em;
	line-height:1.722em;
}
.td-structure-detail-col{
	flex:1;
}
@media (max-width:1400px) and (min-width:768px){
	.td-structure-detail{
		flex-direction:column;
    align-items: center;
	}
	.td-sd-arrow-col .td-ba-arrow{
		border-right:65px solid transparent;
		border-left:65px solid transparent;
		border-top:37px solid var(--c-red);
		border-bottom:0;
	}
	.td-structure-detail-col{
		width:100%;
	}
	#td-wrap table.td-sd-table{
    width: 100%;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
	}
	.td-sd-after .td-sd-desc{
		max-width:500px
	}
}
/* ========================================
   CURRICULUMセクション
   ======================================== */
.td-curriculum .td-section-title {
  font-size: 1.375rem;
}

.td-cur-panels {
  margin-top: 32px;
}

.td-cur-panel {
  background-color: var(--c-white);
  padding: 28px 24px;
  height: 100%;
  margin-bottom: 20px;
}
.td-cur-bar {
  display: flex;
  height: 66px;
  border-radius: 2px;
  overflow: hidden;
  font-size: 1.875em;
  font-weight: bold;
  line-height: 1.2;
}
.td-cur-cat{
	color:var(--c-red);
	font-weight:bold;
	font-size:1rem;
	margin-top:0 !important;
}
#td-wrap .td-cur-panel h3{
	background:unset;
	font-size:1.875rem;
	border-bottom:unset;
	padding:0 !important;
	margin-top:12px;
	margin-bottom:26px;
	z-index:1;
}
#td-wrap .td-cur-panel h3::before{
	display:none;
}
.td-cur-main {
  background-color: var(--c-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  color: var(--c-white);
}

.td-cur-free {
  background-color: var(--c-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  color: var(--c-yellow);
}
.td-cur-bar-cap{
	font-size:1.125rem;
	font-weight:bold;
  display: flex;
  justify-content: space-between;
	margin-top:10px;
}
.td-cur-bar-cap span{
	background:unset;
	flex:unset;
	padding:unset;
	color:inherit;
	font-size:inherit;
}
.td-cur-bar-cap .td-cur-free{
	color:var(--c-red);
}
.td-cur-chips{
	margin-top:1rem;
	display:flex;
	gap:10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.td-cur-chips span{
	display:flex;
	align-items:center;
	justify-content:center;
	background:var(--c-black);
	color:var(--c-white);
	font-size:1.125rem;
	font-weight:bold;
	width:calc((100% - 10px) / 2);
  padding: 7px;
}

#td-wrap .td-cur-panel p{
	margin-top:2em;
	font-size:1rem;
}
.td-cur-panel strong{
	color:var(--c-red);
	font-weight:bold;
}
/* ========================================
   未来起点教育 MERITセクション
   ======================================== */
.td-merit-grid {
  margin-top: 36px;
}

.td-merit-col {
  margin-bottom: 24px;
}

.td-merit-inner {
  background-color: var(--c-white);
  padding: 28px 24px;
  height: 100%;
}

#td-wrap .td-merit-num {
  color: var(--c-red);
  font-weight: bold;
  margin-bottom: 12px;
  margin-bottom: 0;
  margin-top: 0;
	font-size:1rem;
}

#td-wrap .td-merit-title {
  font-size: 1.875em;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.37;
  border: none;
  padding: 0;
	z-index:1;
  margin-top: 0;
}

#td-wrap .td-merit-title::before,
#td-wrap .td-merit-title::after {
  display: none;
}

.td-merit-desc {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}
@media (max-width:1200px) and (min-width:768px){

	#td-wrap .td-merit-title {
	  font-size: 1.5em;
	}
}
/* ========================================
   YOUR PATHセクション（入学の経路）
   ======================================== */
.td-path-grid {
  margin-top: 36px;
}

.td-path-col {
  margin-bottom: 10px;
	position:relative;
}
.td-path-col::before{
	content:"";
	width:67px;
	height:113px;
	background:var(--c-red);
	display:block;
  bottom: -122px;
	left:50%;
	transform:translateX(-50%);
  position: absolute;
  z-index: -1;
}
.td-path-col::after{
	content:"";
	border-top:37px solid var(--c-red);
	border-right:66px solid transparent;
	border-left:66px solid transparent;
	border-bottom:0;
	display:block;
	left:50%;
	transform:translateX(-50%);
  position: absolute;
  z-index: -1;
  bottom: -147px;
}

.td-path-card {
  height: 100%;
  background-color: var(--c-bg-gray);
}

.td-path-card-grad {
}

.td-path-target {
  font-size: 1.5625rem;
  font-weight: bold;
  color: var(--c-white);
  background-color: var(--c-red);
  padding: 6px 30px;
  margin-bottom: 0;
  line-height: 1.5;
  display: block;
}
.td-path-target-old{
	background:var(--c-black);
}
.td-path-detail{
	padding:24px 30px;
	font-size:1rem;
}
.td-path-timing{
	margin-top:0 !important;
}

.td-path-route {
  padding:5px 10px;
	background:var(--c-white);
	margin-top:1em;
	margin-bottom:1em;
}

.td-path-school {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--c-red);
  margin: 0 !important;
  line-height: 1.6;
}

.td-path-dept {
  font-weight: bold;
  margin: 0 !important;
  line-height: 1.6;
}

.td-path-desc {
}

.td-path-grad {
  margin-top: 8px;
}

.td-path-next{
	background:var(--c-bg-light);
	border:2px solid var(--c-red);
	color:var(--c-red);
	font-size:1.75rem;
	font-weight:bold;
	text-align:center;
  padding: 11px;
  margin: 20px auto 55px;
  width: calc(100% - 80px);
}
.td-path-grad .td-path-detail{
	display:flex;
	align-items:center;
	gap:30px;
}
.td-path-grad .td-path-timing{
	white-space:nowrap;
}
.td-path-grad .td-path-route {
	text-align:center;
	margin:0;
	min-width:25%;
}
.td-path-grad .td-path-desc{
	margin:0 !important;
}
/* 学年進行テーブル */
.td-year-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}

#td-wrap .td-year-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 1rem;
	border-left:unset;
}

#td-wrap .td-year-table th,
#td-wrap .td-year-table td {
  border: 1px solid var(--c-black);
	border-right:unset;
	border-left:unset;
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
	background:unset;
}

#td-wrap .td-year-table thead th {
	background:unset;
	color:inherit;
	border:unset;
}

#td-wrap .td-year-table tbody th {
  font-size:1.375rem;
	font-weight:bold;
}
.td-yr-new-b span,
.td-yr-new-m span,
.td-yr-new-d span,
.td-yr-old span {
	padding:9px 11px;
	margin:2px auto;
	display:block;
	width:max-content;
}

.td-yr-new-b span,
.td-yr-new-m span,
.td-yr-new-d span{
	font-weight:bold;
}

.td-yr-new-b span{
	background:#efe3c2;
}
.td-yr-new-m span{
	background:#c7d6a1;
}
.td-yr-new-d span{
	background:#f9c3ba;
}
.td-yr-old span{
	background:#daeaf0;
}

.td-year-table-footnote{
	font-size:0.875rem;
	text-align:right;
}

/* ========================================
   セクション背景色（全幅展開）
   ======================================== */

/* MERITセクション: 黒背景 */
#td-merit {
  background-color: var(--c-red);
  padding-left: 20px;
  padding-right: 20px;
  border-bottom: none;
}

#td-merit .td-section-label {
  color: var(--c-white);
}

#td-merit .td-section-title {
  color: var(--c-white);
}

#td-merit .td-section-subtitle{
  color: var(--c-white);
}
#td-merit .td-section-subtitle,
#td-path .td-section-subtitle {
	font-size:1rem;
}


/* ADMISSIONセクション: 赤背景 */
#td-admission {
  background-color: #c7000a;
  padding:55px 0;
  border-bottom: none;
  margin-bottom: 0;
}

#td-admission .td-section-label {
  color: var(--c-white);
}

#td-admission .td-section-title {
  color: var(--c-white);
	text-align:center;
	margin-bottom:20px;
}
#td-admission p{
	color:var(--c-white);
	font-weight:bold;
	font-size:1rem;
}
.td-btn-addmission-wrap{
	margin-top:40px;
	margin-bottom:20px;
}
#td-admission .td-btn-admission {
  background-color: var(--c-black);
  color: var(--c-white);
	font-size:1.375rem;
	font-weight:bold;
}

#td-admission .td-btn-admission:hover,
#td-admission .td-btn-admission:focus-visible {
  background-color: #1a1a1a;
  color: var(--c-white);
}

#td-admission .td-admission-note {
  color: var(--c-white)
}

/* ========================================
   レスポンシブ追記（新セクション分）
   ======================================== */
@media (max-width: 767px) {
	.td-accordion-title{
	}
  /* アコーディオン */
  .td-accordion-btn {
    font-size: 1.25rem;
    padding: 14px 16px;
		line-height:1.25em;
  }
	.td-accordion-icon::before{
		height:4px;
		top:9px;
	}
	.td-accordion-icon::after{
		width:4px;
		left: 9px;
	}
	.td-accordion-body::before{
	    width: calc(100% - 40px);
	}
	#td-wrap .td-notice{
		font-size:1.25rem;
	}
  /* BEFORE/AFTER */
	.td-ba-panel{
		width:100%;
		max-width:351px;
		margin-left:auto;
		margin-right:auto;
		padding:0 24px;
		justify-content: center;
	}
	.td-ba-wrap, .td-structure-detail{
		gap:20px;
		padding:0;
	}
	.td-ba-item-col{
		width:100%;
	}
	.td-ba-label{
		font-size:0.8125rem;
    margin-bottom: 20px;
    margin-top: 0 !important;
	}
	.td-ba-label span{
		font-size:1.0625rem;
		margin-top:4px;
	}
	.td-ba-list{
    padding: 10px 0;
    margin-bottom: 11px;
	}
	.td-ba-list li{
		font-size:0.9875rem;
	}
	.td-ba-problem{
		font-size:0.9375rem;
	}
	.td-ba-problem span{
		font-size:0.875rem;
	}
  .td-ba-arrow-col,
  .td-sd-arrow-col {
    text-align: center;
  }
  .td-ba-arrow {
    display: block;
    border-right: 37px solid transparent;
    border-left: 37px solid transparent;
    border-top: 20px solid var(--c-red);
		border-bottom:unset;
  }
	.td-ba-after-box{
		font-size:1.375rem;
		padding:10px;
    margin-bottom: 10px;
	}
	.td-ba-note{
		font-size:0.9375rem;
		margin-bottom:0px;
		margin-top:0 !important;
	}
	.td-notice span{
    font-size: 0.9rem;
	}
	.td-notice small{
		font-size:0.9rem;
	}
	.td-accordion{
		margin-top:30px;
	}
	.td-accordion-body-desc{
		font-size:1rem;
	}
	.td-dept-tags{
		gap:5px;
    margin-bottom: 10px;
	}
	.td-dept-tag{
		font-weight:normal;
		font-size:0.875rem;
    width: 42px;
		padding:0 2px;
	}
	#td-wrap .td-sd-heading{
		font-size:1.25rem;
    width: 130px;
    height: 40px;
	}
	.td-sd-dept{
		font-size:1.125rem;
	}
	#td-wrap .td-sd-after .td-sd-table .field{
		height:100px;
	}
	.td-sd-table td strong{
		font-size:1rem;
	}
	.td-sd-after td{
		font-size:inherit;
	}
	#td-wrap .td-sd-table .td-sd-side{
    width: 5em;
	}
	#td-wrap .td-sd-table .td-sd-side .td-sd-side-text{
		font-size:1.125rem;
    margin-right: 15px;
     padding: 12px 8px;
	}
	.td-structure-detail{
		flex-direction:column;
	}
	.td-structure-detail-col{
		flex:unset;
		width:100%;
	}
	.td-sd-table .dept,
	.td-sd-table .field{
		font-size:1.125rem;
	}
	.td-sdsic-text{
    font-size: 1.125rem;
    margin-right: auto;
    margin-left: auto;
    width: 50px;
    height: 94%;
	}
	.td-sd-table-wrapper{
		width:100%;
		overflow-x:auto;
	}
	#td-wrap table.td-sd-table{
		min-width:550px;
	}

	/* Safari の場合 */
	@supports (hanging-punctuation: first) and (font: -apple-system-body) {

		#td-wrap table.td-sd-table .td-sd-side{
			width:85px;
		}
		#td-wrap table.td-sd-table .td-sdsic{
			width:75px;
		}
	}
  /* CURRICULUM */
  .td-cur-panel {
    margin-bottom: 16px;
		padding:20px 14px;
  }
	#td-wrap .td-cur-panel h3{
		font-size:1.25rem;
    margin-top: 4px;
    margin-bottom: 20px;
  }
  .td-cur-bar {
    height: 34px;
		font-size:1rem;
  }
	.td-cur-bar-cap span{
		font-size:0.875rem;
	}
	#td-wrap .td-cur-panel p{
		margin-top:1em;
		font-size:1em;
		line-height:1.75;
	}
	#td-wrap .td-cur-cat{
		margin-top:0 !important;
	}
	.td-cur-chips span{
		width:100%;
		font-size:inherit;
    padding: 1px;
	}

  /* MERIT */
	#td-merit{
		padding-top:40px;
	}
	#td-wrap .td-merit-num{
		font-size:1em;
	}
	.td-merit-grid{
    margin-top: 25px;
	}
  .td-merit-inner {
    padding: 15px;
  }
	#td-wrap .td-merit-title{
		font-size:1.25rem;
    margin-bottom: 0;
	}
	#td-wrap .td-section-subtitle{
		font-size:1rem;
	}
	.td-merit-desc{
		line-height:1.75em;
		font-size:1em;
	}

  /* PATH */
	#td-wrap #td-path .td-section-subtitle{
		font-size:inherit;
	}
	.td-path-grid{
		position:relative;
	}
	.td-path-grid::before{
		content:"";
		width:16px;
    right: var(--bs-gutter-x);
    height: calc(100% - 12em - 10px);
    display: block;
    position: absolute;
    top: 12em;
		background:var(--c-red);
    z-index: -1;
	}
	.td-path-grid::after{
    content: "";
    border-top: 22px solid var(--c-red);
    border-right: 17px solid transparent;
    border-left: 17px solid transparent;
    border-bottom: 0;
    display: block;
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 15px;
	}
	.td-path-card{
		width:80%;
	}
	.td-path-col::before{
    position: absolute;
    z-index: -1;
    left: unset;
    height: 16px;
    right: var(--bs-gutter-x);
    width: 20%;
    top: 12em;
    transform: unset;
	}
	.td-path-col::after{
		display:none;
	}
	.td-path-col:has(+.td-path-next){
		margin-bottom:0;
	}
	.td-path-target{
		font-size:1.25rem;
		margin-top:0 !important;
    padding: 6px 15px;
	}
	.td-path-detail{
		padding:10px 15px;
		font-size:inherit;
	}
	.td-path-detail p:first-child{
		margin-top:0 !important;
	}
	.td-path-school{
		font-size:1rem;
	}
	.td-path-next{
		width:calc(100% - var(--bs-gutter-x));
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
		font-size:1.25rem;
    padding: 5px 4px 4px;
    margin: 20px auto 36px;
	}
	.td-path-next p{
		margin-top:0 !important;
	}
	
  .td-path-grad .td-path-card {
    display: block;
		width:100%;
  }
	.td-path-grad{
		margin-top:0;
	}
	.td-path-grad .td-path-detail{
		display:inherit;
	}
	.td-path-route,
  .td-path-grad .td-path-route {
		margin-top: 0.5em;
    margin-bottom: 0.5em;
		text-align:unset;
  }

  /* 学年進行テーブル */
  #td-wrap .td-year-table {
    font-size: 0.875rem;
  }
	#td-wrap .td-year-table tbody th{
    font-size: 0.875rem;
	}
  .td-year-table th,
  .td-year-table td {
    padding: 4px 5px;
  }
	.td-year-table-footnote{
		font-size:0.75rem;
	}

	.td-yr-new-b span,
	.td-yr-new-m span,
	.td-yr-new-d span,
	.td-yr-old span {
		padding: 7px 9px;
	}

  /* ADMISSION */
  .td-btn-admission {
    display: block;
    text-align: center;
    padding: 14px 20px;
		font-size:1.25rem;
  }
	#td-admission p{
		font-size:1em;
	}

  /* 全幅セクション: モバイルの padding 調整 */
  #td-features {
    padding-left: 15px;
    padding-right: 15px;
		padding-top:40px;
		padding-bottom:40px;
  }

  #td-curriculum {
    padding-left: 15px;
    padding-right: 15px;
  }

  #td-merit,
  #td-admission {
    padding-left: 15px;
    padding-right: 15px;
  }
	#td-admission .td-section-title{
		margin-bottom:10px;
	}
	.td-btn-addmission-wrap{
		margin-top:20px;
	}
	#td-admission .td-btn-admission{
		padding-right:60px;
	}
}

/* ========================================
   アクセシビリティ：モーション低減
   prefers-reduced-motion 対応
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .td-anchor-link,
  .td-accordion-btn,
  .td-btn-admission {
    transition: none;
  }

  .td-accordion-body {
    /* JSのslideDown/slideUpも短縮（JS側でも対応） */
  }
}
@media print{
	.td-ba-item-col,
	.td-structure-detail-col,
	.td-feature-inner,
	.td-cur-panel,
	.td-path-card{
		break-inside: avoid;
	}
	.td-visual04{
		bottom: calc(100vw / 375 * -400);
	}
	.td-anchor-nav{
		position:unset;
  }
	#td-wrap .td-year-table{
		min-width:unset;
	}
	#td-wrap .td-year-table,#td-wrap .td-year-table tbody th{
		font-size:11px;
	}
	#td-wrap .td-year-table th, #td-wrap .td-year-table td,
	.td-yr-new-b span, .td-yr-new-m span, .td-yr-new-d span, .td-yr-old span{
		padding:3px;
	}
	.td-accordion-btn{
    width: calc(100% - 1px);
    margin-top: 1px;
	}
	.td-accordion-body{
		display:block !important;
	}
}