@charset "utf-8";

body {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Open Sans", Helvetica, Arial, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
}

p {
  margin-bottom: 0;
  text-align: justify;
}

.elementor-widget-heading p {
  text-align: inherit;
}

ul, ol,
.single-post.content-max-width .entry-content ul {
  margin-top: 0;
  margin-bottom: 0;
}

.single-post.content-max-width .entry-content ul {
  padding-left: 1.5em;
  padding-right: 0;
}

.sp-only {
  display: none;
}


/* ------------------------------------ */
/*  グラデーションボタン
/* ------------------------------------ */
.grade-button .elementor-button {
  position: relative;
  z-index: 0;
  overflow: hidden;
  /* 角丸用 */
  transition: all .3s ease;
}

.grade-button .elementor-button::before,
.grade-button .elementor-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grade-button .elementor-button::before {
  z-index: -1;
  background: linear-gradient(90deg, #ec4ca5 0%, #7fb2df 100%);
  transition: .3s ease;
}

.grade-button .elementor-button::after {
  z-index: -2;
  background: linear-gradient(90deg, #7fb2df 0%, #ec4ca5 100%);
}

.grade-button .elementor-button:hover::before {
  opacity: 0;
}


/* ------------------------------------ */
/*  フッター
/* ------------------------------------ */
.footer-address .box-body p {
  text-align: left;
}

.footer-menu ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 0 15px;
  margin: 0;
  list-style: none;
}

.footer-menu ul li a {
  color: #fff;
  transition: all .3s ease;
}

.footer-menu ul li a:hover {
  color: #e4007f;
}

#footer a {
  color: #fff;
}


/* ------------------------------------ */
/*  ページヘッダー
/* ------------------------------------ */
.background-image-page-header .site-breadcrumbs {
  margin-top: 10px;
}

/* ------------------------------------ */
/*  シングルポスト
/* ------------------------------------ */
.single-post.content-max-width .entry-header {
  text-align: left;
}

.single-post.content-max-width ul.meta {
  justify-content: flex-start;
  padding-left: 20px;
  padding-right: 20px;
}

.single-post ul.meta li,
.single-post ul.meta li a {
  display: flex;
  align-items: center;
}

.single-post ul.meta li i,
.single.ocean-cpt ul.meta li i {
  padding-right: 5px;
}

.single-post ul.ospm-none li:after,
.single.ocean-cpt ul.ospm-none li:after {
  content: none;
}

/* --- ナビゲーション --- */
.single-post.content-max-width nav.post-navigation {
  max-width: 1000px;
}

.nav-links .title-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-links .nav-next .title-wrap {
  justify-content: flex-end;
}

.nav-links .title {
  position: relative;
}

.nav-links .nav-previous .title {
  padding-right: 15px;
}

.nav-links .nav-next .title {
  padding-left: 15px;
}

.nav-links .title::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background-image: url(../img/06-about_gradation-arrow.svg);
  background-position: center center;
}

.nav-links .nav-previous .title::before {
  transform: rotate(180deg);
}

.single nav.post-navigation .nav-links .post-title {
  margin: 0;
  text-align: left;
}

.nav-links .post-title .screen-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* ------------------------------------ */
/*  一覧
/* ------------------------------------ */
.blog-entry.grid-entry .blog-entry-inner {
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 6px -3px #000;
  overflow: hidden;
}

.blog-entry.grid-entry .blog-entry-inner a {
  display: block;
  padding: 0 1.25rem 1.25rem;
}

.thumbnail {
  overflow: hidden;
}

.thumbnail img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: all .3s ease;
}

.thumbnail-link:hover .thumbnail img {
  transform: scale(1.1);
}

ul.meta li {
  padding-bottom: 0;
}

.meta-date {
  padding-right: 10px;
}

.blog-entry.post ul.meta {
  padding-bottom: 0;
  margin-top: 10px;
  margin-bottom: 0;
  border: 0;
}

ul.obem-none li:after {
  content: none;
}

.meta-cat .post-categories {
  display: flex;
  gap: 7px;
  margin: 0;
  list-style: none;
}

.meta-cat .post-categories li {
  display: block;
  padding: 3px 5px;
  color: #fff;
  font-size: .9em;
  line-height: 1;
}

.blog-entry.grid-entry .blog-entry-header {
  margin: 0;
}


/* ------------------------------------ */
/*  投稿
/* ------------------------------------ */
.single .entry-content {
  max-width: 1000px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.single-post.content-max-width .thumbnail,
.single-post.content-max-width .entry-header,
.single-post.content-max-width ul.meta,
.single-post.content-max-width .entry-content h1,
.single-post.content-max-width .entry-content h2,
.single-post.content-max-width .entry-content h3,
.single-post.content-max-width .entry-content h4,
.single-post.content-max-width .entry-content h5,
.single-post.content-max-width .entry-content h6,
.single-post.content-max-width .entry-content blockquote,
.single-post.content-max-width .entry-content p,
.single-post.content-max-width .post-tags,
.single-post.content-max-width .entry-share,
.single-post.content-max-width nav.post-navigation,
.single-post.content-max-width #author-bio,
.single-post.content-max-width #related-posts,
.single-post.content-max-width .comments-area {
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}


/* ------------------------------------ */
/*  tableスタイル
/* ------------------------------------ */
.table-style {
  overflow-x: scroll;
  white-space: nowrap;
}

.table-style table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  margin: 0;
}

