@charset "UTF-8";
html {
  font-size: 62.5%;
  /*16px x 62.5%=10px*/
  scroll-behavior: smooth;
}

body {
  font-family: "Noto sans JP", sans-serif;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.85;
  letter-spacing: 0.055em; /* 1.4px 相当（font-size 1.6rem 時） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
  word-wrap: break-word;
}

/* PC時のみ：WordPress管理バーを非表示（必要ならコメントを外す）
@media screen and (min-width: 769px) {
  #wpadminbar {
    display: none !important;
  }
  body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
*/
h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
  letter-spacing: 0.055em;
}

a {
  color: #2271b1;
}

a:hover {
  opacity: 0.6;
}

img {
  max-width: 100%;
  height: auto;
}

/*----------
*  common	
----------*/
/* 固定nav分だけmainを下げる（.top-mainはFV用レイアウトのため除外） */
main:not(.top-main) {
  margin-top: 82px;
}

main {
  background-color: #fff;
  z-index: 2;
}

.inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 50px 10px;
}

/* パンくずを包む .inner は上下の padding を 0 に */
.second-header + .inner {
  padding-top: 0;
  padding-bottom: 0;
}

.text-center {
  text-align: center;
}

/*背景グレー*/
#footer,
.about,
.education-schoolList_inner {
  background-color: #f7f7f7;
}

/*文字赤*/
#hero p,
.section-title,
.btn-red,
.second-header h1,
.footer-bottom_tel dd a,
small,
.about-contents h3,
.education-contentList li h3,
.education-movie_contents h3,
.education-movieList li h4 {
  color: #bf291b;
}

/*背景赤*/
.nav-copy,
.seminar-list .time,
.footer-btn a {
  background-color: #bf291b;
}

/*波線*/
.breadcrumb,
.section-title,
.second-header h1,
.news-dd_titleArea,
.news-dd_text,
.education-movie_contents h3 {
  border-bottom: dashed 1px #707070;
}

/*----------
*  btn-red
----------*/
.btn-red,
.previous-btn a,
.next-btn a {
  display: block;
  border: 1px solid #bf291b;
  border-radius: 10px;
  padding: 10px 20px;
  width: 230px;
  margin: 0 auto;
  background-color: #fff;
}

.btn-red:hover,
.previous-btn a:hover,
.next-btn a:hover {
  background-color: #bf291b;
  color: #fff;
  transition: 0.3s;
  opacity: 1;
}

.btn-red::after {
  right: 8px;
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 4px solid #bf291b;
}

.arrow {
  position: relative;
  vertical-align: middle;
  text-decoration: none;
}

.arrow::before,
.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.btn-w300 {
  width: 300px;
}

/*----------
*  navigation	
----------*/
.hamburger-btn {
  display: none;
}

nav {
  box-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}

#navigation {
  position: relative;
}

.nav-copy {
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
}

.nav-logo {
  display: block;
  max-width: 240px;
  width: 100%;
  padding: 10px;
}

@media screen and (max-width: 768px) {
  .nav-logo,
  .nav-logo img {
    max-width: 160px;
  }
}
.nav-sponsored {
  font-size: 1.4rem;
  display: inline-block;
  padding-top: 10px;
  position: absolute;
  top: 0;
  left: 210px;
}

.menu {
  right: 20px;
  top: 0;
  display: flex;
  font-weight: 600;
}

/*プルダウン*/
.menu {
  height: 50px;
  margin: 0 auto;
}

.menu > li a {
  display: block;
  color: #333;
}

.menu > li a:hover {
  color: #999;
}

.menu__single {
  display: grid;
  place-items: center;
}

ul.menu__second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.menu > li:hover {
  transition: all 0.5s;
}

.menu__second-level li {
  border-top: 1px solid #e2e2e2;
  margin-left: 0;
}

.menu__second-level li a {
  padding: 0 20px;
}

.menu__second-level li a:hover {
  background: #bf291b;
  color: #fff;
  transition: all 0.5s;
  opacity: 1;
}

/* floatクリア */
.menu:before,
.menu:after {
  content: " ";
  display: table;
}

.menu:after {
  clear: both;
}

.menu {
  *zoom: 1;
}

.menu > li.menu__single {
  position: relative;
}

