@charset "utf-8";

.iq .lp_mv {
  width: 100%;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.iq .lp_mv img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
 
.iq .menu_wrap {
  background-color: #FCCC00;
  margin: 0 calc(50% - 50vw);
  width: 100%;
  height: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iq .menu {
  width: 900px;
  display: flex;
  justify-content: center;
}

.iq .menu_btn {
  display: inline-block;
  margin: 22.5px;
}

.iq .menu_btn:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.iq html {
  scroll-behavior: smooth;
}

.iq .profile_wrap {
  background-color: #FFFCF0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding-bottom: 100px;
  text-align: center;
}

.iq .profile {
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}

.iq .headline-image {
  margin-top: 70px;
  margin-bottom: 40px;
  text-align: center;
}

.iq .headline-image-2 {
  margin-top: 80px;
  margin-bottom: 0px;
}

.iq .profile_iq {
  width: 1100px;
  height: 1020px;
  background-color: #FFF;
  margin: 0 auto;
  border: 5px solid #FCCC00;
  border-radius: 14px;
  padding-bottom: 20px;
  height: auto;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.iq .profile-title {
  font-size: 28px;
  line-height: 1.6;
  font-weight: bold;
  color: #534741;
  display: block;
  margin-top: 60px;
  margin-bottom: 40px;
}

.iq .profile-item {
  font-size: 18px;
  line-height: 2;
  color: #534741;
  margin-top: 10px;
  margin-bottom: 0;
}

.iq .iq-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.iq .iq-tab {
  background-color: #f5f0e8;
  border: none;
  border-radius: 30px;
  padding: 10px 40px;
  font-size: 1.25em;
  color: #7a6b63;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.iq .iq-tab.active {
  background-color: #fe6b11;
  color: #ffffff;
}

.iq .iq-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 12px;
  background-color: #fe6b11;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.iq .iq-tab:hover:not(.active) {
  background-color: #ffeade;
  color: #534741;
}

.iq .hidden {
  display: none;
}

.iq .iq-carousel {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.iq .carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.iq .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.iq .carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0 auto;
}

.iq .carousel-slide img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.iq .carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.iq .carousel-button img {
  width: 40px;
  height: auto;
  display: block;
}

.iq .carousel-button.prev {
  left: 10px;
}

.iq .carousel-button.next {
  right: 10px;
}

.iq .carousel-button:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.iq .profile_text {
  display: block;
  font-size: 18px;
  line-height: 1;
  margin-top: 30px;
  margin-bottom: 20px;
}

.iq .accordion {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px;
}

.iq .accordion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iq .accordion-button {
  display: flex;
  align-items: center;
  border: none;
  background: url('img/accordion_off.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
  margin: 0 auto; 
  padding: 0;
  width: auto;
  transition: background-image 0.3s ease, transform 0.3s ease;
}

.iq .accordion-item.open .accordion-button {
  background-image: url('img/accordion_on.png');
}

.iq .accordion-button:hover {
  transform: scale(1.05);
}

.iq .accordion-button img {
  align-items: center;
  margin: 0 auto;
  display: block;
}

.iq .profile_iq .accordion .accordion-content {
  display: none;
  padding: 30px;
}

.iq .profile_iq .accordion .accordion-button + .accordion-content {
  margin-top: 40px;
}

.iq .profile_family {
  width: 100%;
  max-width: 1100px;
  background-color: #FFF;
  margin: 70px auto 0 auto;
  border: 5px solid #FCCC00;
  border-radius: 14px;
  padding-bottom: 40px;
  height: auto;
  overflow: hidden;
}

.iq .character-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.iq .character-tabs .tab {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.iq .character-tabs .tab img {
  width: 100px;
  height: auto;
  transition: transform 0.2s ease;
}

.iq .character-tabs .tab:hover img {
  transform: scale(1.05);
}

.iq .carousel-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.iq .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.iq .carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iq .family-carousel {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width: 800px) {
  .iq .family-carousel .carousel-button.prev {
    left: 20px;
  }
  .iq .family-carousel .carousel-button.next {
    right: 20px;
  }
}

.iq section {
  margin-bottom: 50px;
  text-align: center;
}

.iq .download image-grid {
  font-size: 1.5em;
  margin-bottom: 50px;
  color: #534741;
  text-align: center;
}

.iq .download h2 {
  font-size: 1.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #534741;
}

.iq .download h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #FCCC00;
  margin: 20px auto 0;
}

.iq .download {
  text-align: center;
  margin: 0 auto;
}

.iq .image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.iq .image-grid a {
  display: block;
  width: 150px;
  overflow: hidden;
  transition: transform 0.2s;
}

.iq .image-grid a:hover {
  transform: scale(1.05);
}

.iq .image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.iq .image-grid.wide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.iq .image-grid.wide a {
  width: 280px;
  display: block;
  overflow: hidden;
  transition: transform 0.2s;
  overflow: visible;
}

.iq .image-grid.wide img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.iq .virtual-backgrounds {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 30px;
}

.iq .virtual-backgrounds a {
  width: 900px;
  transition: transform 0.2s;
}

.iq .virtual-backgrounds img {
  width: 100%;
  height: auto;
}

.iq .virtual-backgrounds a:hover {
  transform: scale(1.05);
}

  .iq .image-grid.nurie-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 20px;
    width: fit-content; 
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
  }

  .iq .image-grid.nurie-grid a {
    display: block;
    text-align: center;
    width: 100%;
    transition: transform 0.2s;
    overflow: visible;
  }

  .iq .image-grid.nurie-grid img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
  }

  .iq .image-grid.nurie-grid a:hover img {
    transform: scale(1.05);
  }

.iq .sns-section {
  text-align: center;
  margin-bottom: 40px;
}

.iq .sns-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 8列 */
  gap: 20px;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.iq .sns-grid a {
  display: block;
  transition: transform 0.2s;
}

.iq .sns-grid a:hover {
  transform: scale(1.05);
}

.iq .sns-grid img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: block;
}

