@charset "UTF-8";
/* clearfix */
.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/*----------------------------------------------------
	汎用クラス
----------------------------------------------------*/
.ttl_h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 60px;
  font-weight: bold;
}

/*----------------------------------------------------
	トップページ
----------------------------------------------------*/
#index #main #top_welcome {
  margin-bottom: 20px;
}
#index #main #top_welcome .desc {
  text-align: center;
}
#index #main #top_topics {
  margin-bottom: 80px;
}
#index #main #top_topics .flex .tit {
  width: 17%;
  background: url("/sis/common/images/top/tit_tri.gif") no-repeat left top;
  background-size: contain;
  padding: 40px 0 0 40px;
}
#index #main #top_topics .flex .tit h2 {
font-size: 1.5rem;
font-weight: bold;
}
#index #main #top_topics .flex .list {
    width: 81%;
    padding-top: 80px;
}

#index #main #top_topics .flex .list ul li {
  display: -webkit-flex;
  display: flex;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 18px;
}
#index #main #top_topics .flex .list ul > a {
	display: -webkit-flex;
	display: flex;
	width: 100%;
	color: inherit;
	text-decoration: none;
}
#index #main #top_topics .flex .list ul li .date {
  padding-right: 1rem;
}
#index #main #top_topics .flex .list ul li .cat span {
	display: inline-block;
	width: 6rem;
	text-align: center;
	background: #ccc;
	color: #fff;
	font-size: 0.6875rem;
	padding: 2px 0.4rem;
	margin-right: 1.2rem;
}
#index #main #top_topics .flex .list ul li .cat span.blue {
  background: #217fc4 !important;
}
#index #main #top_topics .flex .list ul li .cat span.orange {
  background: #f38a00;
}
#index #main #top_topics .flex .list ul li .cat span.green {
  background: #73a62e;
}
#index #main #top_topics .flex .list ul li .cat span.orange {
  background: #f57a00;
}
#index #main #top_topics .flex .list ul li .ttl {
    padding: 0 1.2rem 0 0;
    flex: 1;
}
#index #main #top_topics .flex .list ul li .ttl a {
  text-decoration: none;
  color: #333;
}
#index #main #top_topics .flex .list ul li .ttl a:hover {
  opacity: 0.7;
}
#index #main #top_topics a.topics_link {
    display: block;
    font-size: 14px;
    text-align: right;
    padding: 0 4%;
}
#index #main #top_menu {
  background: #f4f8fc;
  margin-bottom: 100px;
}
#index #main #top_menu .container .flex li {
  width: -webkit-calc(100% / 3);
  width: calc(100% / 3);
  position: relative;
}
#index #main #top_menu .container .flex li a {
  display: block;
  padding: 38px 2rem 50px;
  text-align: center;
  color: #333;
  text-decoration: none;
}
#index #main #top_menu .container .flex li a .icon {
  display: block;
  position: relative;
  width: 100%;
  height: 85px;
  text-align: center;
  margin-bottom: 20px;
}
#index #main #top_menu .container .flex li a .icon img {
  position: absolute;
  left: calc(50% - 42px);
  top: 0;
  transition: all 0.3s;
}
#index #main #top_menu .container .flex li a .icon img.on {
  opacity: 0;
}
#index #main #top_menu .container .flex li a:hover {
  color: #217fc4;
  cursor: pointer;
}
#index #main #top_menu .container .flex li a:hover .icon img.on {
  opacity: 1;
}
#index #main #top_menu .container .flex li:before {
  content: '';
  height: 70%;
  width: 1px;
  position: absolute;
  left: 0;
  top: 15%;
  background: #cae0f1;
}
#index #main #top_menu .container .flex li:last-child:after {
  content: '';
  height: 70%;
  width: 1px;
  position: absolute;
  right: 0;
  top: 15%;
  background: #cae0f1;
}
/*----------------------------------------------------
	 追記
----------------------------------------------------*/

