@charset "UTF-8";

/*---20240905_SP394HN---*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* ==================================
定義
================================== */
:root {
  --theme-color: #CF0027;
  --theme-color-light: white;
  --theme-color-dark: #000000;
  --theme-color-dark-gray: #333333;
  --theme-color-light-gray: #CCCCCC;
  --theme-color-disabled: #e6e6e6;

  --theme-font-color: #FFFFFF;
  --theme-font-color-dark: #333333;

  --theme-border-color-dark: #000000;
  --theme-border-color-dark-gray: #333333;

  --theme-strong: #CF0027;

  --theme-btn-color: #000000;
  --theme-btn-color-sub: #333333;

  --regLink-btn-color: #FFF100;

  --content-area-width: 1160px;
  --content-area-inner-width: 1100px;

  /* --header-area-height-sp: auto;
  --header-area-height-pc: auto; */

  --fontFamily: 'Noto Sans JP', YuGothic, 'Yu Gothic', sans-serif;
  --fontFamily-sub: ten-mincho-antique, 'Noto Sans JP', YuGothic, 'Yu Gothic', sans-serif;

  font-family: 'Noto Sans JP', YuGothic, 'Yu Gothic', sans-serif;
  font-weight: medium;

}

/* ==================================
icon font
================================== */
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?vosv7b');
  src: url('../fonts/icomoon.eot?vosv7b#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?vosv7b') format('truetype'),
    url('../fonts/icomoon.woff?vosv7b') format('woff'),
    url('../fonts/icomoon.svg?vosv7b#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="iconFnt-"],
[class*=" iconFnt-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  margin-right: 0.4em;
  font-size: 110%;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconFnt-OuterLink:before {
  content: "\900";
}

/* ==================================
Iconfont Custom
================================== */

.iconfont>i {
  font-size: 0;
}

.iconFnt-OuterLink:before {
  content: "\e900";
  font-size: 70%;
  margin-left: 0.3em;
  display: inline-block;
}

.iconFnt-OuterLink+i {
  font-size: 0;
}

/* ==================================
BASE
================================== */
* {
  box-sizing: border-box;
}

/* .intraLinkAnchor {
  scroll-margin-top: 80px;
  background: yellow;
  display: block;
  height: 20px;
  width: 100%;
} */

.text-invisible,
.voiceReaderText {
  text-indent: 110% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  font-size: 0 !important;
}

.element-invisible {
  text-indent: 110% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  height: 0 !important;
  width: 0 !important;
  display: block !important;
}

.hvCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

html {
  overflow-x: hidden;
  color: var(--theme-font-color);
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  background: var(--theme-color);

}

html.dialogOpen {
  overflow: hidden;
}

body {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  margin: 0;
  height: 100%;
  overflow: clip;
}

.fixed_bg {
  background: linear-gradient(to bottom, #cf0027 0%, #87001A 100%);
  position: fixed;
  height: 100vh;
  /*dvhのフォールバック用　消さない*/
  height: 100dvh;
  width: 100%;
  z-index: -2;
}

.page-sub .fixed_bg {
  background: linear-gradient(to bottom, #CB0026 0%, #87001A 100%);
}


main {
  display: block;
  margin-top: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  letter-spacing: 0.08em;
  line-height: 1.4;
  /* scroll-margin-top: var(--header-area-height-sp); */
  font-feature-settings: "palt";
}

:where(h1, h2, h3, h4, h5, h6)>.sub {
  display: block;
  font-size: 1.6rem;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: var(--fontsz-h-l);
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2.0rem;
}


p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

span.ib {
  display: inline-block;
}

.indent1 {
  display: inline-block;
  text-indent: -1em;
  padding-left: 1em;
}

.last {
  margin-bottom: 0 !important;
}

a {
  color: #FFFFFF;
  text-decoration: underline;
}


a:focus-visible {
  text-decoration: none;
}

a:focus-visible img {
  opacity: 0.7;
}

@media (any-hover: hover) {
  a:any-link:hover {
    text-decoration: none;
  }

  a:any-link:hover img {
    opacity: 0.7;
  }
}

a>i.icon {
  color: var(--theme-font-color);
}


*:focus {
  outline-color: yellow;
}

img {
  width: 100%;
  display: block;
}

a.imgLink {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

a.imgLink .iconFnt-OuterLink {
  display: none;
}

a.imgLink img {
  max-width: 100%;
}

a.imgLink img+img {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

br.sp {
  display: inline-block;
}

br.pc {
  display: none;
}

.pcVisible {
  display: none;
}

.spVisible {
  display: initial;
}

@media screen and (min-width: 1160px) {

  br.sp {
    display: none;
  }

  br.pc {
    display: inline;
  }

  .pcVisible {
    display: initial;
  }

  .spVisible {
    display: none;
  }

  table th.pcVisible {
    display: table-cell;
  }

}

small,
.annotation {
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.annotation {
  display: block;
}

strong,
.bold {
  font-weight: bold;
}

ul {
  list-style: none;
}

ul li:not(:last-child) {

  margin-bottom: 0.5em;
}

/*改行調節*/
span.br_sp {
  display: inline-block;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ==================================
Icons
================================== */

.icon {
  display: inline-block;
  background-repeat: no-repeat;
  vertical-align: middle;
  font-style: normal;
}

.icon.pdf {
  background: var(--theme-color);
  color: #FFFFFF;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  margin-left: 1em;
  font-size: 80%;
  font-weight: bold;
}

.linkButton .icon.pdf {
  background: var(--theme-color);
  color: #FFFFFF;
  transition: 0.3s;
}

.linkButton:focus-visible .icon.pdf {
  background: var(--theme-color);
  color: #FFFFFF;
}

@media (any-hover: hover) {
  .linkButton:any-link:hover .icon.pdf {
    background: var(--theme-color);
    color: #FFFFFF;
  }
}

/* ==================================
Link Icons
================================== */
.squareArrowLink {
  display: inline-block;
  position: relative;
  padding-left: 1.5em;
  top: 0;
  color: var(--theme-font-color);
  margin-bottom: 0.5em;
}

.squareArrowLink:before {
  content: '';
  width: 1.2em;
  height: 1.2em;
  background: var(--theme-color);
  position: absolute;
  top: 0.3em;
  left: 0;
  margin: auto;
}

.squareArrowLink:after {
  content: '';
  width: 0.4em;
  height: 0.4em;
  border: 0;
  border-top: solid 2px var(--theme-color-light);
  border-right: solid 2px var(--theme-color-light);
  transform: rotate(45deg);
  position: absolute;
  top: 0.65em;
  left: 0.22em;
  margin: auto;
}

.squareArrowLink:last-child {
  margin-bottom: 0;
}

.squareArrowLink.black::before {
  background: #000000;
}

/* ==================================
  base elements
  ================================== */

/* ==================================
table
================================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
}

table caption {
  font-weight: 700;
  margin-bottom: 0.5em;
  text-align: left;
}

table th,
table td {
  display: block;
  width: 100%;
  padding: 0.6em;
}

table th {
  text-align: center;
  background: var(--theme-color-dark);
  font-weight: bold;
}

table td {
  text-align: left;
  background: var(--theme-color-dark-gray);
}

table td p:last-child {
  margin-bottom: 0;
}

/*--テキスト位置--*/
table.text-left th,
table.text-left td {
  text-align: left;
}

/*--Light color table--*/
table.light-color th,
table.light-color td {
  border: 1px solid #C8C8C8;
  border-bottom: none;
}

table.light-color tr:last-child td {
  border-bottom: 1px solid #C8C8C8;
}


table.light-color th {
  background: #eeeeee;
}

table.light-color td {
  color: var(--theme-font-color-dark);
  background: #FFFFFF;
}


/* ==================================
table
================================== */
ul.circleIcon>li {
  position: relative;
  padding-left: 1em;
}

ul.circleIcon>li ul.circleIcon>li:before {
  content: '';
  display: block;
  width: 0.8em;
  height: 0.8em;
  background-color: var(--theme-color);
  border-radius: 50%;
  position: absolute;
  top: 0.5em;
  left: 0;
}


/* ==================================
Button
================================== */
.linkButton {
  background: var(--theme-btn-color);
  font-weight: bold;
  padding: 0.8em 2em;
  color: var(--theme-font-color-light);
  text-decoration: none;
  text-align: center;
}

.linkButton:focus-visible {
  opacity: 0.7;
}

@media (any-hover: hover) {
  .linkButton:any-link:hover {
    opacity: 0.7;
  }
}

.roundButton {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 auto;
  font-weight: bold;
  border: 2px solid var(--theme-btn-color);
  border-radius: 5000px;
  transition: 0.3s;
}

.roundButton.rightArrow:after,
.roundButton.downArrow:after {
  content: '';
  width: 1em;
  height: 1em;
  border-top: solid 3px currentColor;
  border-right: solid 3px currentColor;
  position: absolute;
  right: 2em;
  top: 50%;
  transform: rotate(45deg) translateY(-50%);
  font-size: 1.8rem;
}

.linkButton.roundButton:focus-visible {
  opacity: 1;
  background: var(--theme-bgcolor-light);
  color: var(--theme-color);
}

@media (any-hover: hover) {
  .linkButton.roundButton:any-link:hover {
    opacity: 1;
    background: var(--theme-bgcolor-light);
    color: var(--theme-color);
  }
}

/*申し込みボタン*/
.regLink {
  background: var(--regLink-btn-color);
  color: var(--theme-font-color-dark);
  font-size: clamp(2rem, 1.347rem + 2.97vw, 3rem);
  border-radius: 5000px;
  display: inline-block;
  border: none;
}

.linkButton.regLink:any-link:focus {
  opacity: 1;
  background: #EEEEEE !important;
  color: var(--theme-color);
}

@media (any-hover: hover) {
  .linkButton.regLink:any-link:hover {
    opacity: 1;
    background: #EEEEEE !important;
    color: var(--theme-color);
  }
}

/*四角いボタン*/
.rectButton {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 auto;
  font-weight: bold;
  border: 2px solid var(--theme-btn-color);
  transition: 0.3s;
  align-items: stretch;
  border: none;
  background: var(--theme-color-dark-gray);
  padding: 0;
}

.rectButton.rightArrow:after,
.rectButton.downArrow:after {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: rotate(45deg) translateY(-50%);
  font-size: 1.8rem;
}

.rectButton .inner {
  display: block;
  background: var(--theme-color-dark);
  padding: 20px;
  width: calc(100% - 30px);
}


.linkButton.rectButton:focus {
  background: #505050;
  opacity: 1;
  transition: 0s;
}

.linkButton.rectButton:any-link:focus>.inner {
  background: #EEEEEE;
  color: var(--theme-color);
  transition: 0;
}

@media (any-hover: hover) {
  .linkButton.rectButton:any-link:hover {
    background: #505050;
    opacity: 1;
    transition: 0s;
  }

  .linkButton.rectButton:any-link:hover>.inner {
    background: #EEEEEE;
    color: var(--theme-color);
    transition: 0;
  }
}

/*動画リンクボタン*/
.liveLinkButton {
  display: flex;
  position: relative;
  font-size: 1.8rem;
  background-color: var(--theme-color-dark-gray);
  font-weight: bold;
  /* padding: 0.8em 3em; */
  padding: 0;
  color: var(--theme-font-color-light);
  text-decoration: none;
  text-align: center;
  width: 100%;
  padding-left: 60px;
  min-height: 60px;
}

.liveLinkButton .inner {
  background: var(--theme-color-dark);
  padding: 0.8em 3em;
  flex-grow: 2;
}

.liveLinkButton::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2em;
  height: 2em;
  margin: auto;
}

.liveLinkButton::after {
  content: '';
  position: absolute;
  left: 1.26em;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  width: calc(0.4 * 1.5em);
  height: calc(0.5 * 1.5em);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.liveLinkButton:focus-visible {
  opacity: 1;
}

@media (hover: hover) {
  .liveLinkButton:any-link:hover {
    background: #505050;
    opacity: 1;
    transition: 0s;
  }

  .liveLinkButton:any-link:hover .inner {
    background: #EEEEEE;
    color: var(--theme-color);
    transition: 0;
  }
}


.liveLinkButton.preBtn,
.roundButton.preBtn {
  background: #BEBEBE;
  pointer-events: none;
}

.liveLinkButton.preBtn .inner {
  background: #A4A4A4;
}

.roundButton.preBtn.preBtn:has(.subtxt) {
    font-size: 1.8rem;
}

.roundButton.preBtn.preBtn .subtxt {
    font-size: 1.2rem;
    display: block;
}

/* ==================================
Headings
================================== */
.wrapheading.bracket {
  text-align: center;
  margin-bottom: 3em;
}

.wrapheading.bracket :where(h1, h2) {
  font-size: clamp(2.4rem, 1.768rem + 3.16vw, 4rem);
  position: relative;
  text-align: center;
  padding: 0 clamp(35px, 1.817rem + 1.85vw, 50px);
  display: inline-block;
  margin-bottom: 0;
}

.wrapheading.bracket :where(h1, h2)::before,
.wrapheading.bracket :where(h1, h2)::after {
  position: absolute;
  content: '';
  border: 3px solid #FFFFFF;
  height: 100%;
  width: clamp(10px, 0.378rem + 1.23vw, 20px);
}

.wrapheading.bracket :where(h1, h2)::before {
  border-right: none;
  left: 0;
}

.wrapheading.bracket :where(h1, h2)::after {
  border-left: none;
  right: 0;
}

.wrapheading.bracket p {
  margin-bottom: 0.5em;
  font-family: var(--fontFamily-sub);
  font-size: clamp(1.4rem, 1.163rem + 1.19vw, 2rem);
}

.lineHeading {
  font-size: 2.4rem;
  border-bottom: 3px solid #FFFFFF;
  padding-bottom: 0.5em;
}

.leftLineHeading {
  border-left: 5px solid var(--theme-color);
  padding-left: 0.5rem;
}

/* ==================================
header
================================== */
header {
  width: 100%;
  font-size: 2.0rem;
  position: sticky;
  top: 0;
  z-index: 999999;
}

header>.sticky,
header .inner {
  height: var(--header-area-height-sp);
}

header>.sticky {
  width: 100%;
  background: var(--theme-color-dark);
}

header .sticky>.inner {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 1s ease-in-out;
  align-self: stretch;
}

/*---- 左ブロック----*/
header .left .headerLogo_area {
  padding: 0.5em;
  max-width: 190px;
}

header .left .headerLogo_area a {
  display: block;
}

header .left .headerLogo_area a.logo_aist {
  max-width: 80px;
  margin-bottom: 10px;
}

header .left .headerLogo_area a.logo_oh {
  max-width: 170px;
}

header .inner .left {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  gap: 1vw;
  justify-content: flex-start;
}

header .logoBox a {
  display: block;
}

header .logoBox h1 {
  margin: 0;
}

header .logoBox h1 img {
  display: block;
  height: 15px;
}

/*---- 右ブロック----*/
header .inner .right {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  white-space: nowrap;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
  padding: 5px;
  align-self: stretch;
  z-index: 2;
}

header .inner .right .regLink {
  order: 1;
}

header .inner .right .sp_menu {
  order: 2;
}

/*---- 申し込みボタン(右ブロック)----*/
header .inner .right .regBtnBox {
  height: 100%;
  line-height: 1.6;
}

header .inner .right .regBtnBox a {
  display: flex block;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 clamp(0.625rem, 0.201rem + 1.93vw, 1.563rem);
  font-size: clamp(1.4rem, 1.4rem + 0.2vw, 1.6rem);
}

header .inner .right .regBtnBox .preBtn {
  font-size: 1.4rem;
  color: var(--theme-font-color-dark);
}

header .inner .right .regBtnBox .preBtn:has(.subtxt) {
  padding: 5px 20px;
}

header .inner .right .regBtnBox .preBtn .subtxt {
  font-size: 1.1rem;
  display: block;
}

/*---- スマホ版用メニュー(右ブロック)----*/

/*--PC版メニュー非表示--*/
header .pc_menu,
header .pc_login {
  display: none;
}

/*--　ボタン　--*/
header .sticky>.inner .menuBtn {
  padding: 5px;
  position: relative;
  cursor: pointer;
  min-width: 55px;
  height: 100%;
  background: var(--theme-btn-color-dark);
  border: none;
  transition: 0.3s;
  aspect-ratio: 1;
}

header .sticky>.inner .menuBtn::after {
  content: 'MENU';
  bottom: 0.2em;
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1.1rem;
}

header .sticky>.inner .menuBtn.active {
  background: #CFCFCF;
}

header .sticky>.inner .menuBtn.active::after {
  content: 'CLOSE';
  color: var(--theme-font-color-dark);
}

header .sticky>.inner .menuBtn>.openBtn {
  height: 22px;
  width: 22px;
  position: relative;
  margin: 0 auto 3px;
  display: block;
}

header .sticky>.inner .menuBtn .openBtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 0px;
  height: 2px;
  background: var(--theme-color-light);
  width: 100%;
  transform-origin: center center;
  transform: translate(0, -50%)
}

header .menuBtn .openBtn span:nth-of-type(1) {
  top: 15%;
}

header .menuBtn .openBtn span:nth-of-type(2) {
  top: 50%;
}

header .menuBtn .openBtn span:nth-of-type(3) {
  top: 85%;
}

header .sticky>.inner .menuBtn:focus-visible {
  background-color: var(--theme-btn-color-dark);
  border-color: var(--theme-btn-color-dark);
}

header .sticky>.inner .menuBtn:focus-visible .openBtn span {
  background-color: var(--theme-color-dark-gray);
}

/*active時*/
header .sticky>.inner .menuBtn.active .openBtn span {
  background-color: var(--theme-color-dark-gray);
}

header .menuBtn.active .openBtn span:nth-of-type(1) {
  top: 9px;
  left: 0;
  right: 0;
  transform: rotate(-45deg);
}

header .menuBtn.active .openBtn span:nth-of-type(2) {
  opacity: 0;
}

header .menuBtn.active .openBtn span:nth-of-type(3) {
  top: auto;
  bottom: 12px;
  left: 0;
  right: 0;
  transform: rotate(45deg);
}

/*-- ログインボタン --*/
header .login a {
  display: block;
  text-decoration: none ;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--regLink-btn-color);
  color: var(--theme-font-color-dark);
}

header .login a:focus-visible {
  background: #FFFFFF;
  color: var(--theme-color);
    text-decoration: none;
}

@media (any-hover: hover) {
  header .login a:any-link:hover {
    background: #FFFFFF;
    color: var(--theme-color);
    text-decoration: none;
  }
}

 header .sp_login {
  text-align: center;
  margin: 1em 0;
}

.menuBody .sp_login a {
  font-size: 1.6rem;
  padding: 1em;

}



/*--　SP版メニュー本体　--*/
#menuBody {
  background: var(--theme-border-color-dark-gray);
  visibility: collapse;
  transform: translateX(100%);
  width: 75%;
  width: clamp(50%, 300px, 100%);
  position: absolute;
  right: 0;
  height: 100dvh;
  overflow: auto;
  transition: all 500ms;
}

#menuBody.open {
  visibility: visible;
  transform: translateX(0);
}

#menuBody+.naviBg {
  content: "";
  position: -webkit-fixed;
  position: fixed;
  width: 100%;
  height: 100dvh;
  -webkit-backdrop-filter: blur(2px) opacity(0.8);
  backdrop-filter: blur(2px) opacity(0.8);
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 500ms;
  visibility: collapse;
  opacity: 0;
  z-index: -1;
  top: 0;
  left: 0;
}

#menuBody.open+.naviBg {
  visibility: visible;
  opacity: 1;
  -webkit-backdrop-filter: blur(2px) opacity(0.8);
  backdrop-filter: blur(2px) opacity(0.8);
}

.menuBody>.inner {
  padding: 0 15px 15px;
}

.menuBody .menu {
  width: 100%;
}

.menuBody .menu>ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 1.6rem;
  border-top: 1px solid #000000;
}

.menuBody .menu ul>li {
  border-bottom: 1px solid #000000;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.menuBody .menu ul a {
  text-decoration: none;
  font-weight: bold;
  padding: 1em;
  display: block;
  width: 100%;
}

.menuBody .menu ul a:focus-visible {
  text-decoration: underline;
}

@media (any-hover: hover) {
  .menuBody .menu ul a:any-link:hover {
    text-decoration: underline;
  }
}

.menuBody .menu ul a .sub {
  display: block;
  font-size: 70%;
  margin-top: 0.5em;
}

/* ==================================
list styles
================================== */
ul,
ol {
  padding: 0;
  margin: 0;
}

ol>li:last-child,
ul>li:last-child {
  margin-bottom: 0;
}

.circleIcon_List {
  list-style: none;
  margin-bottom: 1em;
}

.circleIcon_List li {
  position: relative;
  margin-bottom: 1em;
  padding-left: 1em;
}

.circleIcon_List li::before {
  content: '';
  display: block;
  background: var(--theme-color);
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  position: absolute;
  top: 0.5em;
  left: 0;
}

/*--注釈--*/
ul.supplement.kome li {
  padding-left: 1em;
  text-indent: -1em;
}

ul.supplement.kome li::before {
  content: '※';
}


/* ==================================
footer
================================== */
footer {
  margin: 0;
  color: #FFFFFF;
  text-align: center;
  margin-top: 5em;
}

footer .contentArea {
  max-width: 100%;
  padding: 0;
}

footer .toTopLinkPane {
  display: flex;
  justify-content: center;
}

footer .toTopLinkPane img {
  max-width: 502px;
}

footer .toTopLinkBox {
  display: flex;
  align-items: flex-end;
}

footer #toTopLink {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--theme-border-color-dark);
}