.table-style caption {
  color: #333;
}

.table-style.h2-caption caption {
  font-size: 32px;
  font-weight: bold;
}

.table-style.h3-caption caption {
  font-size: 24px;
  font-weight: bold;
}

.table-style thead th {
  text-align: center;
  font-weight: bold;
}

.table-style tbody tr:nth-of-type(2n-1) {
  background-color: #eee;
}

.table-style td {
  text-align: center;
  vertical-align: middle;
  padding: 7px 11px;
}

.table-style thead tr {
  background-color: #c5ddf7;
}

#nagasaki .table-style thead tr {
  background-color: #7fb2df;
}

#sasebo .table-style thead tr {
  background-color: #e4007f;
  color: #fff;
}


/* ------------------------------------ */
/*  学校紹介
/* ------------------------------------ */
#school-aisatu-swiper .swiper .swiper-wrapper {
  transition-timing-function: linear;
}

.dept-guide .elementskit-infobox {
  justify-content: space-between;
}

.dept-guide .elementskit-box-header {
  line-height: 1;
}

.dept-guide .box-body {
  text-align: left;
}

.campus-gakka-slide .ha-slick-content {
  visibility: hidden;
}

.adm-tab #green[aria-selected=true],
.adm-tab #green[aria-selected=false]:hover {
  background-color: #69bd83;
}

.adm-tab #blue[aria-selected=true],
.adm-tab #blue[aria-selected=false]:hover {
  background-color: #6c9bd2;
}

.adm-tab #orange[aria-selected=true],
.adm-tab #orange[aria-selected=false]:hover {
  background-color: #ef845c;
}

.adm-tab #purple[aria-selected=true],
.adm-tab #purple[aria-selected=false]:hover {
  background-color: #796baf;
}

.adm-tab #yellow[aria-selected=true],
.adm-tab #yellow[aria-selected=false]:hover {
  background-color: #f9c270;
}

.adm-tab #pink[aria-selected=true],
.adm-tab #pink[aria-selected=false]:hover {
  background-color: #ee87b4;
}

.adm-tab #red[aria-selected=true],
.adm-tab #red[aria-selected=false]:hover {
  background-color: #ef8484;
}

.adm-tab #mint[aria-selected=true],
.adm-tab #mint[aria-selected=false]:hover {
  background-color: #6dd1c5;
}

.map-clip {
  width: 100%;
  /* iframeの幅と合わせるか、レスポンシブにする */
  height: 380px;
  /* iframeの高さと合わせる */
  overflow: hidden;
  /* ★はみ出した部分を非表示にする最重要プロパティ */
  position: relative;
  /* iframeを絶対配置するための基準点 */
}

.map-clip iframe {
  /* iframe自体を上と左にずらす */
  /* この「-150px」は、情報パネルのサイズに合わせて調整してください */
  position: absolute;
  top: -150px;
  /* 上にずらして、左上の情報を隠す */
  left: 0;
  /* 必要であれば、情報パネルが隠れるように高さを増やす */
  height: 600px;
  /* 450px + 150px = 600px */
}


/* ------------------------------------ */
/*  寮紹介
/* ------------------------------------ */
.dorm-faq .elementskit-faq-header,
.dorm-faq .elementskit-faq-body {
  position: relative;
}

.dorm-faq .elementskit-faq-header::before,
.dorm-faq .elementskit-faq-body::before {
  position: absolute;
  top: 50%;
  left: 10px;
  color: #8da0b6;
  font-size: 40px;
  line-height: 1;
  font-family: "Figtree", sans-serif;
  transform: translateY(-50%);
}

.dorm-faq .elementskit-faq-header::before {
  content: 'Q';
}

.dorm-faq .elementskit-faq-body::before {
  content: 'A';
}


/* ------------------------------------ */
/*  高技専とは
/* ------------------------------------ */
.title-left-circle {
  position: relative;
}

.title-left-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px;
  height: 60px;
  z-index: -1;
  border-radius: 50%;
  background-color: #fff352;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.about-pc-width,
.about-pc-width p {
  max-width: 604px;
}


@media print, screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }

  /* ------------------------------------ */
  /*  フッター
  /* ------------------------------------ */
  .footer-menu ul {
    grid-auto-flow: row;
  }

  /*------------------------------------*/
  /* お知らせ
  /*------------------------------------*/
  /* --- ナビゲーション --- */
  .nav-links{
    padding: 0 10px;
  }
  .single nav.post-navigation .nav-previous,
  .single nav.post-navigation .nav-next {
    width: 100%;
    float: none;
  }

  .single nav.post-navigation .nav-previous {
    padding-right: 0;
    padding-bottom: 15px;
    border: 0;
  }

  .single nav.post-navigation .nav-next {
    padding-left: 0;
    padding-top: 15px;
  }

  .single-post.content-max-width #wrap .entry-header,
  .single-post.content-max-width #wrap ul.meta {
    padding: 0 10px;
  }


  /*------------------------------------*/
  /* 一覧
  /*------------------------------------*/
  .has-blog-grid .blog-grid.mobile-2-col .blog-entry,
  .has-blog-grid .blog-masonry-grid.mobile-2-col .blog-entry {
    width: 50% !important;
  }

  body .oceanwp-row .span_1_of_3 {
    width: 50% !important;
  }

  /*------------------------------------*/
  /* テーブルスタイル
  /*------------------------------------*/
  .table-style.h2-caption caption {
    font-size: 24px;
  }
}