#main li {
    list-style: disc;
    margin: 0 0 0 1em;
}
#club td {
    width: 50%;
}
#top_menu li {
    list-style: none;
    margin: 0 0 0 0;
}
@media (max-width: 767px) {
  #index #main #top_topics .flex {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #index #main #top_topics .flex .tit {
	width: 100%;
    padding: 20px 0 10px 20px;
  }
  #index #main #top_topics .flex .list {
	width: 100%;
    padding-top: 40px;
  }
  #index #main #top_topics .flex .list ul {
    padding: 0 4%;
  }
  #index #main #top_topics .flex .list ul li {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #index #main #top_topics .flex .list ul li .ttl {
	width: 100%;
	padding: 0;
	margin-top: 8px;
	flex: auto;
  }
  #index #main #top_menu .container .flex {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 2%;
  }
  #index #main #top_menu .container .flex li {
    width: 100%;
  }
  #index #main #top_menu .container .flex li:after {
    content: '';
    height: 70%;
    width: 1px;
    position: absolute;
    right: 0;
    top: 15%;
    background: #cae0f1;
  }
  #index #main #f_bana .slider li img {
    width: 100%;
  }
}
/*----------------------------------------------------
	 <= フッターアクセス
----------------------------------------------------*/


.footer .access .btn-01{
	display:block;
	margin-bottom:12px;
}

.footer .access .btn-01:nth-child(n+2){
	margin-top:25px;
}

.footer .btn-01 > span::after,
.footer .btn-01 > span::before,
.footer .btn-01 > span > span::after,
.footer .btn-01 > span > span::before{
	background-color:#fff;
}

.footer .btn-01 > span > span > span:after{
	background:transparent;
}

.footer .btn-01 span{
	color:#fff;
}

.footer .btn-01 {
    padding:10px 35px;
    font-size: 1.4rem;
}

.btn-01{
	display: inline-block;
	padding: 15px;
	position: relative;
	text-decoration: none;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	z-index: 0;
}
.btn-01 > span::after,
.btn-01 > span::before,
.btn-01 > span > span::after,
.btn-01 > span > span::before {
	background-color: #fff;
	content:"";
	display: block;
	position: absolute;
	z-index: 10;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
.btn-01 > span::after {
	height: 1px;
	left: -1px;
	top: -1px;
	width: 8px;
}
.btn-01 > span::before {
	bottom: -1px;
	height: 1px;
	right: -1px;
	width: 8px;
}
.btn-01 > span > span::after {
	height: 8px;
	left: -1px;
	top: -1px;
	width: 1px;
}
.btn-01 > span > span::before {
	bottom: -1px;
	height: 8px;
	right: -1px;
	width: 1px;
}
.btn-01 > span > span > span:after{
	display: block;
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	-webkit-transition: .3s;
	transition: .3s;
}

@media screen and (min-width: 768px), print{
	.btn-01{
		padding:6px;
		font-size:1.0rem;
		width: 206px;
		margin: 0 0 10px 0;
	}
	a.btn-01 {
    color: white;
	}
	.btn-01 > span::after,
	.btn-01 > span::before {
		width: 15px;
	}
	.btn-01 > span > span::after,
	.btn-01 > span > span::before {
		height: 15px;
	}
	/* hover */
	.btn-01:hover > span:after,
	.btn-01:hover > span:before {
		width: 100%;
		width: calc(100% + 2px);
	}
	.btn-01:hover > span > span::after,
	.btn-01:hover > span > span::before {
		height: 100%;
		height: calc(100% + 2px);
	}
	.btn-01 > span > span > span:after{
		width: calc(100% - 14px);
		height: calc(100% - 14px);
	}
	.btn-01:hover > span > span > span:after{
		width: 100%;
		height: 100%;
	}
	.btn-more a{
		display: none;
	}
}

/*----------------------------------------------------
  graduateschool.html
----------------------------------------------------*/
.graduateschool-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 28px auto 34px;
}
.graduateschool-visuals .campus-card {
  margin: 0;
  width: 100%;
  max-width: 470px;
  justify-self: center;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.graduateschool-visuals .campus-card img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center bottom;
}
.graduateschool-visuals .campus-card figcaption {
  padding: 18px 20px 22px;
}
.graduateschool-visuals .campus-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf4fb;
  color: #227fc4;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.graduateschool-visuals h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.5;
}
.graduateschool-visuals p {
  margin: 0;
  line-height: 1.8;
  color: #444;
}
@media screen and (max-width: 767px) {
  .graduateschool-visuals {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 540px;
    margin: 24px auto 30px;
  }
  .graduateschool-visuals .campus-card {
    max-width: 520px;
  }
  .graduateschool-visuals .campus-card img {
    height: 380px;
  }
}




