@charset "utf-8";

/* -------------------------------------------------
#　tabs
--------------------------------------------------*/
ul.index_tab,
ul.index_tab li {
  margin-inline-start: 0;
}

.index_tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-start: 30px;
}

.index_tab li {
  display: grid;
  place-items: center;
  height: 50px;
  padding: 5px;
  cursor: pointer;
  width: calc(100% / 3);
  background-color: #fff;
  color: #182033;
  transition: all 0.5s ease;
  font-size: 16px;
}

.index_tab li.is-active {
  color: #fff;
  background-color: #003a57;
}

.index_tab li {
  border-right: solid 1px #003a57;
}

.index_tab li:last-of-type {
  border-right: none;
}

@media screen and (max-width: 767px) {
  .index_tab li {
    width: calc(100% / 3);
    flex-wrap: wrap;
    font-size: 14px;
  }
}

/* -------------------------------------------------
#　panel
--------------------------------------------------*/
.panel {
  display: none;
}

.panel.is-show {
  display: block;
}

.panel-group {
  position: relative;
}

@media screen and (max-width: 767px) {
  .panel {
    display: none;
    padding: 10px;
  }

  .panel.is-show {
    display: block;
  }
}

/* -------------------------------------------------
#　InstagramLogo
--------------------------------------------------*/
.InstagramLogo {
  position: relative;
  border-radius: 100%;
  width: 48px;
  height: 48px;
  background: #003a57;
  font-size: 100%;
  margin-block-start: 30px;
}

.InstagramLogo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 30px;
  transform: translate(-50%, -50%);
}

.InstagramLogo span {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(1.5em, -50%);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.InstagramLogo span small {
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  .InstagramLogo {
    margin-inline-start: 10px;
  }

  .InstagramLogo span {
    font-size: 11px;
  }
}

/* -------------------------------------------------
#　InstagramList
--------------------------------------------------*/
.InstagramList {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-block: 30px 0;
  padding-block-end: 10px;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.InstagramList .item {
  width: calc(100% / 4);
  flex: 0 0 auto;
  scroll-snap-align: center;
  list-style: none;
}

.InstagramList .item iframe {
  min-width: 0 !important;
  width: 100% !important;
}

.InstagramList .item .txtBox {
  height: 70px;
}

.InstagramList .item .txtBox .tag {
  width: 100px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #003a57;
  border-radius: 1px;
  color: #fff;
  font-size: 13px;
  padding: 10px;
}

.InstagramList .item .txtBox .titArea {
  display: flex;
  justify-content: space-between;
}

.InstagramList .item .txtBox .tit {
  width: calc(100% - 110px);
  font-size: 14px;
  line-height: 1.5;
}

.InstagramList .item .txtBox .txt {
  font-size: 14px;
  margin-top: 5px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .InstagramList {
    flex-direction: row;
  }
  .InstagramList .item {
    width: calc(100% / 1) !important;
  }

  .panel-group::before {
    content: "左右にスクロールしてご覧ください";
    position: absolute;
    top: 10px;
    left: 0.65rem;
    font-size: 11px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .panel-group.scrolled::before {
    opacity: 0;
  }
}

/* -------------------------------------------------
#　InstagramLoad
--------------------------------------------------*/
.InstagramLoad {
  display: grid;
  place-items: center;
  margin-block-start: 20px;
}

.InstagramLoad_follow-btn {
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  text-align: center;
}

.InstagramLoad_follow-btn span {
  padding-inline-start: 10px;
}

.InstagramLoad_follow-btn a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 5px;
  background: #003a57;
  color: #fff;
}

.InstagramLoad svg:not(:root).svg-inline--fa {
  width: 30px;
  height: 30px;
  display: inline-block;
}

/*------------------------------------------------------------
# InstagramBtn
------------------------------------------------------------*/
.InstagramBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: #003a57;
  margin-block-start: 20px;
  border-radius: 5px;
}

.InstagramBtn_txt {
  flex-shrink: 1;
  width: 100%;
  font-size: 16px;
}

.InstagramBtn_icon {
  position: absolute;
  top: 5%;
  right: 0;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  aspect-ratio: 1;
  overflow: hidden;
}

@media (any-hover: hover) {
  .InstagramBtn {
    transition: background-color 0.2s;
  }

  .InstagramBtn_icon {
    transition: transform 0.2s;
  }

  .InstagramBtn:hover .InstagramBtn_icon {
    transform: translateX(4px);
  }
}

.iconArrowLeft {
  rotate: 180deg;
}