li.menu__single ul.menu__second-level {
  position: absolute;
  top: 70px;
  width: 200px;
  background: #fff;
  transition: all 0.2s ease;
}

li.menu__single ul.menu__second-level li a {
  padding-left: 20px;
  padding-block: 1.5rem;
}

li.menu__single:hover ul.menu__second-level {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

/*----------
*  hero	
----------*/
#hero p {
  position: absolute;
  top: 28%;
  right: 70px;
  z-index: 1;
}

#hero p {
  top: 350px;
  padding-right: 10px;
}

.hero-image {
  position: fixed;
  top: 88px;
  left: 0;
  z-index: -1;
}

/*----------
*  navigation	
----------*/
.section-title {
  font-weight: 600;
  font-size: 2.4rem;
  padding-bottom: 15px;
  text-align: center;
}

/*----------
*  news
----------*/
.top-news {
  margin-top: 80px;
}

.news-list {
  padding: 10px 0 30px;
}

.news-list li {
  margin: 0 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e2e2;
  display: flex;
}

.news-list time {
  margin-right: 20px;
}

.category_list li {
  margin: 0;
  padding: 0;
  border-bottom: none;
  display: block;
}

.category_list li a {
  display: inline-block;
  width: 150px;
  height: 29px;
  margin: 3px 20px 0 0;
  padding: 0;
  border-bottom: none;
  text-align: center;
  background-color: #126ea8;
  font-size: 1.5rem;
  color: #fff;
}

.news-title {
  display: block;
  max-width: 660px;
}

/*pagenavi*/
.wp-pagenavi {
  text-align: center;
}

.wp-pagenavi span.pages,
.wp-pagenavi a,
.wp-pagenavi span.current {
  border: 1px solid #bf291b;
  border-radius: 10px;
  color: #bf291b;
  padding: 5px 15px;
  margin-right: 10px;
}

.wp-pagenavi a:hover {
  background-color: #bf291b;
  color: #fff;
  transition: 0.3s;
}

.wp-pagenavi span.pages {
  padding: 5px 10px;
}

.wp-pagenavi span.current {
  background-color: #bf291b;
  color: #fff;
}

/* WordPress 標準ページネーション（.navigation.pagination）：page と current の padding を統一 */
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  padding: 5px 15px;
  border: 1px solid #bf291b;
  border-radius: 10px;
  color: #bf291b;
  text-decoration: none;
  transition: 0.3s;
}

.navigation.pagination .page-numbers:hover {
  background-color: #bf291b;
  color: #fff;
}

.navigation.pagination .page-numbers.current {
  background-color: #bf291b;
  color: #fff;
}

/*----------
*  about
----------*/
.about-text {
  margin: 30px 0;
}

.about-text p {
  margin-bottom: 10px;
}

.about-link {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  justify-content: center;
}

.about-link li {
  flex: 0 1 calc(50% - 12px);
}

.about-link li a {
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

/*----------
*  seminar-list	
----------*/
.seminar-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 30px 0 50px;
  row-gap: 30px;
}

.seminar-list li {
  width: 24%;
  position: relative;
}

.seminar-URL li {
  width: 100%;
}