/*----------------------------------------------------
	 <= 1000px
----------------------------------------------------*/
/*----------------------------------------------------
	phone - tablet <= 767px
----------------------------------------------------*/
/*----------------------------------------------------
	phone <= 480px
----------------------------------------------------*/

/*----------------------------------------------------
	TOPICS card layout (top page)
----------------------------------------------------*/
#index #main #top_topics {
  margin-bottom: 90px;
}

#index #main #top_topics .flex {
  display: block;
}

#index #main #top_topics .flex .tit {
  width: 100%;
  background: none;
  padding: 0;
  text-align: center;
  margin-bottom: 42px;
}

#index #main #top_topics .flex .tit h2 {
  font-size: 3rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

#index #main #top_topics .flex .tit h2::after {
  content: "";
  display: block;
  width: 330px;
  max-width: 80%;
  height: 8px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #13c8d9 0%, #27458f 100%);
}

#index #main #top_topics .flex .list {
  width: 100%;
  padding-top: 0;
}

#index #main #top_topics .flex .list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 22px;
  padding: 0;
}

#index #main #top_topics .flex .list ul li {
  list-style: none;
  margin: 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  border-bottom: 0;
  padding: 8px 10px 10px;
  min-height: 300px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

#index #main #top_topics .flex .list ul li::before {
  content: "";
  order: 0;
  width: 100%;
  height: 145px;
  background: url("/sis/common/images/top/topics01.png") center center no-repeat;
  background-size: cover;
  margin-bottom: 8px;
}

#index #main #top_topics .flex .list ul li .cat {
  order: 1;
}

#index #main #top_topics .flex .list ul li .cat span {
  width: auto;
  min-width: 84px;
  margin-right: 8px;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 1rem;
  line-height: 1;
}

#index #main #top_topics .flex .list ul li .cat span.blue,
#index #main #top_topics .flex .list ul li .cat span.orange {
  background: #f38a00;
}

#index #main #top_topics .flex .list ul li .cat span.green {
  background: #73a62e;
}

#index #main #top_topics .flex .list ul li .date {
  order: 2;
  padding-right: 0;
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0;
}

#index #main #top_topics .flex .list ul li p,
#index #main #top_topics .flex .list ul li > a {
  order: 3;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 6px 0 0;
  color: #333;
  text-decoration: none;
  display: block;
  overflow: visible;
}

#index #main #top_topics .flex .list ul li > a,
#index #main #top_topics .flex .list ul li > a * {
  text-decoration: none !important;
}

#index #main #top_topics .flex .list ul li p a {
  color: inherit;
  text-decoration: underline;
}

#index #main #top_topics a.topics_link {
  margin-top: 18px;
  padding: 0;
  font-size: 1.4rem;
}

@media (max-width: 1000px) {
  #index #main #top_topics .flex .list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  #index #main #top_topics .flex .tit {
    margin-bottom: 22px;
  }

  #index #main #top_topics .flex .tit h2 {
    font-size: 2.7rem;
  }

  #index #main #top_topics .flex .list ul {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
  }

  #index #main #top_topics .flex .list ul li::before {
    height: 136px;
  }

  #index #main #top_topics .flex .list ul li {
    min-height: 276px;
  }

  #index #main #top_topics .flex .list ul li:nth-child(n+4) {
    display: none;
  }

  #index #main #top_topics .flex .list ul li .cat span {
    font-size: 0.9rem;
    min-width: 72px;
  }

  #index #main #top_topics .flex .list ul li .date {
    margin-top: 4px;
    font-size: 1.5rem;
  }

  #index #main #top_topics .flex .list ul li p,
  #index #main #top_topics .flex .list ul li > a {
    font-size: 0.96rem;
  }
}

