@charset "UTF-8";
* {
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: var(--wp--preset--font-family--system-sans-jp), sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  body,
  button,
  input,
  select,
  optgroup,
  textarea {
    font-size: 14px;
  }
}

a {
  color: #0099D9;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

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

br[class^=br-] {
  display: none;
}

@media (min-width: 600px) {
  br.br-sm {
    display: inline;
  }
}
@media (min-width: 800px) {
  br.br-md {
    display: inline;
  }
}
@media (min-width: 1240px) {
  br.br-lg {
    display: inline;
  }
}
@media (max-width: 600px) {
  br.br-only-sm {
    display: inline;
  }
}
.img-sm-only,
.img-md-only,
.img-lg-only {
  display: none;
}

@media (max-width: 600px) {
  .img-sm-only {
    display: block;
  }
}
@media (min-width: 600px) {
  .img-sm-up {
    display: block;
  }
}
@media (max-width: 800px) {
  .img-md-only {
    display: block;
  }
}
@media (min-width: 800px) {
  .img-md-up {
    display: block;
  }
}
@media (min-width: 1240px) {
  .img-lg-up {
    display: block;
  }
}
p {
  margin: 0.5em auto 1em;
}
p:first-child {
  margin-top: 0;
}

.entry-content.front-entry {
  margin-top: 0;
}

/*****SLIDER*****/
.fv-area {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #feffe2 0%, #cbeffe 100%);
}

.swiper-slider-1 {
  overflow: visible !important;
  width: 100%;
  padding: 40px 0;
}
.swiper-slider-1 .thumb {
  height: 640px;
  padding: 1em;
  background-color: #edf6f9;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}
.swiper-slider-1 .thumb .thumb-inner {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
}
@media (max-width: 600px) {
  .swiper-slider-1 .thumb {
    height: 360px;
  }
}
.swiper-slider-1 {
  /* 各スライドの基本設定 */
}
.swiper-slider-1 .swiper-slide {
  width: 70vw; /* 任意の幅（例: 画面幅の70%） */
  max-width: 920px;
  transition: transform 0.3s ease, z-index 0.3s ease;
  transform: scale(0.7); /* デフォルト（左右にある状態）は70%のサイズ */
  z-index: 1; /* 左右にあるときは手前に来ないようにする */
  opacity: 0.7;
  position: relative;
}
.swiper-slider-1 .swiper-slide .title {
  opacity: 0;
  height: 0;
  overflow: hidden;
  background: white;
  max-width: 90%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  margin: -1.5em auto 0;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.swiper-slider-1 .swiper-slide .title::after {
  content: "";
  display: block;
  width: 30px;
  background-color: #0099D9;
  background-image: url(/wp/wp-content/themes/incloop/images/icon-tri.svg);
  background-position: center;
  background-repeat: no-repeat;
}
.swiper-slider-1 .swiper-slide .title .inner {
  padding: 1em;
  flex-grow: 1;
}
.swiper-slider-1 .swiper-slide .title .inner .upper {
  display: flex;
  justify-content: space-between;
}
.swiper-slider-1 .swiper-slide .title .inner .maintitle {
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 0.5em;
}
.swiper-slider-1 .swiper-slide .title .inner .maintitle a {
  text-decoration: none;
  color: black;
}
.swiper-slider-1 .swiper-slide .title .inner .maintitle a::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 100%;
}
.swiper-slider-1 .swiper-slide:hover .thumb, .swiper-slider-1 .swiper-slide:hover .title {
  background-color: #0099D9;
  color: white;
}
.swiper-slider-1 .swiper-slide:hover .thumb a, .swiper-slider-1 .swiper-slide:hover .title a {
  color: white;
}
.swiper-slider-1 {
  /* センターにくるスライド（Swiperが自動付与するクラス） */
}
.swiper-slider-1 .swiper-slide-active {
  transform: scale(1); /* センターは原寸（100%） */
  z-index: 10; /* センターのスライドを一番手前にする（左右が後ろに回り込む） */
  opacity: 1;
}
.swiper-slider-1 .swiper-slide-active .thumb {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.swiper-slider-1 .swiper-slide-active .title {
  opacity: 1;
  height: auto;
  overflow: visible;
}

.swiper-button-prev-1,
.swiper-button-next-1 {
  --swiper-navigation-top-offset: 80%;
  --swiper-navigation-sides-offset: 50px;
  --swiper-navigation-color: white;
  --swiper-navigation-size: 26px;
  background-color: #0099D9;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 800px) {
  .swiper-button-prev-1,
  .swiper-button-next-1 {
    width: 26px;
    height: 26px;
    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-sides-offset: 0;
    --swiper-navigation-size: 16px;
  }
}

.swiper-pagination {
  position: relative !important;
  --swiper-pagination-bottom: auto;
  margin: 1em auto;
}

@media (max-width: 800px) {
  .swiper-slider-1 .swiper-slide {
    width: 100%;
    transform: none !important;
    z-index: auto !important;
  }
}
/*****バナーエリア*****/
@media (max-width: 800px) {
  .gap-control {
    gap: 0 !important;
  }
}

/*****お知らせ*****/
.new-postinfo-area {
  display: flex;
  gap: 1em;
}
.new-postinfo-area .title-area {
  width: 25%;
}
.new-postinfo-area .title-area h2 {
  background: none !important;
  border: none !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}
.new-postinfo-area .title-area .btn a {
  text-decoration: none;
  display: inline-block;
  padding: 0.5em 2em;
  border-radius: 2em;
  background-color: #0099D9;
  color: white;
  transition: all 0.3s ease;
  margin: 1em 0;
  font-size: 14px;
}
.new-postinfo-area .title-area .btn a:hover {
  background-color: black;
}
.new-postinfo-area .post-area {
  flex-grow: 1;
}
.new-postinfo-area .post-area article {
  border-bottom: 1px solid #ccc;
}
.new-postinfo-area .post-area article h3 {
  border: none !important;
  font-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  display: flex;
  position: relative;
}
.new-postinfo-area .post-area article h3 a {
  color: #404040;
  text-decoration: none !important;
  flex-grow: 1;
  padding: 0.5em 0;
}
.new-postinfo-area .post-area article h3 a:after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: #000;
  -webkit-mask-image: url(/wp/wp-content/themes/incloop/images/icon-tri.svg);
  mask-image: url(/wp/wp-content/themes/incloop/images/icon-tri.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.new-postinfo-area .post-area article h3 a:hover {
  background-color: #edf6f9;
}
@media (max-width: 600px) {
  .new-postinfo-area {
    flex-direction: column;
  }
  .new-postinfo-area .title-area {
    width: 100%;
  }
  .new-postinfo-area .title-area h2 {
    font-size: 1.5rem !important;
  }
}