/*html {
  scrollbar-gutter: stable;
}*/
html.mega-open,
body.mega-open {
  overflow-x: clip;
}
:root {
  --color-text-main: #111;
  --color-text-sub: #666;
  --color-accent: #29abe2;
  --color-white: #fff;
  --color-top-link-1: #8cc63f;
  --color-top-link-2: #39b54a;
  --color-top-link-3: #0071bc;
  --color-top-link-4: #50c3ea;
  --color-top-link-5: #408af4;
  --color-enroll-bg: #29abe2;
  --color-newsletter-bg: #00a99d;
  --color-footer-bg: #3c464c;
  --color-nav-link-hover: #0071bc;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --btn-max-width: 240px;
  --btn-height: 48px;
  --btn-radius-max: 9999px;
  --content-max: clamp(1100px, 72vw, 1320px);
}
body {
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  color: #111;
  font-size: 100%;
}
body#tinymce {
  background: #fff;
  text-align: left;
}
img {
  width: 100%;
  height: auto;
}
img[src$=".svg"] {
  width: 100%;
  height: auto;
  pointer-events: none;
}
a img:hover {
  opacity: 0.7;
}
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.bold {
  font-weight: bold;
}
ul.normal,
ol {
  margin-left: 24px;
}
ul.normal li {
  list-style-type: disc;
}
@media all and (min-width: 961px) {
  .text-center {
    text-align: center;
  }
}
/*=======================================================================
pc,sp
=======================================================================*/
.pc {
  display: none;
}
.sp {
  display: block;
}
@media all and (min-width: 961px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}
/*=======================================================================
margin
=======================================================================*/
.mab8 {
  margin-bottom: 8px;
}
.mab16 {
  margin-bottom: 16px;
}
.mab24 {
  margin-bottom: 24px;
}
.mab32 {
  margin-bottom: 32px;
}
.mab40 {
  margin-bottom: 40px;
}
.mab48 {
  margin-bottom: 48px;
}
.pa20 {
  padding: 0 20px;
}
.mal16 {
  margin-left: 16px;
}
.marl-auto {
  margin-left: auto;
  margin-right: auto;
}
/*=======================================================================
pagenavi
=======================================================================*/
.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
  font-size: 87.5%;
  color: #111;
  padding: 12px 16px;
  margin: 0 4px;
  text-align: center;
  text-decoration: none;
}
.wp-pagenavi a:hover {
  color: #0f91c8;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
  transition: 0.03s;
  border-bottom: 4px solid transparent;
}
.wp-pagenavi span.current {
  color: #0f91c8;
  font-weight: bold;
  border-bottom: 4px solid #0f91c8;
}
.wp-pagenavi a.page:hover {
  border-bottom: 4px solid #0f91c8;
}
.wp-pagenavi span.pages {
  display: block;
  background: none;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}