/*----------------------------------------------------
	Examinee + sitemap block (top page)
----------------------------------------------------*/
#index #main #top_examinee {
  margin: 10px auto 90px;
}

#index #main #top_examinee .section_head {
  text-align: center;
  margin-bottom: 30px;
}

#index #main #top_examinee .section_head h2 {
  display: inline-block;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 6px solid transparent;
  border-image: linear-gradient(90deg, #13c8d9, #27458f) 1;
}

#index #main #top_examinee .examinee_panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

#index #main #top_examinee .examinee_panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  background: #fff;
}

#index #main #top_examinee .panel_image {
  min-height: 176px;
  background-size: cover;
  background-position: center;
}

#index #main #top_examinee .panel_body {
  background: rgba(241, 244, 248, 0.9);
  padding: 12px;
}

#index #main #top_examinee .panel_body h3 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

#index #main #top_examinee .panel_body p {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 10px;
}

#index #main #top_examinee .panel_links a {
  display: block;
  background: #3d4c86;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 6px;
  padding: 6px 9px;
  text-align: right;
}

#index #main #top_examinee .panel_links a:last-child {
  margin-bottom: 0;
}

#index #main #top_examinee .examinee_shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

#index #main #top_examinee .shortcut_card {
  background: #fff;
  text-decoration: none;
  color: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  border: 1px solid #d3d3d3;
  padding: 14px 8px 8px;
  text-align: center;
}

#index #main #top_examinee .shortcut_card .material-symbols-outlined {
  font-family: "Material Symbols Rounded";
  display: block;
  width: 92px;
  font-size: 4.2rem;
  margin: 2px auto 10px;
  line-height: 1;
  font-weight: 600;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 120, "opsz" 48;
  position: relative;
  padding: 8px 0 0;
  text-align: center;
  color: #6f6df6;
  background: linear-gradient(135deg, #28b4ff 0%, #7f65ff 70%, #b25dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#index #main #top_examinee .shortcut_card .material-symbols-outlined:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-58%);
  width: 56px;
  height: 46px;
  border-left: 4px solid #8d8d8d;
  border-bottom: 4px solid #8d8d8d;
  border-radius: 0 0 0 14px;
}

#index #main #top_examinee .shortcut_card .shortcut_label {
  display: block;
  background: #4a578d;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.3;
  padding: 7px 4px;
}

#index #main #top_examinee .sitemap_head {
  margin-top: 14px;
}

#index #main #top_examinee .sitemap_links {
  margin-top: 20px;
}

#index #main #top_examinee .sitemap_primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

#index #main #top_examinee .sitemap_primary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  color: #111;
  text-decoration: none;
}

#index #main #top_examinee .sitemap_primary a .material-symbols-outlined {
  font-size: 1.7rem;
  line-height: 1;
  color: #111;
}

#index #main #top_examinee .sitemap_columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#index #main #top_examinee .site_col h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

#index #main #top_examinee .site_col ul {
  padding: 0;
  margin: 0;
}

#index #main #top_examinee .site_col ul li {
  list-style: none;
  margin: 0 0 4px;
  font-size: 0.98rem;
}

#index #main #top_examinee .site_col ul li a {
  color: #333;
  text-decoration: none;
}

#index #main #top_examinee .site_col ul li a:before {
  content: "play_arrow";
  font-family: "Material Symbols Outlined";
  font-size: 1.1em;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.12em;
  margin-right: 0.1em;
  font-feature-settings: "liga";
}

@media (max-width: 1000px) {
  #index #main #top_examinee .examinee_panels {
    grid-template-columns: 1fr;
  }

  #index #main #top_examinee .examinee_shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #index #main #top_examinee .sitemap_columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #index #main #top_examinee .section_head h2 {
    font-size: 2.5rem;
  }

  #index #main #top_examinee .examinee_panel {
    grid-template-columns: 1fr;
  }

  #index #main #top_examinee .panel_image {
    min-height: 150px;
  }

  #index #main #top_examinee .examinee_shortcuts {
    grid-template-columns: 1fr;
  }

  #index #main #top_examinee .sitemap_primary a {
    font-size: 1.25rem;
  }

  #index #main #top_examinee .sitemap_primary a .material-symbols-outlined {
    font-size: 1.45rem;
  }

  #index #main #top_examinee .site_col h3 {
    font-size: 1.22rem;
  }

  #index #main #top_examinee .site_col ul li {
    font-size: 0.9rem;
  }

  #index #main #top_examinee .sitemap_columns {
    grid-template-columns: 1fr;
  }
}