footer #toTopLink span::before {
  content: '';
  display: block;
  margin: 0 auto;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  border: 0.35em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: translateY(25%) rotate(-45deg);
}

footer #toTopLink:hover,
footer #toTopLink:focus {
  text-decoration: underline;
}

footer #toTopLink:hover span {
  display: block;
}

footer #toTopLink:hover span,
footer #toTopLink:focus span {
  animation: animation_toTopLink 1.5s linear infinite;
}

@keyframes animation_toTopLink {
  0% {
    transform: rotateY(0deg);
  }

  25% {
    transform: rotateY(90deg);
  }

  50% {
    transform: rotateY(180deg);
  }

  75% {
    transform: rotateY(270deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

footer>.inner {
  position: relative;
  background: var(--theme-color-dark);
  padding: clamp(0px, 3%, 50px) 0 clamp(0px, 3%, 15px);
}

footer .inner a {
  color: var(--theme-font-color-light);
}

footer .logoAdressBox {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--theme-border-color-dark-gray)
}

footer .footerLogoLink {
  padding: 2em 0 0;
  margin-bottom: 0;
}

footer .footerLogoLink a {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footerLogoLink img {
  width: 235px;
  margin: 0 auto;
}

footer address {
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
  padding: 2em 0;
  display: flex;
  flex-direction: column;
}

footer address ul {
  margin: 0;
  text-align: center;
}

footer address ul li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

footer address ul li div.heading {
  background: var(--theme-bgcolor-dark);
  width: 4rem;
  text-align: center;
}

footer .copyright {
  border-top: 3px solid var(--theme-border-color-light);
  font-size: 1.3rem;
  padding-top: 1rem;
  font-weight: normal;
}


/* ==================================
ふわっと表示
================================== */
.inview.fadeup {
  opacity: 0;
  transition-duration: .5s;
  transform: translateY(10px);
}

.inview.fadeup.active {
  opacity: 1;
  transform: translateY(0px);
}

/* ==================================
セクション共通エリア
================================== */
.contentPane {
  padding: clamp(25px, 10%, 100px) 0;
}

.page-sub .contentPane,
.contentPane.continuous {
  padding-top: 0;
}


.contentTopPane {
  padding: clamp(20px, 4%, 60px) 0;
}

.contentTopPane_Desc {
  margin-bottom: clamp(1.5rem, 3vw, 4rem);
  text-align: center;
  font-size: 1.6rem;
}

.contentTopPane_Desc:last-child {
  margin-bottom: 0;
}

.contentTopPane_Desc p:last-child {
  margin-bottom: 0;
}

.contentArea {
  max-width: var(--content-area-width);
  margin: 0 auto;
  padding: 0 clamp(5px, 3%, 20px);
}

.contentArea.nopadding {
  max-width: 1200px;
  padding: 0;
}

.textComtentArea {
  max-width: 1120px;
  margin: 0 auto;
}

.narrowArea {
  max-width: 800px;
  margin: 0 auto;
}



/* ==================================
sub page contnt top pane
================================== */
.PageTopPane {
  background: var(--theme-color);
  color: var(--theme-font-color-light);
  margin-top: var(--header-area-height-sp);
}

.PageTopPane .eventSection .contentArea,
.benefitSection .contentArea {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.PageTopPane h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 1.616rem + 3.56vw, 4.2rem);
}

.PageTopPane .subNotion {
  background: #FFFFFF;
  color: var(--theme-color);
  display: inline-block;
  padding: 0.3em;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.355rem + 0.21vw, 1.5rem);
  font-weight: 700;
}

.PageTopPane__content {
  text-align: center;
  width: 100%;
  margin: auto;
  padding: clamp(5px, 3%, 20px);
  height: 100%;
  min-height: clamp(90px, 15vw, 150px);
  max-width: var(--content-area-width);
}

.breadcrumbList {
  /* background: var(--theme-bgcolor-light); */
  color: #FFFFFF;
  margin-bottom: 30px;
}

.breadcrumbList ol {
  padding: 0 clamp(5px, 3%, 20px);
  margin: auto;
  max-width: var(--content-area-width);
  list-style: none;
  font-size: 1.4rem;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbList ol li {
  padding-right: 2em;
  position: relative;
}

.breadcrumbList ol li::after {
  content: '';
  width: 0.4em;
  height: 0.4em;
  border: 0;
  border-top: solid 2px #FFFFFF;
  border-right: solid 2px #FFFFFF;
  transform: rotate(45deg);
  position: absolute;
  top: 0.1em;
  right: 0.85em;
  bottom: 0;
  margin: auto;
}

.breadcrumbList ol li:last-child::after {
  content: none;
}

.page-end-pane .speech-bubble,
.page-end-pane .speech-bubble>.inner {
  max-width: 550px;
  margin: 0 auto;
  color: var(--theme-font-color-dark);
}

.page-end-pane .speech-bubble>.inner {
  padding: clamp(1.25rem, 0.967rem + 1.29vw, 1.875rem);
}

.page-end-pane .speech-bubble .highlight {
  color: var(--theme-color);
  /* font-size: clamp(1.9rem, 1.81rem + 0.41vw, 2.1rem); */
  margin-bottom: 0.7em;

}

.page-end-pane .regBtnBox {
  max-width: 550px;
  margin: 0 auto 1em;
}

.page-end-pane .linkButtonBox {
  max-width: 450px;
  margin: 0 auto;

}

/* ==================================
contentLinkNavi
================================== */
.contentLinkNavi {
  display: flex;
  width: 100%;
  list-style: none;
  padding: 0;
  font-size: 1.6rem;
  font-weight: bold;
  flex-wrap: wrap;
  gap: 2px 0;
}

.contentLinkNavi li {
  background: var(--theme-color-dark-gray);
  width: 100%;
}

.contentLinkNavi li:not(:last-child) {
  margin-bottom: 2px;
}

.contentLinkNavi li a {
  display: flex;
  text-decoration: none;
  position: relative;
  padding-right: 30px;
}

.contentLinkNavi li a:before {
  content: '';
  position: absolute;
  right: 0.05em;
  top: 50%;
  display: inline-block;
  margin: -0.2em 0.25em 0 -1.5em;
  vertical-align: top;
  line-height: 1;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translate(-50%, -50%) rotate(135deg);
}

.contentLinkNavi li a>.inner {
  background: var(--theme-color-dark);
  padding: 0.7em 3em 0.7em 0.7em;
  flex-grow: 2;
}

.contentLinkNavi li a:focus-visible {
  background: #505050;
  color: var(--theme-color);
}

.contentLinkNavi li a:focus-visible>.inner {
  background: #EEEEEE;
}

.contentLinkNavi li a:focus-visible:before {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

@media (any-hover: hover) {

  .contentLinkNavi li a:any-link:hover {
    background: #505050;
    color: var(--theme-color);
  }

  .contentLinkNavi li a:any-link:hover>.inner {
    background: #EEEEEE;
  }

  .contentLinkNavi li a:any-link:hover:before {
    color: #FFFFFF;
    border-color: #FFFFFF;
  }
}

/* ==================================
categoryHeading
================================== */
.eventListSection {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin-bottom: 30px;
  justify-content: center;
}

.categoryHeading {
  width: 100%;
}

.categoryHeading h2 {
  font-size: 3rem;
  border-bottom: 7px solid var(--theme-color);
  color: var(--theme-color);
  text-align: center;
  line-height: 1.4;
}

/* ==================================
etc.
================================== */
.speech-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1em;
  font-weight: 700;
  text-align: center;
}

.speech-bubble>.inner {
  position: relative;
  padding: 10px 15px;
  background-color: #FFFFFF;
  color: var(--theme-color);
}

.speech-bubble>.inner p:last-child {
  margin-bottom: 0;
}

.speech-bubble>.inner::before {
  content: '';
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  background-color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  top: calc(100% - 1px);
  left: 50%;
  transform: translate(-50%, -50%);
}

.mypageLink {
  display: flex;
  justify-content: center;
  margin-bottom: 3em;
}


/* ==================================
eventItem
================================== */
.wrap_eventItem {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  font-size: 1.5rem;
}

.wrap_eventItem .eventItem {
  background: #FFFFFF;
  max-width: 540px;
  color: var(--theme-font-color-dark);
}

.wrap_eventItem .eventItem .contentArea {
  padding: clamp(1%, 20px, 5%);
  display: grid;
  gap: 1em;
}

.wrap_eventItem .eventItem .imageArea {
  position: relative;
}

.wrap_eventItem .eventItem .imageArea img {
  width: 100%;
  display: block;
  aspect-ratio: 540 / 375;
  object-fit: cover;
}

.wrap_eventItem .eventItem .imageArea .itemID {
  position: absolute;
  color: var(--theme-font-color);
  background: var(--theme-border-color-dark);
  aspect-ratio: 1/1;
  min-width: 10%;
  padding: clamp(2px, 10px, 10%);
  font-weight: bold;
  display: grid;
  place-items: center;
}

.wrap_eventItem .eventItem .tagArea {
  display: flex;
}

.wrap_eventItem .eventItem .tagArea ruby rt {
  font-size: 1rem;
}

.wrap_eventItem .eventItem .tagArea .researchCat {
  background: var(--theme-border-color-dark);
  padding: 0.2em 0.5em;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--theme-font-color);
}

.wrap_eventItem .eventItem .tagArea .researchCat:has(ruby) {
  padding: 0.8em 0.5em 0.2em;
}

.wrap_eventItem .eventItem :where(h2, h3) {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--theme-color);
  margin-bottom: 0;

}