.iq .sns {
  text-align: center;
  margin: 0 auto;
}

.iq .sns-section {
  text-align: center;
  padding: 40px 20px;
}

.iq .sns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px;
  max-width: calc(5 * 200px + 4 * 20px);
  margin: 0 auto;
}

.iq .sns-grid a {
  display: block;
  transition: transform 0.2s ease;
}

.iq .sns-grid a:hover {
  transform: scale(1.05);
}

.iq .sns-grid img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: block;
}

.iq .sns-account {
  display: flex;
  gap: 25px;
  justify-content: center;
  line-height: 0; /* 隙間対策 */
  margin-top: 40px;
}

.iq .sns-account a {
  display: inline-block;
  transition: transform 0.2s;
}

.iq .sns-account a:hover {
  transform: scale(1.05);
}

.iq .sns-account img {
  display: block;
  height: auto;
  border: none;
}

.iq .sns h2 {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #534741;
}

.iq .sns h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #FCCC00;
  margin: 20px auto 0;
}

.iq .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  .iq .sns .card-container {
    margin-bottom: 180px;
  }
}

.iq .card-link {
  text-decoration: none;
  display: block;
  width: 540px;
  margin-bottom: 40px;
}

.iq .card {
  background-color: #00B900;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  color: #fff;
  transition: transform 0.3s ease;
}

.iq .card-link:hover .card {
  transform: scale(1.02);
}

.iq .thumbnail {
  width: 112px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.iq .card-text {
  text-align: left;
  flex-grow: 1;
  line-height: 1.4;
}

.iq .card-text h3 {
  margin: 0 0 2px;
  color: #fff;
}

.iq .card-text p {
  margin: 0;
  font-size: 1em;
  color: #fff;
}

.iq .external-icon {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  flex-shrink: 0;
}

.iq .footer {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
}

.iq .footer-city {
  width: 100%;
  background-color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.iq .footer-city img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
}

.iq .footer-grass-wrapper {
  width: 100%;
  background-color: #39B54A;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.iq .footer-grass-iq {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
}

.iq .footer-sp-img {
  display: none;
}

.iq #back-to-top {
  position: fixed;
  bottom: 150px;
  right: 120px;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1000;
}

.iq #back-to-top:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.site-float.js-float,
.nav-scrolltop.js-scrollTop {
  display: none !important;
}
body {
  padding-bottom: 0 !important;
}