.seminar-list_pdf {
  display: block;
  width: 100%;
  padding: 10px;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.seminar-list .time {
  display: block;
  width: 100%;
  font-size: 1.4rem;
  padding: 3px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.seminar-list_title {
  font-size: 1.5rem;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.seminar-list_application {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 1.4rem;
  color: #707070;
}

.seminar-list_application::before {
  content: url("images/yazirushi.png");
  padding-right: 10px;
}

.event-end {
  font-size: 2.4rem;
  color: #bf291b;
  font-weight: 700;
  position: absolute;
  top: 23%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  text-align: center;
  padding: 20px 0;
}

/*----------
*  link-list	
----------*/
.link-list {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  flex-wrap: wrap;
}

.link-list li {
  margin-bottom: 20px;
}

.LP-link {
  display: inline-block;
  width: 300px;
  background-color: #f3b03d;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 0;
}

.footer-link {
  display: inline-block;
  width: 300px;
  text-align: center;
}

.link-list .footer-link {
  width: 200px;
}

.LP-link span {
  display: block;
  font-size: 1.4rem;
}

/*----------
*  footer	
----------*/
#footer {
  padding: 50px;
}

.footer-top {
  padding-bottom: 30px;
}

.footer-logo {
  max-width: 250px;
  width: 100%;
  display: inline-block;
  margin-right: 50px;
}

.footer-sponsored {
  display: inline-block;
}

.footer-bottom {
  position: relative;
}

.footer-bottom dl dt,
.footer-bottom dl dd {
  display: inline-block;
  vertical-align: middle;
}

.footer-bottom dl {
  margin-bottom: 15px;
}

.footer-bottom dl dt {
  margin-right: 20px;
}

.footer-bottom_tel dd {
  font-size: 3rem;
  font-weight: 700;
}

.footer-btn {
  position: absolute;
  right: 0;
  top: 0;
}

.footer-btn a {
  display: block;
  width: 300px;
  font-size: 2rem;
  padding: 15px;
  color: #fff;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 10px;
}

/* footer-btn と同じ見た目・中央配置（absolute なし） */
.button-cta {
  text-align: center;
}

.button-cta a {
  display: inline-block;
  width: 300px;
  font-size: 2rem;
  padding: 15px;
  color: #fff;
  background-color: #bf291b;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 10px;
}

small {
  display: block;
  text-align: center;
  margin-top: 20px;
}

/*----------
*  下層ページ
----------*/
.second-header {
  padding-top: 0; /* main側で固定nav分を確保している */
  height: 300px;
  background-size: cover;
  background-position: left top;
  position: relative;
}

.second-header h1 {
  font-weight: 700;
  font-size: 3rem;
  display: inline-block;
  position: absolute;
  bottom: 70px;
  left: 14%;
}

.news-header {
  background-image: url("../images/news/news.jpg");
}

.about-header {
  background-image: url("../images/about/about.jpg");
}

.education-header {
  background-image: url("../images/education/education.jpg");
}

.miraihakkutsu-header {
  background-image: url("../images/miraihakkutsu-zukan/img_fv-mirai-pc.jpg");
}

/* 1134px〜749pxの間のみ（モバイル開始前）：FV画像を40％左寄せ */
@media screen and (min-width: 749px) and (max-width: 1134px) {
  .miraihakkutsu-header {
    background-position: 40% top;
  }
}
.contact-header {
  background-image: url("../images/contact/contact.jpg");
}

.search-header {
  background-color: #f7f7f7;
  background-image: url("../images/news/news.jpg");
  background-size: cover;
  background-position: center top;
}

/*----------
*  news 下層ページ
----------*/
.news-number {
  width: 50px;
}

.breadcrumb {
  padding-bottom: 15px;
}

.breadcrumb a,
.breadcrumb span span {
  color: #707070;
  font-size: 1.4rem;
}

/* 区切り「>」はHTML側で出力（template-parts/breadcrumb.php） */
/* お問い合わせページではパンくずの波線を非表示 */
.contact-page .breadcrumb {
  border-bottom: none;
}

.contact-page .form-text {
  padding-bottom: 1.5em;
}

/* 未来発掘図鑑ページではパンくずの波線を非表示 */
.miraihakkutsu-zukan-page .breadcrumb {
  border-bottom: none;
}

/* 投稿記事ページではパンくずのボーダーを非表示 */
.single .breadcrumb {
  border-bottom: none;
}

/* 未来図鑑：署名（右寄せ・上下余白） */
.miraihakkutsu-signature {
  text-align: right;
  padding: 24px 0 16px;
  margin: 0;
  font-size: 1.5rem;
}

/* 未来図鑑：CTAボタンと直上テキストの間隔 */
.miraihakkutsu-zukan-page .button-cta {
  margin-top: 40px;
}

/* 未来図鑑：最後のセクション（制作チームから…）の下の余白 */
.miraihakkutsu-last-section {
  padding-bottom: 144px;
  margin-bottom: 96px;
}

/* 9業種リスト（動画サムネ＋解説） */
.miraihakkutsu-industry-list {
  list-style: none;
  margin: 30px 0 40px;
  padding: 0;
}

.miraihakkutsu-industry-item {
  padding: 28px 0;
  border-bottom: 1px solid #e0e0e0;
}

.miraihakkutsu-industry-item:first-child {
  padding-top: 0;
}

.miraihakkutsu-industry-item:last-child {
  border-bottom: none;
}

.miraihakkutsu-industry-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.4;
}

.miraihakkutsu-industry-catch {
  font-weight: 500;
  font-size: 1rem;
  color: #666;
  margin-left: 0.5em;
}

.miraihakkutsu-industry-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 12px;
}