.wrap_eventItem .txtArea p:last-child {
  margin-bottom: 0;
}

.wrap_eventItem .linkArea {
  border-top: 1px solid var(--theme-color-light-gray);
  padding-top: 1em;
}

.wrap_eventItem .linkArea .squareArrowLink {
  color: var(--theme-font-color-dark);
}

/* ==================================
pageBottomSection
================================== */
.pageBottomSection .contentArea {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

.pageBottomSection .contentArea>* {
  width: 100%;
}

.pageBottomSection .circleArrowLink {
  display: inline-block;
}

/* ==================================
Booth page
================================== */


/* ==================================
講演会ページ
================================== */

.page-conference .wrap_guest {
  border-top: 3px solid #FFFFFF;
  border-left: 3px solid #FFFFFF;

}

.page-conference .guest_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-right: 3px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  padding: clamp(15px, -0.052rem + 4.5vw, 50px);
}

.page-conference .imgArea {
  margin: 0 auto 1em;
}

.page-conference .imgArea img {
  max-width: 400px;
}

.page-conference .sp_guest .textArea .guestexplain,
.page-conference .aist_guest .textArea .guestdepartment {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5em;
  vertical-align: text-top;
}

.page-conference .textArea .guestname {
  font-size: clamp(2rem, 1.564rem + 1.98vw, 3rem);
  font-weight: bold;
  text-align: center;
  border-bottom: 0.5px solid #FFFFFF;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.page-conference .textArea .guestname .yomigana {
  font-size: 1.5rem;
}