/*----------------------------------------------------
	Common footer banner slider
----------------------------------------------------*/
#f_bana {
  margin: 36px auto 26px;
  position: relative;
}

#f_bana .slider {
  margin: 0;
  padding: 0 26px;
}

#f_bana .slider li {
  list-style: none;
  padding: 0 8px;
}

#f_bana .slider li img {
  width: 100%;
  border: 1px solid #d8d8d8;
}

#f_bana .f-bana-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}

#f_bana .f-bana-prev {
  left: -2px;
}

#f_bana .f-bana-next {
  right: -2px;
}

#f_bana .f-bana-arrow:before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid #9e9e9e;
  border-right: 3px solid #9e9e9e;
  margin: 7px auto;
}

#f_bana .f-bana-prev:before {
  transform: rotate(-135deg);
}

#f_bana .f-bana-next:before {
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  #f_bana {
    margin-top: 26px;
  }

  #f_bana .slider {
    padding: 0 20px;
  }
}

/*----------------------------------------------------
	Top hero redesign (index only)
----------------------------------------------------*/
@media (min-width: 768px) {
  #index {
    position: relative;
    --top-hero-head-h: 56px;
    --top-hero-logo-w: 340px;
  }

  #index > header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 30;
    pointer-events: none;
  }

  #index > header .inn {
    max-width: none;
    padding: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-height: var(--top-hero-head-h);
  }

  #index > header .inn .logo {
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--top-hero-logo-w);
    height: var(--top-hero-head-h);
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 30px 8px 10px;
    box-sizing: border-box;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  #index > header .inn .logo img {
    height: 36px;
    width: auto;
    max-width: none;
  }

  #index > header .inn .right {
    display: none;
  }

  #index > header .header_menu {
    display: none;
  }

  #index > nav#gnav {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 25;
  }

  #index > nav#gnav .bar {
    border-bottom: 0;
    background: #253d8e;
  }

  #index > nav#gnav .bar .container {
    max-width: none;
    padding: 0 8px 0 calc(var(--top-hero-logo-w) + 14px) !important;
  }

  #index > nav#gnav .bar .flex {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  #index > nav#gnav .bar .flex li {
    width: auto;
    flex: 1 1 auto;
  }

  #index > nav#gnav .bar .flex li a {
    height: var(--top-hero-head-h);
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #index nav.japanese .bar .flex li:nth-child(3),
  #index nav.japanese .bar .flex li:nth-child(6) {
    flex: 1 1 auto;
  }

  #index #mainimg {
    max-height: 90vh;
    position: relative;
    overflow: hidden;
  }

  #index #mainimg .container {
    max-width: 1200px;
    min-height: unset;
    padding: 50vh 20px 10vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  #index #mainimg .container h1 {
    text-shadow: none;
    margin: 0;
    font-size: 3.2rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    font-weight: 700;
  }

  #index #mainimg .container h1 span {
    border-bottom: 0;
    padding: 18px 48px 16px;
    background: linear-gradient(90deg, rgba(91, 168, 203, 0.72) 0%, rgba(92, 183, 137, 0.7) 100%);
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  #index {
    --top-hero-logo-w: 300px;
  }

  #index > nav#gnav .bar .container {
    padding-left: calc(var(--top-hero-logo-w) + 10px) !important;
  }

  #index > nav#gnav .bar .flex li a {
    font-size: 0.8rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  #index > header .inn .logo {
    left: 0;
    padding-right: 24px;
  }

  #index > header .inn .logo img {
    height: 32px;
  }

  #index #mainimg .container h1 {
    font-size: 2.7rem;
  }
}