.miraihakkutsu-industry-thumb {
  flex: 0 0 50%;
  max-width: 50%;
}

.miraihakkutsu-industry-thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  background: #f0f0f0;
  overflow: hidden;
}

.miraihakkutsu-industry-thumb-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.miraihakkutsu-industry-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  font-size: 1.3rem;
  color: #999;
  text-align: center;
}

.miraihakkutsu-industry-text {
  flex: 1;
  min-width: 0;
}

.miraihakkutsu-industry-text p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.75;
}

@media screen and (max-width: 768px) {
  .miraihakkutsu-industry-body {
    flex-direction: column;
    gap: 16px;
  }
  .miraihakkutsu-industry-thumb {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* 未来図鑑：動画ライトボックス */
.miraihakkutsu-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.miraihakkutsu-lightbox[aria-hidden=false] {
  display: flex;
}

.miraihakkutsu-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
}

.miraihakkutsu-lightbox-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.miraihakkutsu-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
  z-index: 1;
}

.miraihakkutsu-lightbox-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 未来図鑑：冊子サムネ → フリップブック全画面ライトボックス */
.miraihakkutsu-flipbook-wrap {
  margin: 1em 0;
}

.miraihakkutsu-flipbook-caption {
  margin: 0.5em 0 0;
  font-size: 0.9em;
  color: #666;
  text-align: center;
}

.miraihakkutsu-flipbook-trigger {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  margin: 0 auto;
}

.miraihakkutsu-flipbook-trigger img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.miraihakkutsu-flipbook-lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.miraihakkutsu-flipbook-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.miraihakkutsu-flipbook-lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
  overflow: auto;
}

.miraihakkutsu-flipbook-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.miraihakkutsu-flipbook-lightbox-content {
  padding: 50px 20px 20px;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

/* 3D Flipbook の「More」メニューボタンを非表示 */
.cmd.menu-toggle,
a.cmd.menu-toggle,
.miraihakkutsu-flipbook-lightbox .cmd.menu-toggle,
.miraihakkutsu-flipbook-lightbox-content .cmd.menu-toggle {
  display: none !important;
  visibility: hidden !important;
}

/* 3D Flipbook のツールチップを非表示（表示する場合はこのブロックをコメントアウト） */
.miraihakkutsu-flipbook-lightbox .ui-tooltip,
.miraihakkutsu-flipbook-lightbox [role=tooltip],
.ui-tooltip.ui-widget-content,
[role=tooltip].ui-widget-content {
  display: none !important;
  visibility: hidden !important;
}

.news-dd_titleArea {
  padding: 20px 0;
}

.news-dd_titleArea time {
  margin-right: 20px;
}

.news-dd_titleArea h2 {
  font-size: 2rem;
  font-weight: 700;
  padding-top: 10px;
}

.news-dd_text {
  padding: 30px 0;
  margin-bottom: 20px;
}

.news-feed {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.previous-btn a,
.next-btn a,
.news-feed a {
  width: 120px;
  margin: 0;
  padding: 5px 20px;
  text-align: center;
}

.newsList-past {
  font-size: 1.4rem;
  color: #999;
  display: block;
  margin: -10px 20px 40px auto;
  max-width: 533px;
  width: 100%;
}

.newsList-past:hover {
  border-bottom: 1px solid #bbb;
  color: #bbb;
  transition: 0.2s;
}

/*----------
*  about 下層ページ
----------*/
#about-contents {
  padding-top: 110px;
  margin-top: -200px;
}

#about-schedule,
#about-voice,
#about-question {
  padding-top: 220px;
  margin-top: -200px;
}

.about-contents,
.about-schoolList,
.about-schedule,
.about-voice,
.about-question {
  padding: 30px 0;
}

.about-schoolList_text {
  padding-top: 30px;
}

.about-contents h3 {
  font-weight: 700;
  font-size: 1.8rem;
}

.about-contents li,
.about-schoolList li {
  padding-bottom: 30px;
}

.about-contents li h3,
.about-contents li img {
  display: block;
  margin-bottom: 20px;
}

