/*
Theme Name:  四日市国際交流センター
Description: 四日市国際交流センター専用のWordPressテーマです
*/
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@100;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&display=swap");

:root {
  --text_color: #222;
  --main-color: #ff9999;
  --sub-color: #f9dddc;
  --btn-color: #ff6e7f;
  --header-color: #fff;
  --footer-color: #ff9999;
  --link-color: #222;

  /* headerの高さ指定場所 */
  --header-pc__height: 80px;
  --header-sp__height: 60px;
  scroll-padding-top: var(--header-pc__height);

  /* menuの高さ指定場所 */
  --nav-pc__height: 66px;

  /* box-shadow */
  --shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

html {
  font-size: 62.5%; /* 10px */
}

body {
  color: var(--text_color);
  font-size: 1.6rem; /* 16px */
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif !important;
  letter-spacing: 0.05em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%; /* クロームバグ */
  overflow-x: hidden;
  background-color: #f5f0e8;
}

.bg-top {
  background-image: url(images/bg.png);
  background-repeat: repeat-y;
  background-position: top center;
}

body.menu-open {
  overflow: hidden;
}

p,
div {
  max-height: 100%; /* クロームバグ */
}

ul,
ol {
  padding-left: 3rem;
}

main {
  flex: 1;
}

.main-bottom {
  margin-bottom: 100px;
}

/* リンク */
a {
  text-decoration: none;
}

a img:hover {
  /* opacity: 0.8; */
  transition: 0.3s all ease;
}

/* スクロールアイコン */
.scroll_down {
  position: absolute;
  bottom: 0px;
  left: 50%;
}

.scroll_down a {
  position: absolute;
  left: 10px;
  bottom: 60px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 130px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 130px;
  background: #fff;
}

@media screen and (max-width: 991px) {
  .scroll_down {
    display: none;
  }
}

/*=======================================
テキスト
=======================================*/
/* フォント */
.notoserif {
  font-family: "Noto Serif JP";
}

.zenmaru {
  font-family: "Zen Maru Gothic";
}

.oswald {
  font-family: "Oswald";
}

.montserrat {
  font-family: "Montserrat";
}

/* 文字・背景カラー */
.text-main {
  color: var(--main-color) !important;
}

.text-sub {
  color: var(--sub-color) !important;
}

.bg-main {
  background-color: var(--main-color) !important;
}

.bg-sub {
  background-color: var(--sub-color) !important;
}

.text-white {
  color: #fff;
}

/* 文字制御 */
.nowrap {
  display: inline-block;
  white-space: nowrap;
}

.indent {
  text-indent: -1em;
  padding-left: 1em;
}

/* リスト非表示 */
.list-none {
  list-style: none;
  padding: 0;
}

/*=======================================
オプション
=======================================*/
/* スマホ時のみtelクリック */
@media screen and (min-width: 991px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* 角丸 */
.b-rounded {
  border-radius: 15px;
}

/* 円 */
.b-circle {
  border-radius: 100%;
}

/* スクロール吸着 */
.sticky-box {
  position: sticky;
  top: var(--header-pc__height);
}

/* テキストアニメーション1 */
.text-animation1 {
  display: inline-block;
  overflow: hidden;
  animation-name: text-animation;
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes text-animation {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.text-animation1__inner {
  display: inline-block;
  overflow: hidden;
  animation-name: text-animation__inner;
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes text-animation__inner {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* テキストアニメーション2 */
.text-animation2 {
  display: inline-block;
  position: relative;
  animation: clip-text 0.5s ease-in-out forwards;
}

.text-animation2::before {
  content: "";
  display: block;
  background-color: #000;
  position: absolute;
  inset: 0;
  animation: clip-cover 0.5s ease-in-out forwards;
  animation-delay: 0.5s;
}

@keyframes clip-text {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes clip-cover {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}

/* フェードインエフェクト */
/* 共通 */
.fadein {
  opacity: 0;
  transition: all 1s;
}

/* アニメーション種類 */
.fadein-up {
  transform: translateY(100px);
}
.fadein-left {
  transform: translateX(-100px);
}
.fadein-right {
  transform: translateX(100px);
}
.fadein-down {
  transform: translateY(-100px);
}

/* 表示時にスクロールイン */
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.no-transition {
  transition: none !important;
}

/*=======================================
ローディング
=======================================*/
/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  background-color: var(--main-color);
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/*=======================================
見出し
=======================================*/
.h1 {
  font-size: 3.6rem;
  color: var(--main-color);
  margin: 0;
  padding: 0;
}

h2 {
  margin-bottom: 40px;
}

.h2 {
  font-family: "Zen Maru Gothic";
  font-size: 2.8rem;
  font-size: clamp(2.4rem, 2.9vw, 3.2rem);
  font-weight: 700;
  border-bottom: 4px solid var(--main-color);
}

.h2-white {
  font-size: 2.8rem;
  font-size: clamp(2.4rem, 2.9vw, 4rem);
  font-weight: 700;
  color: #fff;
}

.h2-sub {
  font-size: clamp(1.6rem, 2.9vw, 2rem);
  font-family: "Outfit";
  color: #a1a1a1;
}
/* .h2:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: calc(50% - 50px);
  width: 100px;
  height: 3px;
  background: var(--main-color);
} */

.h3 {
  font-size: clamp(2rem, 2.9vw, 2.4rem);
  position: relative;
  padding: 1rem 0rem;
  border-bottom: 4px solid #ccc;
  margin-bottom: 10px;
}

.h3:before {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20%;
  height: 4px;
  content: "";
  background: var(--main-color);
}

.h4 {
  font-size: 2rem;
  font-size: clamp(1.8rem, 2.9vw, 2rem);
  padding: 1rem;
  border-left: solid 4px var(--main-color);
  margin-bottom: 10px;
}

/*=======================================
  header-pc
=======================================*/
header {
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: var(--header-color);
}

header .container-fluid,
header .container {
  padding: 0;
}

.header-pc {
  width: 100%;
  height: var(--header-pc__height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-pc h1 {
  flex: 1;
  font-size: 0%;
  margin: 0 25px;
}

.header-pc h1 img {
  height: 50px;
}

/* オプション */
.header-pc__address {
  font-size: 1.6rem;
  line-height: 1.6em;
  padding: 0 1em;
  height: var(--header-pc__height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-pc__address .tel {
  font-family: "Oswald";
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.header-pc__contact {
  color: #fff;
  font-size: 1.6rem;
  background-color: #f96f7f;
  padding: 0 1em;
  height: var(--header-pc__height);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-pc__contact:hover {
  background-color: var(--main-color);
  transition: all 0.3s;
}

.header-pc__contact .icon {
  font-size: 2.6rem;
  margin-right: 8px;
}

.header-pc__language {
  color: #fff;
  font-size: 1.6rem;
  background-color: #cce6ff;
  padding: 0 1em;
  height: var(--header-pc__height);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スクロール時ヘッダーデザイン変更 */
/* #header.HeightMin {
  position: fixed;
  z-index: 999;
  height: var(--header-pc__height);
  background-color: rgba(255, 255, 255, 1);
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-170px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/*=======================================
  nav-pc
=======================================*/
.nav-bg {
  width: 100%;
  background-color: rgba(244, 244, 244, 0.8);
  border-top: 2px solid #999999;
  border-bottom: 2px solid #999999;
}

.nav-lists {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-lists p {
  margin: 0;
  padding: 0;
}

.nav-list {
  flex-grow: 1;
  height: var(--nav-pc__height);
  position: relative;
}

.nav-list .icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-list a {
  font-family: "Zen Maru Gothic";
  font-size: 1.6rem;
  line-height: 1.4em;
  color: var(--link-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s;
  padding: 0 1em;
  text-align: center;
}

/* ディフォルトホバー */
.nav-list a:hover {
  color: #fff;
  background: var(--main-color);
}

/* ホバーアクション */
/* .nav-list a::after {
  background: var(--btn-color);
  content: "";
  width: 100%;
  height: 3px;
  position: absolute;
  left: 50;
  bottom: 0px;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}

.nav-list a:hover::after {
  transform-origin: center top;
  transform: scale(1, 1);
} */

/* メニュー間ライン */
.nav-list:not(:first-child)::before {
  content: "";
  display: block;
  height: 100%;
  border-left: 2px solid #999;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* 表示中のページをマウスオーバー表示 */
.current a {
  color: #fff;
  background: var(--main-color);
}

/*=======================================
  ドロップダウンメニュー 
=======================================*/
/* ドロップダウンメニューにつける矢印 */
.nav-list .arrow::before {
  content: "";
  font-size: 12px;
  font-family: fontAwesome;
  content: "\f078";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-lists {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  position: absolute;
  top: var(--header-pc__height);
  left: 0;
  list-style: none;
  padding: 10px 0;
  margin-top: 5px; /* メニューとの間 */
  white-space: nowrap;
  z-index: 2;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: var(--shadow);
}

.nav-list:hover .dropdown-lists {
  visibility: visible;
  opacity: 1;
}

.dropdown-lists__list a {
  color: var(--link-color);
  font-weight: 700;
  display: flex;
  justify-content: left;
  text-decoration: none;
  padding: 4px 20px;
}

.dropdown-lists__list a::before {
  content: "-";
  font-size: 20px;
  margin-right: 10px;
  font-weight: 700;
  color: var(--main-color);
}

.dropdown-lists__list a:hover {
  color: var(--main-color);
  background: none;
}

.dropdown-lists__list a:hover::after {
  display: none;
  transform: scale(0, 0);
}

@media screen and (max-width: 991px) {
  .header-pc,
  .nav-pc {
    display: none;
  }
}

/*=======================================
  メガメニュー
=======================================*/
/* メガメニュー使用時追加 */
.nav-list__megamenu {
  position: static;
}

.megamenu {
  width: 100%;
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.megamenu-list {
  padding: 20px 0;
  background-color: #f5f7f9;
}

.megamenu-button {
  display: block;
  color: var(--link-color) !important;
  background-color: #fff;
  border-radius: 5px;
  padding: 15px !important;
  display: flex;
  justify-content: left !important;
  position: relative;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.megamenu-button::after {
  content: "";
  font-size: 16px;
  color: #154c9e;
  font-family: fontAwesome;
  content: "\f054";
  position: absolute;
  right: 15px;
}

.megamenu-button:hover {
  background: var(--btn-color) !important;
}

.megamenu-button:hover::after {
  color: #ffffff !important;
}

/* メニューをhoverした時のスタイル */
.nav-list:hover .megamenu {
  opacity: 1;
  visibility: visible;
}

/*=======================================
  header-sp
=======================================*/
.header-sp,
.nav-sp {
  display: none;
}

@media screen and (max-width: 991px) {
  .header-sp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-sp__height);
    background-color: #fff;
    z-index: 100;
    border-bottom: 1px solid #ccc;
  }

  .header-sp .logo {
    flex: 1;
    font-size: 0;
    line-height: 0;
  }

  .header-sp .logo img {
    height: 34px;
    padding-left: 10px;
  }

  .header-sp .toggle {
    font-size: 1.8rem;
    line-height: 60px;
    text-align: center;
    width: 60px;
    display: block;
    cursor: pointer;
    color: var(--main-color);
  }

  /* 追加オプション */
  /* .header-sp .english {
    font-size: 1.8rem;
    background-color: #002c82;
  }

  .header-sp .english a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    text-decoration: none;
  }

  .header-sp .english a:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
  } */

  .header-sp .tel {
    font-size: 1.8rem;
    line-height: 60px;
    text-align: center;
    width: 60px;
    display: block;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  .header-sp .tel a {
    color: var(--main-color);
  }
}

/*=======================================
  nav-sp
=======================================*/
@media screen and (max-width: 991px) {
  .nav-bg {
    width: 100%;
    background-color: rgba(244, 244, 244, 0.8);
    border-top: 0px solid #999999;
    border-bottom: 0px solid #999999;
  }

  .nav-sp {
    display: block;
    position: fixed;
    opacity: 0; /*最背面*/
    z-index: -1; /*はじめは透過0*/
    top: 60px;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding-bottom: 150px;
    overflow: auto;
    transition: all 0.3s;
    -webkit-overflow-scrolling: touch;
    /* transform: translateX(100%); */
  }

  .nav-sp.active {
    /* transform: translateX(0); */
    opacity: 1; /*アクティブで表示*/
    z-index: 100;
  }

  .main-menu {
    font-size: 1.6rem;
    list-style: none;
    padding: 0;
  }

  .main-menu .icon {
    width: 20px;
    color: #045c9c;
    text-align: center;
  }

  .main-menu li {
    position: relative;
  }

  .main-menu li a {
    display: block;
    color: var(--link-color);
    text-decoration: none;
    padding: 15px;
  }

  .main-menu li a:hover {
    color: #fff;
    background: var(--main-color);
  }

  /* 2つめからライン追加 */
  .main-menu li:nth-of-type(n + 2) {
    border-top: 1px solid #ccc;
  }

  .main-menu li:last-child {
    border-bottom: 1px solid #ccc;
  }

  /* .main-menu li a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-right: 10px;
  } */

  /* ドロップダウンメニュー */
  .dropdown-sp {
    position: relative;
  }

  .dropdown-sp::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 10px;
    height: 10px;
    margin: -8px 0 0;
    content: "";
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    transition: all 0.3s;
    transform: rotate(-225deg);
  }

  .main-menu li.active .dropdown-sp::after {
    margin: -5px 0 0;
    transform: rotate(-45deg);
  }

  .dropdown-splists {
    font-size: 1.4rem;
    display: none;
    padding: 0;
    border-top: 1px solid #ccc;
    background-color: #f8f8f8;
  }

  .dropdown-splists li:nth-of-type(n + 2) {
    border-top: none;
  }

  .dropdown-splists li:last-child {
    border-bottom: none;
  }

  .dropdown-splists li a {
    padding: 6px 20px;
  }

  .dropdown-splists a::before {
    content: "-";
    font-size: 20px;
    margin-right: 10px;
    font-weight: 700;
    color: var(--main-color);
  }

  /* .dropdown-splists li a::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 10px;
    height: 10px;
    margin: -8px 0 0;
    content: "";
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    transform: rotate(45deg);
  } */

  /* 追加オプション */
  .nav-sp .m-address {
    font-size: 1.4rem;
    text-align: center;
    padding: 10px;
  }

  .nav-sp .m-tel {
    font-family: "Oswald";
    font-size: 2.4rem;
  }

  .nav-sp .m-icon {
    color: var(--main-color);
    font-size: 2.2rem;
    margin-right: 8px;
  }
}

/*=======================================
swiper - トップスライダー
=======================================*/
.top-swiper {
  width: 100%;
  position: relative;
}

.top-swiper img {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

@media screen and (max-width: 991px) {
  .top-swiper img {
    height: calc(80svh - var(--header-sp__height));
    /* スマホ時100vhの際はsvhを使用 */
  }
}

.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 88.5%;
  border-bottom-left-radius: 45%;
  border-bottom-right-radius: 45%;
  /* background: url(images/slide1.jpg) center/ cover no-repeat; */
  transform: scale(1.25);
  border: #f9dddc solid 30px;
}

@media screen and (max-width: 1024px) {
  .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }

  .swiper-slide img {
    height: 72.5%;
    transform: scale(1.75);
  }
}

@media screen and (max-width: 600px) {
  .swiper-slide img {
    height: 66.5%;
    transform: scale(2);
    border: #f9dddc solid 20px;
  }
}
/*=======================================
swiper - 要素スライダー
=======================================*/
.slider-swiper {
  padding: 15px;
}

/*=======================================
swiper - オプション全体
=======================================*/
.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.slide-caption__img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.slide-caption__img img {
  width: 500px;
  height: auto;
}

@media screen and (max-width: 991px) {
  .slide-caption__img img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background-color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
  padding: 0px;
  margin: 0px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateY(-30%);
  box-shadow: var(--shadow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--btn-color);
  height: 16px;
  width: 16px;
  margin: 60px;
}

/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  font-size: 16px;
  font-family: fontAwesome;
  content: "\f053";
}

/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  font-size: 16px;
  font-family: fontAwesome;
  content: "\f054";
}

/*=======================================
  footer
=======================================*/
/* アクセスマップ */
iframe {
  vertical-align: bottom;
}

footer {
  font-size: clamp(1.4rem, 2.9vw, 1.4rem);
  color: #fff;
  background-color: var(--footer-color);
  padding: 50px 0;
}

.footer-logo img {
  height: 42px;
}

.footer-text {
  /* border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
  margin-bottom: 10px;
}

.footer-text__address {
  margin-bottom: 5px;
}

.footer-pc__address {
  color: #fff;
  font-size: 1.4rem;
  line-height: 2em;
  font-family: "Oswald";
  padding: 0;
}

.footer-pc__address .icon {
  font-size: 2.6rem;
  margin-right: 8px;
}

.footer-pc__address .tel {
  font-size: 2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin: 0;
}

.footer-text__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  padding-top: 10px;
}

.footer-nav {
  font-size: 1.4rem;
  display: flex;
  justify-content: end;
}

.footer-nav ul {
  margin: 0; /* ブラウザ初期marginも消す */
  padding-left: 1em; /* 左余白を消す */
  list-style-position: outside; /* マーカーをテキストの内側に */
  margin-right: 20px;
}

.footer-nav ul li::marker {
  content: "-  ";
  color: #fff;
  font-size: 1em;
  font-weight: bold;
}

.footer-nav ul li a {
  color: #fff;
  position: relative;
  text-decoration: none;
}

.footer-nav ul li a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.footer-nav ul li a:hover::after {
  transform: scale(1, 1);
}

@media screen and (max-width: 991px) {
  .footer-nav {
    justify-content: start;
  }
}

/* ページトップ */
#page-top {
  position: fixed;
  right: 10px;
  bottom: 160px;
  font-size: 18px;
  z-index: 2;
}

#page-top a {
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--btn-color);
  box-shadow: var(--shadow);
  color: #fff;
}

#page-top i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*=======================================
トップページ
=======================================*/
section {
  margin-top: 140px;
}

@media screen and (max-width: 991px) {
  section {
    margin-top: 50px;
  }
}

.main-box {
  border: 2px solid #999;
  background: #fff;
  padding: 20px;
}

/* YICのご案内 */
.img-position {
  position: relative;
}

.img-position img {
  width: 200px;
  position: absolute;
  top: -40px;
  left: 30px;
}

@media screen and (max-width: 991px) {
  .img-position img {
    display: none;
  }
}

.link-box {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #999;
  transition: all 0.3s;
  z-index: 1;
  top: 0;
}

.link-box:hover {
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
  z-index: 10;
  top: -5px;
}

.link-box .txt {
  border-top: 2px solid #999;
  display: flex;
  align-items: stretch;
  color: #fff;
}

.link-box .title {
  flex: 1;
  padding: 0 1em;
  font-family: "Zen Maru Gothic";
  font-size: clamp(2rem, 2.9vw, 2.2rem);
  line-height: 1.2em;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.link-box .subtitle {
  flex: 1;
  padding: 0 1em;
  font-family: "Zen Maru Gothic";
  font-size: clamp(1.8rem, 2.9vw, 1.8rem);
  line-height: 1.2em;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.arrow-box {
  position: relative;
  border-left: 2px solid #999;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;
  min-height: 50px;
  width: 50px;
}

.arrow-box .arrow {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.txt-color__orange {
  background-color: #ffaf2f;
}
.txt-color__red {
  background-color: #ff6475;
}
.txt-color__green {
  background-color: #1abc9c;
}
.txt-color__blue {
  background-color: #3498db;
}
.txt-color__purple {
  background-color: #b565bb;
}
.arrow-color__orange {
  background-color: #f39c12;
}
.arrow-color__red {
  background-color: #e74c3c;
}
.arrow-color__green {
  background-color: #11a184;
}
.arrow-color__blue {
  background-color: #078fbd;
}
.arrow-color__purple {
  background-color: #a456aa;
}

/*=======================================
ジャンボトロン&パンくずリスト
=======================================*/
.jumbotron {
  height: 200px;
  background: url("images/menu_image.jpg");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.jumbotron__tit {
  font-family: "Zen Maru Gothic";
  font-size: clamp(2.4rem, 2.9vw, 3rem);
  font-weight: 700;
  color: #333;
}

.jumbotron__subtit {
  font-size: clamp(1.4rem, 2.9vw, 2rem);
  font-family: "Outfit";
  color: #fff;
}

/* スマホ時ヘッダー分移動 */
@media screen and (max-width: 991px) {
  .jumbotron {
    height: 150px;
  }
}

/* パンくずリスト */
.breadcrumb a {
  color: #9f9f9f;
  transition: 0.5s;
}

.breadcrumb a:hover {
  color: var(--main-color);
}

/*=======================================
新着情報
=======================================*/
.info-box {
  margin: 0;
  padding: 0;
}

.info-list a {
  color: var(--link-color);
  display: block;
  transition: 0.5s;
  padding: 20px 10px;
  border-bottom: 1px solid #ccc;
}

.info-list a:hover {
  background-color: #f2f2f2;
}

.info-list__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.info-list__data .day {
  color: var(--link-color);
  display: inline-block;
  width: 110px;
}

.info-list__data .tag {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  padding: 3px 1em;
  background: #eaeaea;
  width: 160px;
}

.info-list__tit {
  display: table-cell;
}

@media screen and (max-width: 991px) {
  .info-list__data {
    display: block;
    margin-bottom: 5px;
  }
}

/* 投稿詳細エリア */
.info-detail__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.info-detail__data .day {
  font-size: 1.2rem;
  color: var(--link-color);
  display: inline-block;
}

.info-detail__data .tag {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  padding: 2px 1em;
  background: #eaeaea;
}

.info-text {
  padding-bottom: 3em;
  margin-bottom: 3em;
  border-bottom: solid 1px #ccc;
  overflow: hidden;
}

.info-button__arrow {
  color: var(--btn-color);
  border: 1px solid var(--btn-color);
  padding: 0px 20px;
  height: 100%;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

.info-button__arrow:hover {
  color: #fff;
  background-color: var(--btn-color);
}

/* カテゴリー */
.medical {
  color: #fff;
  background: #2aa9a9 !important;
}

.disaster-prevention {
  color: #fff;
  background: #ea6868 !important;
}

.japanese-class {
  color: #fff;
  background: #ba73c6 !important;
}

.hamoria {
  color: #fff;
  background: #006400 !important;
}

.news {
  color: #fff;
  background: #dd8383 !important;
}

.event {
  color: #fff;
  background: #3498db !important;
}

.language-course {
  color: #fff;
  background: #19bc9c !important;
}

/* スクロールバー */
.overflow-auto::-webkit-scrollbar {
  width: 15px;
}

.overflow-auto::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6);
  border-radius: 15px;
}

/*=======================================
お問い合わせフォーム
=======================================*/
.form-txt {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #dadada;
  background-color: #f9f9f9;
}

::placeholder {
  color: #ccc;
}

.requied {
  font-size: 0.8em;
  color: #fff;
}

.form-width {
  width: 100%;
}

div.wpcf7 .wpcf7-spinner {
  display: none !important; /* ローダー非表示 */
}

.table-form th {
  font-weight: normal;
  width: 25%;
  padding: 20px 10px;
  color: #fff;
  background-color: var(--main-color);
  border-bottom: solid 1px #ccc;
}

.table-form td {
  padding: 20px 10px;
  border-bottom: solid 1px #ccc;
  background-color: #f8f9fa;
}

.table-form tr:last-child th,
.table-form tr:last-child td {
  border-bottom: 1px solid #dee2e6;
}

.table-form .last {
  text-align: center;
  border-bottom: solid 2px #fff;
}

@media screen and (max-width: 991px) {
  .table-form th,
  .table-form td {
    text-align: center;
    width: 100%;
    display: block;
  }

  .table-form tr:last-child th {
    border-bottom: 0px;
  }

  div.wpcf7 .wpcf7-spinner {
    display: none !important;
  }
}

input.wpcf7-submit {
  padding: 0.8em !important;
  background-color: var(--btn-color) !important;
  border-radius: 5px !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  width: 40%;
  transition: 0.5s;
  border: none;
}

input.wpcf7-submit:hover {
  background-color: var(--sub-color) !important;
  color: #fff !important;
}

.btn-submit {
  width: 100%;
  text-align: center;
}

/* reCAPTCHA非表示 */
/*.grecaptcha-badge {
  visibility: hidden;
}*/

.grecaptcha-badge {
  bottom: 90px !important;
}

/*=======================================
テンプレート用
=======================================*/
/* 固定バナー */
.banner-box {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 10;
}

.banner {
  font-size: 1.4rem;
  color: #fff;
  padding: 15px;
  background: var(--btn-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px 0 0 10px;
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

.banner span {
  writing-mode: vertical-rl;
  display: inline-block;
}

.banner:hover {
  background: var(--sub-color);
}

@media screen and (max-width: 991px) {
  .banner {
    display: none;
  }
}

/* テキストサイズ */
.fs12 {
  font-size: 1.2rem;
}

.fs14 {
  font-size: 1.4rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs24 {
  font-size: clamp(2rem, 2.9vw, 2.4rem);
}

.fs26 {
  font-size: clamp(2.2rem, 2.9vw, 2.6rem);
}

.fs36 {
  font-size: clamp(3rem, 2.9vw, 3.6rem);
}

.fs42 {
  font-size: clamp(3rem, 2.9vw, 4.2rem);
  line-height: 1.5;
}

/* テキストカラー */
.text-red {
  color: #dc3445;
}

.text-blue {
  color: #0d6efd;
}

.text-yellow {
  color: #ffca47;
}

.text-green {
  color: #1a8754;
}

/* マーカーテキスト */
.text-marker {
  background: -webkit-linear-gradient(transparent 60%, #ffff8e 70%);
  background: linear-gradient(transparent 60%, #ffff8e 70%);
  background: -webkit-linear-gradient(transparent 60%, #ffff8e 60%);
  font-weight: bold;
}

/* リストスタイル */
li::marker {
  color: var(--main-color);
}

/* ボーダーボックス */
.border-box {
  padding: 1em;
  border: 1px solid var(--main-color);
  background-color: #fff;
}

/* フロート */
.float-l {
  float: left;
  margin: 0 10px 0 0;
}

.float-r {
  float: right;
  margin: 0 0 0 10px;
}

.float-c {
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .float-l,
  .float-r,
  .float-c {
    float: none;
    margin: 0 0 10px 0;
    width: 100%;
    height: auto;
  }
}

/* 背景有りボックス */
.box-bg {
  border: 1px solid #ccc;
  padding: 10px;
}

.box-bg__y {
  background: #ffffee; /* 黄色 */
}

.box-bg__b {
  background: #e0ffff; /* 水色 */
}

.box-bg__p {
  background: #fff0f5; /* ピンク */
}

/*=======================================
レスポンシブテーブル
=======================================*/
.table-resp {
  width: 100%;
}

.table-resp th {
  color: #fff;
  font-weight: normal;
  min-width: 200px;
  background-color: var(--main-color);
  padding: 10px;
  border: solid 1px #ccc;
}

.table-resp td {
  padding: 10px;
  border: solid 1px #ccc;
  background-color: #fff;
}

@media screen and (max-width: 991px) {
  .table-resp th,
  .table-resp td {
    display: block;
    border-bottom: none;
  }

  .table-resp tr:last-child {
    border-bottom: solid 1px #ccc;
  }
}

/*=======================================
ラインテーブル
=======================================*/
.table-line {
  width: 100%;
}

.table-line th {
  font-weight: bold;
  min-width: 250px;
  padding: 10px;
  border-bottom: solid 1px #ccc;
}

.table-line td {
  padding: 10px;
  border-bottom: solid 1px #ccc;
}

@media screen and (max-width: 991px) {
  .table-line th,
  .table-line td {
    display: block;
    border-bottom: solid 1px #ccc;
  }
}

/*=======================================
スクロールテーブル
=======================================*/
.table-scroll {
  padding: 0;
  overflow: auto;
}

.table-scroll tr:nth-child(odd) td {
  background: #f8f8f8;
}

.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-scroll th {
  color: #fff;
  text-align: center;
  background-color: var(--main-color);
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
  white-space: nowrap;
}

.table-scroll td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.table-scroll table tr:first-child th,
.table-scroll table tr:first-child td {
  border-top: 1px solid #ccc;
}
.table-scroll table th:first-child,
.table-scroll table td:first-child {
  border-left: 1px solid #ccc;
}
.table-scroll table th.fixed-cell,
.table-scroll table td.fixed-cell {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  min-width: 60px;
  width: 60px;
}

.table-scroll__swipe {
  font-size: 1.4rem;
  text-align: center;
  padding: 10px;
}

.table-scroll__swipe {
  animation: sway 2s linear infinite;
}

@keyframes sway {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(8px);
  }
  50% {
    transform: translate(0);
  }
  75% {
    transform: translate(-8px);
  }
  100% {
    transform: translate(0);
  }
}

@media screen and (max-width: 991px) {
  .h300 {
    height: 300px;
  }

  .table-scroll td {
    white-space: nowrap;
  }
}

/*=======================================
テーブルthサイズ指定
=======================================*/
.th-w300 {
  width: 300px;
}

.th-w400 {
  width: 400px;
}

.th-w500 {
  width: 500px;
}

.th-w600 {
  width: 600px;
}

@media screen and (max-width: 991px) {
  .th-w300,
  .th-w400,
  .th-w500,
  .th-w600 {
    width: 100%;
  }
}

/*=======================================
ボタン
=======================================*/
.button {
  font-family: "Zen Maru Gothic";
  font-weight: bold;
  color: #fff;
  width: auto; /* 横幅を自動調整 */
  max-width: fit-content; /* 内容に合わせて最大幅を調整 */
  display: inline-block;
  padding: 10px 50px;
  background: var(--btn-color);
  border: 1px solid var(--btn-color);
  transition: all 0.5s ease;
  position: relative;
  /* box-shadow: var(--shadow); */
}

.button:hover {
  color: var(--btn-color);
  background: #fff;
}

.button::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 25px;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: transparent transparent #fff #fff;
  transform: rotate(-135deg);
  transition: all 0.5s ease;
}

.button:hover::before {
  border-color: transparent transparent var(--btn-color) var(--btn-color);
  right: 20px;
}

/* 背景無し */
.button__line {
  color: var(--btn-color);
  background: none;
}

.button__line:hover {
  color: #fff;
  background: var(--btn-color);
}

.button__line::before {
  border-color: transparent transparent var(--btn-color) var(--btn-color);
}

.button__line:hover::before {
  border-color: transparent transparent #fff #fff;
}

/* オプション */
.button__rounded {
  border-radius: 10px;
}

.button__circle {
  border-radius: 100px;
}

.button_shadow {
  box-shadow: 4px 4px 0px 0px rgba(204, 204, 204, 1);
}

/*=======================================
タブ
=======================================*/
input[name="tab_button"] {
  display: none;
}

.tabs {
  font-family: "Zen Maru Gothic";
  font-size: clamp(1.8rem, 2.9vw, 2.2rem);
  font-weight: bold;
  display: flex;
  width: 100%;
}

.tabs label {
  text-align: center;
  width: calc(100% / 3);
  padding: 10px 0;
  margin-right: 1px;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .tabs {
    display: flex;
    flex-direction: column;
  }

  .tabs label {
    width: calc(100% / 1);
  }
}

.tabs label:last-child {
  margin-right: 0px;
}

#tab1:checked ~ .tabs .tab-name1 {
  color: #333;
  background-color: #ffffff;
  border-top: 6px solid #dd8383;
  border-right: 2px solid #999;
  border-left: 2px solid #999;
  border-bottom: 1px solid #fff;
}

#tab2:checked ~ .tabs .tab-name2 {
  color: #333;
  background-color: #ffffff;
  border-top: 6px solid #3498db;
  border-right: 2px solid #999;
  border-left: 2px solid #999;
  border-bottom: 1px solid #fff;
}

#tab3:checked ~ .tabs .tab-name3 {
  color: #333;
  background-color: #ffffff;
  border-top: 6px solid #1abc9c;
  border-right: 2px solid #999;
  border-left: 2px solid #999;
  border-bottom: 1px solid #fff;
}

#tab1 ~ .tabs .tab-name1 {
  color: #fff;
  background: #dd8383;
  border: 1px solid #bcbcbc;
  border-bottom: 2px solid #999;
}

#tab2 ~ .tabs .tab-name2 {
  color: #fff;
  background: #3498db;
  border: 1px solid #3498db;
  border-bottom: 2px solid #999;
}

#tab3 ~ .tabs .tab-name3 {
  color: #fff;
  background: #1abc9c;
  border: 1px solid #1abc9c;
  border-bottom: 2px solid #999;
}

#tab1:checked ~ .tabs-contents .tab-contents1,
#tab2:checked ~ .tabs-contents .tab-contents2,
#tab3:checked ~ .tabs-contents .tab-contents3,
#tab4:checked ~ .tabs-contents .tab-contents4 {
  display: block;
  border-left: 2px solid #999;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  background-color: #fff;
}

#tab1 ~ .tabs-contents .tab-contents1,
#tab2 ~ .tabs-contents .tab-contents2,
#tab3 ~ .tabs-contents .tab-contents3,
#tab4 ~ .tabs-contents .tab-contents4 {
  padding: 20px;
  display: none;
}

/*=======================================
WordPress--投稿記事スタイル
=======================================*/
.blog-box h2 {
  font-size: clamp(1.8rem, 2.9vw, 2rem);
  padding: 20px 30px 20px 40px;
  position: relative;
  background: #eef1f2;
  border-radius: 10px;
  margin-bottom: 1em;
}

.blog-box h2::before {
  position: absolute;
  top: 25%;
  left: 20px;
  width: 6px;
  height: 50%;
  content: "";
  opacity: 0.2;
  border-radius: 3px;
  background: var(--sub-color);
}

.blog-box h3 {
  font-size: clamp(1.4rem, 2.9vw, 1.8rem);
  padding: 1rem 0;
  border-bottom: solid 1px var(--main-color);
  margin-bottom: 1em;
}

.mainbox {
  overflow: hidden;
}

/* ブログ記事画像フロート */
img.alignleft {
  float: left;
  margin: 0 10px 0 0;
}

img.alignright {
  float: right;
  margin: 0 0 0 10px;
}

img.aligncenter {
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 991px) {
  img.alignleft,
  img.alignright,
  img.aligncenter {
    float: none;
    margin: 0 0 10px 0;
    width: 100%;
    height: auto;
  }
}

/*=======================================
WordPress--ページナビ
=======================================*/
.pager a {
  color: var(--main-color);
}

.wp-pagenavi {
  /* 全体 */
  margin: 20px 0;
  font-size: 1.4rem;
}

.wp-pagenavi a {
  /* フォント色 */
  color: var(--main-color);
}

.pages {
  /* 左の表記 */
  margin-right: 20px;
}

.wp-pagenavi .current,
.wp-pagenavi a.page {
  /* ボタン */
  font-weight: bold;
  margin: 0 6px 6px 0;
  display: inline-block;
  border: solid 1px #ccc;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
}

.wp-pagenavi .current {
  /* カレント数字 */
  border: none;
  background: var(--main-color);
  color: #fff;
}

.wp-pagenavi a.page:hover {
  /* マウスオーバー */
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
}

.wp-pagenavi .first,
.wp-pagenavi .extend {
  /* ... */
  margin-right: 10px;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  /* 記号の削除 */
  display: none;
}

/*=======================================
WordPressブログ--リストカード表示
=======================================*/
.blog-list-card {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--link-color);
  background-color: #fff;
  overflow: hidden;
  transition: 0.2s ease;
  box-shadow: var(--shadow);
  border-radius: 10px;
  position: relative;
}

.blog-list-card img {
  transition: 0.2s ease;
}

.blog-list-card:hover img {
  /* 範囲内で画像拡大時ON */
  transform: scale(1.1);
}

.blog-list-card__img {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.blog-list-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-card__text {
  padding: 15px;
  width: 100%;
}

.blog-list-card__text .tit {
  font-size: clamp(1.6rem, 2.9vw, 1.8rem);
  font-weight: bold;
  margin-bottom: 5px;
}

.blog-list-card__data {
  display: table-cell;
  white-space: nowrap;
}

.blog-list-card__data .day {
  display: inline-block;
  color: #333;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.blog-list-card__data .tag {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  padding: 3px 15px;
  border-radius: 15px;
  color: #fff;
  background: var(--main-color);
}

/*=======================================
WordPressブログ--詳細表示
=======================================*/
.blog-detail__data {
  display: table-cell;
  white-space: nowrap;
  padding-right: 1em;
}

.blog-detail__data .day {
  font-size: 1.2rem;
  color: var(--link-color);
  display: inline-block;
}

.blog-detail__data .tag {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  padding: 2px 1em;
  border-radius: 15px;
  background: #f8f8f8;
  border: solid 1px #ccc;
}

/*=======================================
WordPressブログ--各テンプレート投稿スタイル
=======================================*/
/* 全般 */
.margin-box {
  height: 100px;
}

.margin-box__line {
  border-bottom: 1px solid #ccc;
  margin: 50px 0;
}