/* 全体コンテナ */
#index .top_notice {
  padding: 15px 0;
  background: #fff5f5; /* 優しい赤系の背景 */
  border-top: 2px solid #d00;
  border-bottom: 2px solid #d00;
  margin: 10px 0;
}

/* 中の要素を整列させる親要素 */
.top_notice_inner {
  display: flex;
  flex-direction: column; /* 基本は縦並び（スマホ用） */
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 「お知らせ」バッジ */
.notice_badge {
  background: #d00;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

/* テキスト部分 */
#index .top_notice_text {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* 「160名」の強調 */
.text_emphasis {
  color: #d00;
  font-size: 1.4rem;
  display: inline-block;
  border-bottom: 3px solid #ffcccc;
}

/* ボタン風リンク */
.notice_btn {
  display: inline-block;
  background: white;
  text-decoration: none !important;
  color: #d00 !important;
  padding: 8px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: bold;
  border: 2px solid #d00;
}

.notice_btn:active {
  box-shadow: none;
  transform: translateY(3px);
}

/* --- PC?タブレット向けの調整 --- */
@media (min-width: 768px) {
  .top_notice_inner {
    flex-direction: row; /* 横並びにする */
    gap: 20px;
  }

  #index .top_notice_text {
    font-size: 1.25rem;
    text-align: left;
  }

  .text_line {
    display: inline; /* PCでは改行させない */
  }
}


/*----------------------------------------------------
  Top hero redesign (sub pages)
----------------------------------------------------*/
@media (min-width: 768px) {
  #sub {
    position: relative;
    --top-hero-head-h: 56px;
    --top-hero-logo-w: 340px;
  }

  #sub {
    padding-top: var(--top-hero-head-h);
  }


  #sub > header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 30;
    pointer-events: none;
  }

  #sub > header .inn {
    max-width: none;
    padding: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-height: var(--top-hero-head-h);
  }

  #sub > header .inn .logo {
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--top-hero-logo-w);
    height: var(--top-hero-head-h);
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 30px 8px 10px;
    box-sizing: border-box;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  #sub > header .inn .logo img {
    height: 36px;
    width: auto;
    max-width: none;
  }

  #sub > header .inn .right {
    display: none;
  }

  #sub > header .header_menu {
    display: none;
  }

  #sub > nav#gnav {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 25;
  }

  #sub > nav#gnav .bar {
    border-bottom: 0;
    background: #253d8e;
  }

  #sub > nav#gnav .bar .container {
    max-width: none;
    padding: 0 8px 0 calc(var(--top-hero-logo-w) + 14px) !important;
  }

  #sub > nav#gnav .bar .flex {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  #sub > nav#gnav .bar .flex li {
    width: auto;
    flex: 1 1 auto;
  }

  #sub > nav#gnav .bar .flex li a {
    height: var(--top-hero-head-h);
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #sub nav.japanese .bar .flex li:nth-child(3),
  #sub nav.japanese .bar .flex li:nth-child(6) {
    flex: 1 1 auto;
  }

  #sub #mainimg {
    min-height: 640px;
    position: relative;
  }

  #sub #mainimg .container {
    max-width: 1200px;
    min-height: 640px;
    padding: 120px 20px 70px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  #sub #mainimg .container h1 {
    text-shadow: none;
    margin: 0;
    font-size: 3.2rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    font-weight: 700;
  }

  #sub #mainimg .container h1 span {
    border-bottom: 0;
    padding: 18px 48px 16px;
    background: linear-gradient(90deg, rgba(91, 168, 203, 0.72) 0%, rgba(92, 183, 137, 0.7) 100%);
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  #sub {
    --top-hero-logo-w: 300px;
  }

  #sub > nav#gnav .bar .container {
    padding-left: calc(var(--top-hero-logo-w) + 10px) !important;
  }

  #sub > nav#gnav .bar .flex li a {
    font-size: 0.8rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  #sub > header .inn .logo {
    left: 0;
    padding-right: 24px;
  }

  #sub > header .inn .logo img {
    height: 32px;
  }

  #sub #mainimg .container h1 {
    font-size: 2.7rem;
  }
}