.about-schedule {
  max-width: 900px;
  width: 100%;
  margin: 30px auto 0;
  padding: 50px;
  background-color: #fff;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.about-schedule li {
  margin-bottom: 30px;
}

.about-schedule li time {
  display: inline-block;
  vertical-align: top;
  border: 1px solid #f3b03d;
  border-radius: 10px;
  width: 80px;
  padding: 5px 10px;
  text-align: center;
  margin-right: 30px;
}

.about-schedule li p {
  display: inline-block;
  max-width: 650px;
}

.about-schedule li p span {
  font-size: 1.4rem;
  color: #707070;
}

.about-voice {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-voice li {
  width: 49%;
  padding: 20px;
  border: 1px solid #e2e2e2;
  margin-bottom: 20px;
}

.about-voice li img {
  display: block;
  width: 100px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.about-voice_name {
  text-align: center;
  padding-bottom: 15px;
  font-weight: 700;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.grad-wrap {
  position: relative;
}

.grad-wrap + .grad-wrap {
  margin-top: 40px;
}

.grad-btn {
  z-index: 2;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 148px;
  margin: auto;
  padding: 0.5em 0;
  border-radius: 2px;
  background: #aaa;
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.grad-btn::after {
  content: "続きを読む";
}

.grad-btn:hover {
  background: #fff;
  color: #aaa;
}

.grad-btn .fa {
  margin-right: 0.5em;
}

.grad-item {
  position: relative;
  overflow: hidden;
  height: 140px;
}

.grad-item p + p {
  margin-top: 1em;
}

.grad-item::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 40px;
  /*グラデーションで隠す範囲*/
  background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.9) 50%, #fff 100%);
}

.grad-trigger {
  display: none;
}

.grad-trigger:checked ~ .grad-btn {
  bottom: -3em;
}

.grad-trigger:checked ~ .grad-btn::after {
  content: "閉じる";
}

.grad-trigger:checked ~ .grad-btn .fa {
  transform: rotate(180deg);
}

.grad-trigger:checked ~ .grad-item {
  height: auto;
}

.grad-trigger:checked ~ .grad-item::before {
  display: none;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.about-question li {
  margin-bottom: 20px;
}

.about-question li h3,
.about-question li p {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #e2e2e2;
}

.about-question li h3 {
  background-color: #e2e2e2;
}

/*----------
*  education 下層ページ
----------*/
.education-leadSentence,
.education-cooperation {
  padding-bottom: 50px;
}

.education-contentList {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.education-contentList li {
  width: 48%;
  margin-bottom: 30px;
}

.education-contentList li h3,
.about-schoolList li h3 {
  font-weight: 700;
  font-size: 1.8rem;
}

.education-contentList li h3 {
  margin-bottom: 20px;
}

.education-contentList li img {
  display: block;
  margin-bottom: 10px;
}

.education-movie_contents {
  margin-bottom: 80px;
}

.education-movie_contents h3 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 30px;
  display: inline-block;
}

.education-movie_contents h3 span {
  font-size: 1.6rem;
  margin-left: 10px;
  color: #333;
}

.education-movieList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}

.education-movieList li {
  width: 49%;
  margin-bottom: 20px;
}

.education-movieList::after,
.education-movieList::before {
  content: "";
  display: block;
  width: 24%;
  height: 0;
}

.education-movieList::before {
  order: 1;
}

.education-movieList li h4 {
  font-weight: 700;
  margin: 20px 30px 10px 0;
  display: inline-block;
}

.education-movieList li a,
.education-movieList li dl dt {
  background-color: #126ea8;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 5px 10px;
}

.education-movieList li p {
  margin-top: 5px;
}

.education-movieList li dl {
  margin-top: 5px;
  margin-right: 10px;
  display: inline-block;
}

.education-movieList li dl dt {
  background-color: #b2b1b1;
  padding: 2px 10px;
  margin-right: 5px;
  display: inline-block;
}

.education-movieList li dl dd {
  display: inline-block;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*---------
* contact
*----------*/
.contact-text {
  max-width: 784px;
  padding: 30px;
  margin: 0 auto 80px;
  line-height: 1.5;
  border-radius: 20px;
  border: 1px solid #bf291b;
  background-color: #fff;
}

.form-input dl {
  display: flex;
  margin-bottom: 30px;
}

.form-input dl dd {
  width: 100%;
}

.form-input dl dt {
  width: 350px;
  text-align: right;
  margin-right: 50px;
  line-height: 3;
  font-weight: 700;
}

.form-input .required {
  color: #e32727;
}

.contact-name,
.contact-tel,
.contact-mail,
.contact-textarea,
.contact-prefectures,
.contact-area,
.contact-select {
  border: 1px solid #707070;
  border-radius: 10px;
  font-size: 1.8rem;
  padding: 10px 20px;
  max-width: 500px;
  width: 100%;
  display: block;
}

.contact-mail,
.contact-textarea {
  max-width: 650px;
  width: 100%;
}

.contact-type_label {
  line-height: 3;
  margin-right: 30px;
}

.policy-box {
  max-width: 800px;
  padding: 30px;
  margin: 10px auto;
}

.scroll {
  overflow: scroll;
}

.contact-policy {
  text-align: center;
  display: block;
  width: 100%;
  margin: 30px 0 40px;
}

/* CF7 プライバシー同意: br を消してチェックボックスとテキストを1行に */
.form-input .contact-policy br {
  display: none;
}

.form-input .contact-policy label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  cursor: pointer;
}

/* CF7 チェックボックスとラベルを横並びに */
.wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.wpcf7-list-item .contact-policy {
  display: inline-block;
  width: auto;
  margin: 0;
  vertical-align: middle;
}

label:has(.wpcf7-list-item) {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
  margin: 30px 0 40px;
}

label:has(.wpcf7-list-item) .contact-policy {
  display: inline-block;
  width: auto;
  margin: 0;
}

.contact-submit_btn {
  display: block;
  color: #fff;
  background-color: #01671b;
  margin: 80px auto 100px;
  width: 300px;
  padding: 20px 0;
  border-radius: 10px;
  text-align: center;
}

.contact-submit_btn:hover {
  opacity: 0.8;
  transition: 0.3s;
}

/* 確認ページ: dl 縦中央揃え・dl間に薄いボーダー */
.contact-confirm-page .form-input dl {
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.contact-confirm-page .form-input dl:last-of-type {
  border-bottom: none;
}

.contact-confirm-page .form-input dl dt {
  line-height: 1.5;
}

.contact-confirm-page .form-input dl dt p,
.contact-confirm-page .form-input dl dd p {
  margin: 0;
}

/* 確認ページ: 戻る・送信するボタンを横並び・テキスト中央 */
.contact-confirm-page p:has(.wpcf7-previous) {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.contact-confirm-page .wpcf7-previous,
.contact-confirm-page .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  box-sizing: border-box;
  text-align: center;
}

/* spinner をレイアウトから外し、縦並び時も送信ボタンがずれないようにする */
.contact-confirm-page .wpcf7-spinner {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* サンキューページ */
.contact-thanks-section {
  padding-bottom: 80px;
}

.contact-thanks-message {
  max-width: 600px;
  margin: 0 auto 50px;
  padding: 40px 30px;
  border: 1px solid #bf291b;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.contact-thanks-lead {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-thanks-back {
  text-align: center;
}

.caution {
  color: #e32727;
  margin-left: 20px;
}

@media screen and (max-width: 1300px) {
  /*ハンバーガーbtn*/
  .hamburger-btn {
    display: block;
    margin: 10px;
    top: 2px;
    right: 0;
    position: absolute;
    width: 48px;
    height: 48px;
    cursor: pointer;
  }
  .btn__text {
    display: block;
    margin-top: 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
    transform: translate(-4px, 2px);
  }
  .btn__menu {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #26344a;
    margin: 0;
    padding: 0;
    border: none;
    transition: all 0.5s;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }
  .btn__menu::before {
    display: block;
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #26344a;
    transition: all 0.5s;
  }
  .btn__menu::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #26344a;
    transition: all 0.5s;
  }
  .btn__menu.active {
    background: transparent;
  }
  .btn__menu.active::before {
    top: 0;
    transform: rotate(-45deg);
  }
  .btn__menu.active::after {
    bottom: 0;
    transform: rotate(45deg);
  }
  /*ハンバーガーメニュー*/
  .p-global-nav {
    position: absolute;
    top: 82px;
    right: 0;
    width: 100%;
    padding: 0 20px 160px 20px;
    transition: all 0.5s;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 3;
    overflow-y: auto;
    height: calc(100dvh - 82px);
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(10px);
  }
  .p-global-nav.active {
    display: block;
  }
  .p-global-nav ul li {
    position: relative;
  }
  /* モバイルメニュー：PCと同内容を縦並び・サブは常時表示 */
  .p-global-nav .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0 0 40vh 0;
    max-height: none;
  }
  .p-global-nav .menu > li.menu__single {
    border-bottom: 1px solid #ddd;
    width: 100%;
  }
  .p-global-nav .menu > li.menu__single:nth-last-child(-n+3) {
    border-bottom: none;
  }
  .p-global-nav .menu > li.menu__single > a {
    display: block;
    width: 100%;
    padding: 14px 40px 14px 16px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    box-sizing: border-box;
  }
  .p-global-nav .menu > li.menu__single > a:hover {
    background-color: #f5f5f5;
    color: #333;
    opacity: 1;
  }
  /* サブメニュー：モバイルでは常時表示（PCの visibility/position を上書き）・小要素はインデント */
  .p-global-nav .menu > li.menu__single ul.menu__second-level {
    visibility: visible;
    opacity: 1;
    position: static;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
  }
  .p-global-nav .menu > li.menu__single ul.menu__second-level li a {
    display: block;
    width: 100%;
    padding: 12px 16px 12px 32px;
    color: #333;
    font-weight: 400;
    font-size: 0.95em;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
  }
  .p-global-nav .menu > li.menu__single ul.menu__second-level li:last-child a {
    border-bottom: none;
  }
  .p-global-nav .menu > li.menu__single ul.menu__second-level li a:hover {
    background-color: #eee;
    color: #bf291b;
    opacity: 1;
  }
  /* 登録・検索フォームも同じ幅で */
  .p-global-nav .menu > li.menu__single .header-btn a,
  .p-global-nav .menu > li.menu__single form {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
  }
  .p-global-nav .menu > li.menu__single .header-btn a {
    font-size: 1.6rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .p-global-nav .menu > li.menu__single form {
    height: auto;
    padding: 12px 16px 60px;
  }
  .p-global-nav .menu > li.menu__single:last-of-type {
    margin-bottom: 0;
  }
  .p-global-nav .menu > li.menu__single form input[type=text] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .p-global-nav .menu > li.menu__single form button[type=submit] {
    padding: 8px 16px;
  }
  #navigation ul li a:hover {
    background-color: transparent;
  }
  .top-nav_menu {
    margin-bottom: 20px;
  }
  .top-nav_link {
    border-top: 1px solid #333;
    padding-top: 20px;
  }
  .top-nav_menu:hover,
  .top-nav_link:hover {
    opacity: 1;
  }
  .top-hero-title {
    top: 10%;
  }
  /*---------
  * top news
  -----------*/
  .news-list li {
    display: block;
    margin: 0;
  }
  .news-title {
    max-width: 100%;
  }
  /*---------
  * footer
  -----------*/
  #footer {
    text-align: center;
    padding: 50px 10px;
  }
  .footer-logo {
    max-width: 50%;
    margin: 0 0 20px 0;
  }
  .footer-btn {
    position: inherit;
    padding-top: 10px;
  }
  .footer-btn a {
    margin: 20px auto;
  }
  .button-cta a {
    margin: 20px auto;
  }
  /*---------
  * about下層
  -----------*/
  .about-schedule {
    padding: 20px 10px;
  }
  /*---------
  * education下層
  -----------*/
  .education-movieList li {
    width: 49%;
  }
  .education-contentList {
    display: block;
  }
  .education-contentList li {
    width: 100%;
  }
  /*---------
  * contact下層
  -----------*/
  .form-input dl {
    display: block;
  }
  .form-input dl dt {
    text-align: left;
  }
}
/* about-link: 500px以下で縦1カラムに */
@media screen and (max-width: 500px) {
  .about-link {
    display: block;
  }
  .about-link li {
    margin-bottom: 20px;
  }
  .about-link li a {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  main:not(.top-main) {
    margin-top: 60px;
  }
  .inner {
    padding: 50px 10px;
  }
  /*---------
  * navigation
  -----------*/
  .nav-copy {
    font-size: 1rem;
  }
  .nav-sponsored {
    display: none;
  }
  /*---------
  * hero
  -----------*/
  /*---------
  * seminar-list
  -----------*/
  .seminar-list li {
    width: 49%;
    margin-bottom: 30px;
  }
  /*---------
  * link-list
  -----------*/
  .link-list {
    display: block;
  }
  .link-list li {
    margin-bottom: 20px;
  }
  .link-list li a {
    width: 100%;
  }
  .link-list .footer-link {
    width: 300px;
  }
  /*---------
  * footer
  -----------*/
  .footer-logo {
    max-width: 90%;
  }
  /*---------
  * 下層header
  -----------*/
  .second-header {
    background-position: top;
    height: 230px;
  }
  .second-header h1 {
    left: 20px;
    bottom: 30px;
    font-size: 2.6rem;
  }
  .news-header {
    background-image: url("../images/news/news-sp.jpg");
  }
  .about-header {
    background-image: url("../images/about/about-sp.jpg");
  }
  .education-header {
    background-image: url("../images/education/education-sp.jpg");
  }
  .miraihakkutsu-header {
    background-image: url("../images/miraihakkutsu-zukan/img_fv-mirai-sp.jpg");
  }
  .contact-header {
    background-image: url("../images/contact/contact-sp.jpg");
  }
  .search-header {
    background-image: url("../images/news/news-sp.jpg");
  }
  /*---------
  * about下層
  -----------*/
  .about-voice {
    display: block;
  }
  .about-voice li {
    width: 100%;
    margin-bottom: 20px;
  }
  /*---------
  * news下層
  -----------*/
  /*---------
  * education下層
  -----------*/
  .education-movieList li {
    width: 100%;
  }
  /*---------
  * contact下層
  -----------*/
  .contact-text {
    margin-bottom: 50px;
  }
  .contact-tel {
    width: 30%;
  }
}
/* top fv（header 内スライダー：2枚を5秒間隔でフェード・fixed で背面に固定） */
.text-center {
  background-color: white;
}

/* ナビ下端の直下に画像（PC: 105px でヘッダーに隠れないよう微調整） */
#hero.fv-slider {
  width: 100%;
  max-width: 100vw;
  position: fixed;
  top: 105px;
  left: 0;
  aspect-ratio: 16/9;
  height: auto;
  z-index: -1;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  #hero.fv-slider {
    top: 100px;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;
    overflow: visible;
  }
}
.fv-slider-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fv-slider .fv-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.fv-slider .fv-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.fv-slider .fv-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.fv-slider .fv-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}