.page-conference .textArea .guestexplain {
  font-size: clamp(2rem, 1.739rem + 1.19vw, 2.3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  font-family: var(--fontFamily-sub);
}


/* ==================================
お知らせダイアログ（モーダル）
================================== */
html.modalOpen {
  overflow: hidden;
}

/* dialog を画面中央に固定 */
dialog.modalDialog {
  position: fixed;
  z-index: 9999999;
  background: white;
  padding: 2rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 背景を暗くする */
dialog.modalDialog::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

/* モーダル本体 */
dialog.modalDialog  .modalContent {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  box-sizing: border-box;
  text-align: left;
}

/* 閉じるボタン*/
dialog.modalDialog .wrap_modalCloseButton{
  text-align: center;
}

dialog.modalDialog .modalCloseButton {
  background-color: initial;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-size: clamp(1.4rem, 1.32rem + 0.4vw, 1.8rem);
  color: var(--theme-font-color);
  margin: auto;
  font-weight: 500;
}

dialog.modalDialog .modalCloseButton::before{
  content: '×';
  display: inline-block;
  margin-right: 0.5em;
}

dialog.modalDialog  .closeButton:focus {
  text-decoration: none;
}

@media (any-hover: hover) {
  dialog.modalDialog  .closeButton:hover {
    text-decoration: none;
  }
}

dialog.modalDialog .title{
  font-size:clamp(1.6rem, 1.42rem + 0.9vw, 2.5rem);
  color: var(--theme-color);
  text-align: center;
}

dialog.modalDialog .modalCloseButton{
  color: var(--theme-font-color-dark);
}

dialog.modalDialog .modalCloseButton:focus-visible {
  color: var(--theme-color);
    text-decoration: none;
}

@media (any-hover: hover) {
dialog.modalDialog .modalCloseButton:hover {
    color: var(--theme-color);
    text-decoration: none;
  }
}
