@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200..900&display=swap");

body {
  font-family: "Noto Sans JP", "sans-serif";
  color: #000;
  background-color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .sp {
    display: none !important;
  }
}
/*-------------------------------------------------------------- ヘッダー --------------------------------------------------------------*/

.main-header {
  background-color: #fff;
  padding: 12px 12px 12px 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  position: fixed;
  top: 45px;
  left: 30px;
  right: 30px;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.nav-brand-title {
  display: flex;
  gap: 10px;
  margin: 0;
  text-decoration: none !important;
  color: #000 !important;
}

.nav-brand-title:hover {
  opacity: 0.8;
}

.nav-brand-image {
  width: 56px;
  height: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text p {
  margin: 0;
}

.nav-brand-text p:first-child {
  font-size: 10px;
  font-weight: 400;
  transform: translateX(-0.5em);
}

.nav-brand-text p:last-child {
  font-size: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.2em;
  transform: translateY(0.25em);
}

.nav-brand-text p span {
  font-size: 1.2em;
}

.nav-menu {
  display: flex;
  margin: 0;
}

header .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item-instagram img {
  width: 32px;
  aspect-ratio: 1/1;
  margin: 0 20px 0 10px;
}

.nav-item-contact .nav-link {
  background-image: url(../img/icon-contact.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff !important;
  font-size: 15px;
}

.nav-item-contact .nav-link::before {
  content: "";
  position: absolute;
  right: 0.8em;
  top: 50%;
  width: 7px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.nav-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.5em 0.65em;
  border-radius: 5px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: rgb(123, 100, 154);
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg);
  width: 27px;
  transform-origin: top right;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg);
  width: 27px;
  transform-origin: bottom right;
}

@media screen and (max-width: 1130px) and (min-width: 768px) {
  .main-header {
    padding: 1vw 1vw 1vw 2vw;
    border-radius: 0.6vw;
    top: 2.6vw;
    left: 2.6vw;
    right: 2.6vw;
  }

  .nav-brand-title {
    gap: 0.9vw;
  }

  .nav-brand-image {
    width: 4.7vw;
  }

  .nav-brand-text p:first-child {
    font-size: 0.9vw;
  }

  .nav-brand-text p:last-child {
    font-size: 1.3vw;
  }

  .nav-item-instagram img {
    width: 2.83vw;
    margin: 0 1.8vw 0 0.9vw;
  }

  .nav-item-contact .nav-link {
    width: 17vw;
    height: 4.2vw;
    font-size: 1.3vw;
  }

  .nav-item-contact .nav-link::before {
    width: 0.62vw;
    height: 0.62vw;
  }

  .nav-link {
    border-radius: 0.44vw;
    font-size: 1.5vw;
  }

  .bar {
    width: 0.22vw;
  }
}

@media (max-width: 767px) {
  .main-content {
    padding-top: 62px;
  }

  .main-header {
    top: 0;
    left: 0px;
    right: 0px;
    border-radius: 0;
    padding-right: 24px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    z-index: 999;
  }

  .nav-menu.active {
    padding: 25px 0 15px;
    max-height: unset;
  }
   header .nav-item {
    justify-content: flex-start;
    width: 88% !important;
    max-width: 88% !important;
    margin: 0 auto;
    padding: 18px 15px 11px;
    border-bottom: 1px solid #6894d1;
    position: relative;
  }
  header .nav-item::before {
    content: "";
    position: absolute;
    top: calc(50% + 7px);
    right: 15px;
    width: 0.7em;
    height: 0.7em;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .nav-item-instagram {
    order: 1;
    border-bottom: none !important;
  }
  .nav-item-instagram::before {
    display: none;
  }
  .nav-item-contact {
    border-bottom: none !important;
  }
  .nav-item-contact::before {
    border-color: #fff !important;
  }
  .nav-item-contact {
    padding: 0 !important;
    margin-top: 40px !important;
    width: 100%;
  }
  .nav-item-contact .nav-link {
    background-image: none;
    background: linear-gradient(to right, #5a96d5, #a474d7);
    justify-content: flex-start;
    padding-left: 27px;
    width: 100%;
    height: 60px;
  }
  .nav-item-contact .nav-link::before {
    right: 15px;
    top: 50%;
    width: 0.7em;
    height: 0.7em;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
  .nav-item-instagram {
    padding-left: 0 !important;
  }

  .nav-item-instagram .nav-link {
    padding-left: 0 !important;
  }

  .nav-item-instagram .nav-link img {
    width: 38px;
    height: 38px;
    margin: 0 !important;
    margin-left: 0.25em !important;
  }
}

/*-------------------------------------------------------------- フッター --------------------------------------------------------------*/
.main-footer {
  background-image: url(../img/footer.webp);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: white;
  padding: 25px 0;
}

.main-footer .container {
  width: 90%;
}

.footer-top-title {
  font-size: 26px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 20px;
}

.footer-content .container {
  display: flex;
  justify-content: space-between;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 22px;
  margin-bottom: 0;
}

.footer-section p {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.footer-link .container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  width: 90%;
}

.footer-link-item {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 55px;
}

@media screen and (max-width: 1070px) and (min-width: 768px) {
  .footer-top-title {
    font-size: 2.8vw;
  }

  .footer-section h3 {
    font-size: 2vw;
  }

  .footer-section p {
    font-size: 2vw;
  }

  .footer-link-item {
    font-size: 2vw;
  }
}

@media (max-width: 767px) {
  footer.main-footer {
    background-image: url(../img/footer-sp.webp);
  }
  .footer-content .container {
    flex-direction: column;
  }

  .footer-link .container {
    flex-direction: column;
  }

  .footer-link-item {
    padding: 23px 4%;
    border-bottom: 1px solid #fff;
    position: relative;
    font-size: 16px;
  }

  .footer-link-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .main-footer .container {
    width: 92% !important;
  }
  .footer-top-title {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-section h3 {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0;
  }
  .footer-link-item:first-child {
    border-top: 1px solid #fff;
  }
  .footer-link .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-bottom {
    margin-top: 40px;
  }
  .footer-bottom p {
    font-size: 10px;
  }
  .footer-section:not(:last-of-type) {
    margin-bottom: 5px;
  }
  .footer-section p {
    font-size: 13px;
    line-height: 1.8;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.about picture.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.about picture.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.about picture.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.about picture.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 767px) {
  .about picture.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
  }

  .about picture.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .about picture.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
  }

  .about picture.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-clockwise {
  position: relative;
  overflow: hidden;
  -webkit-mask: conic-gradient(from 280deg, black 0%, transparent 0%);
  mask: conic-gradient(from 280deg, black 0%, transparent 0%);
  --percentage: 0%;
}

.fade-in-counterclockwise {
  position: relative;
  overflow: hidden;
  -webkit-mask: conic-gradient(from 150deg, black 0%, transparent 0%);
  mask: conic-gradient(from 150deg, black 0%, transparent 0%);
  --percentage: 0%;
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.topics .container .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.topics .container .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding-top: 125px;
}

.hero-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: #6894d1;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-weight: 300;
  margin-top: 0px;
  margin-bottom: 45px;
}

.hero-image {
  width: 100%;
}

@media (max-width: 1200px) and (min-width: 768px) {
  .hero-content {
    max-width: 92%;
    width: 92vw;
    padding-top: 10.4vw;
  }
  
  .hero-title {
    font-size: 4vw;
    margin-bottom: 0.8vw;
  }
  
  .hero-subtitle {
    font-size: 2vw;
    margin-bottom: 3.75vw;
  }
}

@media (max-width: 767px) {
  .hero-content {
    flex-direction: column;
    padding-top: 0;
  }
  .hero-title {
    font-size: 7.3vw;
    margin-bottom: 1vw;
    margin-top: 4.5vw;
  }
  .hero-subtitle {
    font-size: 4vw;
    margin-bottom: 6vw;
  }
}