@media screen and (max-width: 768px) {
  .fv-slider .fv-slide img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
}
/* スライダー高さ（画像比）＋ナビ分の余白 */
.top-main {
  position: relative;
  z-index: 1;
  margin-top: calc(105px + 56.25vw); /* PC: 105px + 100vw * 9/16 */
}

@media screen and (max-width: 768px) {
  .top-main {
    margin-top: calc(100px + 56.25vw);
  }
}
/* スライダー左右の三角ボタン（PC: 40%、モバイル: 45% の位置） */
.fv-slider-prev,
.fv-slider-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.fv-slider-prev::after,
.fv-slider-next::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-style: solid;
}
.fv-slider-prev:hover,
.fv-slider-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .fv-slider-prev,
  .fv-slider-next {
    top: 45%;
  }
}
.fv-slider-prev {
  left: 12px;
}
.fv-slider-prev::after {
  border-width: 12px 14px 12px 0;
  border-color: transparent #fff transparent transparent;
  margin-left: 14px;
}

.fv-slider-next {
  right: 12px;
}
.fv-slider-next::after {
  border-width: 12px 0 12px 14px;
  border-color: transparent transparent transparent #fff;
  margin-right: 14px;
}

.fv-slider .img_logo {
  position: absolute;
  right: 5%;
  bottom: 10%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.fv-slider .img_logo img {
  width: 20vw;
  height: auto;
  position: static;
  display: block;
}
@media screen and (max-width: 768px) {
  .fv-slider .img_logo {
    bottom: -10%;
    right: 4%;
  }
  .fv-slider .img_logo img {
    width: 18vw;
  }
}/*# sourceMappingURL=styles.css.map */