.wp-pagenavi a.page,
.extend {
  display: none;
}
@media all and (min-width: 961px) {
  .wp-pagenavi a,
  .wp-pagenavi span {
    padding: 8px 16px;
  }
  .page {
    display: block;
  }
  .wp-pagenavi a.page,
  .extend {
    display: block;
  }
}
/*=======================================================================
flex
=======================================================================*/
@media all and (min-width: 521px) {
  .flex,
  .flex_fs,
  .flex_sb,
  .flex_center,
  .flex_end {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    -js-display: flex;
    display: flex;
  }
  .flex_fs,
  .flex_sb {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .flex_fs {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .flex_sb {
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .flex_center {
    -webkit-justify-content: center;
    justify-content: center;
  }
  .flex_end {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }
  .reverse {
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
  .list2 li {
    width: 50%;
  }
  .list2-2 li {
    width: 49%;
  }
  .list2-3 li {
    width: 49.5%;
  }
  .list3 li,
  .list3 div {
    width: 32%;
  }
  .list3 li ul li {
    width: 100%;
  }
  .list4 li,
  .list4 div {
    width: 25%;
  }
  .list5 li,
  .list5 div {
    width: 19%;
  }
  .w49 {
    width: 49%;
  }
  .w80 {
    width: 100%;
    max-width: 800px;
  }
}
.list100 li {
  width: 100%;
}
/*=======================================================================
iframe
=======================================================================*/
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*=======================================================================
header
=======================================================================*/
header {
  width: 100%;
  z-index: 1200;
}
header.scroll {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 113, 188, 0.14);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #d8d8d8;
}
/*==========
header inner
==========*/
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  height: 120px;
}
.logo {
  font-weight: var(--fw-semi);
  font-size: clamp(22px, 1.8vw, 32px);
}
.logo-area a {
  color: var(--color-text-main);
  text-decoration: none;
}
/* Keep logo layout stable when non-top pages use p/div instead of h1. */
.logo-area {
  margin: 0;
}
.logo-area span {
  display: block;
  font-size: clamp(13px, 1.08vw, 19px);
}
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background: #111;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }
  .sp_toi,
  .hamburger {
    display: none;
  }
  .contact-pc {
    display: block;
  }
  .contact-pc a {
    width: auto;
    min-width: 240px;
  }
  .header-inner {
    max-width: 96%;
    margin: auto;
    position: relative;
  }
  .logo-area {
    flex: 0 0 auto;
  }
  .center-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .right-area {
    margin-left: auto;
  }
  .right-controls {
    display: none;
  }
}
/*=======================================================================
nav
=======================================================================*/
nav {
  position: fixed;
  top: 100px;
  right: -100%;
  width: 100%;
  height: calc(100dvh - 100px);
  background: #fff;
  z-index: 1100;
  transition: 0.3s;
  padding: 30px 20px;
  overflow-y: auto;
}
nav.active {
  right: 0;
}
.nav-list > li {
  border-bottom: 1px solid #ddd;
  font-size: clamp(14px, calc(0.36vw + 11px), 18px);
}
.nav-list a,
.nav-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  color: var(--color-text-main);
  font-weight: var(--fw-regular);
  text-decoration: none;
}
.nav-list button {
  width: 100%;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-list a:hover,
.nav-list button:hover {
  color: var(--color-nav-link-hover);
}
.submenu a:hover,
.mega a:hover {
  color: var(--color-nav-link-hover);
}
/*.nav-list a {
  display: block;
  padding: 14px 20px;
}*/
.right-controls {
  display: flex;
  align-items: center;
}
.arrow-right {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(-45deg);
}
.icon-plus {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.nav-list > li > a .arrow-right,
.nav-list > li > a .icon-plus,
.nav-list > li > button .arrow-right,
.nav-list > li > button .icon-plus {
  margin-left: 12px;
}
.nav-list > li.has-mega > button .arrow-right {
  display: none;
}
.nav-list > li:not(.has-mega) > a .icon-plus,
.nav-list > li:not(.has-mega) > button .icon-plus {
  display: none;
}
.icon-plus::before,
.icon-plus::after {
  content: "";
  position: absolute;
  background: #555;
}
.icon-plus::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.icon-plus::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.open > a .icon-plus::after,
.open > button .icon-plus::after {
  display: none;
}
.submenu {
  display: none;
  padding-left: 15px;
  position: relative;
  z-index: 1101;
}
.submenu.active {
  display: block;
}
.submenu a {
  padding: 12px 0;
}
.mega {
  display: none;
}
.contact-pc {
  display: none;
  font-size: clamp(14px, 1.1vw, 16px);
}
.contact-pc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-accent);
  width: 100%;
  max-width: var(--btn-max-width);
  height: var(--btn-height);
  border-radius: var(--btn-radius-max);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.contact-pc a:hover {
  color: var(--color-white);
  background: #0071bc;
}
.sp_toi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  margin-right: 24px;
}
.sp_toi img {
  width: 20px;
  height: auto;
  display: block;
}
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  background: #000;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}
@media (min-width: 1025px) {
  header.scroll {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .sp,
  .hamburger {
    display: none;
  }
  .contact-pc {
    display: block;
  }
  .right-controls {
    display: none;
  }
  nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
  }
  .nav-list {
    display: flex;
    gap: clamp(24px, 2.1vw, 42px);
  }
  .nav-list > li {
    border: none;
    position: relative;
  }
  .nav-list a,
  .nav-list button {
    padding: 10px 0;
  }
  .nav-list > li > a,
  .nav-list > li > button {
    white-space: nowrap;
  }
  .arrow-right,
  .icon-plus {
    display: none;
  }
  .has-mega > a::after,
  .has-mega > button::after {
    content: "";
    margin-left: 8px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    display: inline-block;
    transition: 0.3s;
  }
  .has-mega.active > a::after,
  .has-mega.active > button::after {
    transform: rotate(-135deg);
  }
  .mega {
    position: absolute;
    left: 50%;
    top: 82px;
    width: 100vw;
    transform: translateX(-50%);
    background: #f7f7f7;
    padding: 60px 0;
    display: none;
  }
  .mega.active {
    display: block;
  }
  .mega-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
  }
  .mega-left {
    width: 40%;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  .mega-right {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .mega-right a {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: var(--fw-regular);
  }
  .submenu {
    display: none !important;
  }
}
/*=======================================================================
article
=======================================================================*/
article {
  display: block;
}
.breadcrumbs {
  background: #f2f2f2;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}
.breadcrumbs ul {
  width: min(100%, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.4em;
}
.page-title {
  margin: 0;
  padding: 80px 20px;
  color: #111;
  font-size: 32px;
  font-weight: var(--fw-semi);
  line-height: 1.3;
  text-align: center;
  background: #e6e6e6 url("../img/ti-bk-sp.webp") center bottom / cover no-repeat;
}
.page-title::first-letter {
  color: #29abe2;
}
.page-section {
  margin-bottom: 88px;
}
.page-section ul {
  margin: 0;
  padding: 0;
}
.page-section li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.6;
  color: #4d4d4d;
}
.page-section li + li {
  margin-top: 8px;
}
.page-section ul.flex_fs {
  row-gap: 8px;
}
.page-section ul.flex_fs li + li {
  margin-top: 0;
}
.page-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #999;
}
.page-section li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: calc(0.1em + 12px);
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-55%, -50%) rotate(45deg);
}
.page-section li:has(a)::before {
  background: #29abe2;
}
.page-section li a {
  color: #29abe2;
  text-decoration: none;
  font-size: 16px;
}
.top-section a,
.top-section a span {
  font-size: clamp(15px, 1.35vw, 19px);
}
.entry {
  padding: 72px 24px;
}
.entry h2 {
  font-size: 100%;
  color: var(--color-text-main);
  background: rgba(41, 171, 226, 0.2);
  padding: 8px;
  margin-bottom: 32px;
}
@media (min-width: 961px) {
  .subpage .site-footer > .flex_sb,
  .subpage .breadcrumbs ul,
  .subpage .page-section {
    width: min(var(--content-max), 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  .breadcrumbs {
    padding-left: 0;
    padding-right: 0;
  }
  .breadcrumbs ul {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-title {
    background-image: url("../img/ti-bk.webp");
  }
  /*.hero-text {
    font-size: 40px;
  }*/
  .entry {
    padding: 72px 0;
  }
  .top-section-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
  }
  .top-section-group .top-section {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;
  }
  .top-section-group .top-section + .top-section {
    border-left: 0;
  }
}
@media (min-width: 1900px) {
  .page-title {
    padding-top: 124px;
    padding-bottom: 124px;
  }
}
/*=======================================================================
footer
=======================================================================*/
.site-footer {
  padding: 84px 20px;
  background: var(--color-footer-bg);
  color: #fff;
  text-align: center;
}
.site-footer > .flex_sb {
  width: 100%;
  align-items: end;
}
.site-footer > .flex_sb > div:first-child {
  font-size: clamp(22px, 1.8vw, 32px);
  color: var(--color-white);
  font-weight: var(--fw-semi);
}
.site-footer > .flex_sb > div:last-child p {
  font-size: clamp(11px, 0.75vw, 13px);
  color: var(--color-white);
  font-weight: var(--fw-regular);
}
.site-footer > .flex_sb > div:last-child p span {
  display: block;
}
@media (max-width: 520px) {
  .site-footer > .flex_sb > div + div {
    margin-top: 16px;
  }
}
@media (min-width: 961px) {
  .site-footer > .flex_sb > div:last-child p span {
    display: inline;
    margin-left: 0.5em;
  }
  .site-footer > .flex_sb {
    width: min(75%, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}
/*=======================================================================
page-top
=======================================================================*/
#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}
#page-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: translate(-50%, -35%) rotate(45deg);
}
