@charset "UTF-8";
/*
Theme Name: nicopi-var2
Description: にこのポートフォリオサイト用WordPressテーマ
Author: にこ
Version: 1.0
*/
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background-color: #f3f3f3;
  line-height: 1.7;
}

.overflow {
  overflow-x: hidden;
}

.sp {
  display: none;
}

a {
  cursor: pointer;
}

h2 {
  font-weight: 800;
}

.menu {
  display: none;
}

body {
  background-image: linear-gradient(#e5e5e5 1px, transparent 2px), linear-gradient(90deg, #e5e5e5 1px, transparent 2px); /* 縦線 */
  background-size: 30px 30px; /* マスのサイズ */
  /* 背景を固定する設定 */
  background-attachment: fixed;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: #FBE401; /* 背景の黄色 */
  z-index: 9999; /* 一番手前に来るように */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.loading-content {
  text-align: center;
}

.loading-img {
  max-width: 300px; /* イラストのサイズ */
  margin-bottom: 8px;
}

.loading-text {
  font-size: 24px; /* ← ここを大きく（1.2remから2.5remくらいに） */
  font-weight: 900;
}

/* 文字のアニメーション */
.loading-text span {
  display: inline-block;
  -webkit-animation: wave 1.2s infinite ease-in-out;
          animation: wave 1.2s infinite ease-in-out;
  font-weight: bold;
  color: #222222;
}

@-webkit-keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* 震えるアニメーションの定義 */
@-webkit-keyframes poyoyon-jump {
  0%, 15%, 100% {
    transform: scale(1, 1) translateY(0);
  }
  5% {
    transform: scale(1.1, 0.8) translateY(0);
  } /* 踏み込み（少し潰れる） */
  10% {
    transform: scale(0.9, 1.2) translateY(-20px);
  } /* ジャンプ（上に伸びる） */
}
@keyframes poyoyon-jump {
  0%, 15%, 100% {
    transform: scale(1, 1) translateY(0);
  }
  5% {
    transform: scale(1.1, 0.8) translateY(0);
  } /* 踏み込み（少し潰れる） */
  10% {
    transform: scale(0.9, 1.2) translateY(-20px);
  } /* ジャンプ（上に伸びる） */
}
/* 外側のコンテナ */
header {
  position: relative;
}
header .hamburger {
  position: fixed;
  top: 56px;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 999;
}

/* 青い円の部分 */
.hamburger > div:first-child {
  width: 60px; /* 円のサイズ */
  height: 60px;
  background-color: #4BB5DD; /* 画像の青色 */
  border-radius: 50%; /* 正円にする */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px; /* 線と線の間の距離 */
  margin-bottom: 8px; /* 下のテキストとの隙間 */
}

/* 3本の線 */
.hamburger span {
  display: block;
  width: 25px; /* 線の長さ */
  height: 3px; /* 線の太さ */
  background-color: #222222; /* 線の色 */
  border-radius: 5px; /* 線の端を丸める */
  transition: all 0.3s ease; /* アニメーション用 */
}

/* menuテキスト画像 */
.menu-text img {
  width: 56px;
  height: auto;
  display: block;
}

/* --- .activeがついた時（クリック後） --- */
/* 1番目の線を45度傾けて下にずらす */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

/* 2番目の線（真ん中）を透明にして消す */
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

/* 3番目の線を-45度傾けて上にずらす */
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav.menu {
  position: fixed;
  top: 32px;
  right: 1%;
  background-color: #fff;
  z-index: 99;
  padding: 120px;
  border-radius: 30px;
  /* --- スクロールを機能させるために必須 --- */
  max-height: calc(100vh - 64px); /* 画面の高さから上下の余白分を引く */
  overflow-y: auto;
  /* 初期状態：隠す */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  /* 中のリストを中央寄せ */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ハンバーガーボタンが active の時のメニュー状態 */
nav.menu.active {
  opacity: 1;
  visibility: visible;
}

/* リストのスタイル */
nav.menu ul {
  list-style: none;
  text-align: center;
}

nav.menu ul li {
  margin: 20px 0;
  width: 200px;
}

nav.menu ul li a:hover {
  opacity: 0.5;
  transition: all 0.7s;
}

.main_visual {
  position: relative;
}

.top-main {
  width: 100%;
  position: absolute;
  top: 100px;
}
.top-main .logo {
  width: 216px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 32px;
}
.top-main .logo img {
  display: inline-block;
  -webkit-animation: poyoyon-jump 3s infinite ease-in-out;
          animation: poyoyon-jump 3s infinite ease-in-out;
  transform-origin: bottom;
}
.top-main .card-wrapper {
  display: flex;
  width: 100%;
  margin: 0 auto;
  overflow: visible !important;
}
.top-main .card-wrapper img {
  width: 354px;
  padding: 0 24px;
  height: auto;
  flex: 1 1 0;
  min-width: 0; /* flexアイテムが潰れやすくするための設定 */
  transition: all 0.3s ease;
}

.top-bg {
  position: relative;
  width: 98%;
  top: 32px;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: -100;
}

.news-section {
  padding: 200px 0px 120px;
}

.news-container {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  background-color: #1AC661;
  border: 2px solid #222222;
  border-radius: 30px;
  padding: 80px 40px 40px;
  position: relative;
}

/* タイトルを枠線の上に配置 */
.news-title {
  position: absolute;
  top: -50px; /* ボックスの上端から上に飛び出させる */
  left: 32px;
}
.news-title img {
  height: 105px; /* デザインに合わせて調整 */
  width: auto;
}

.news-list li {
  margin: 16px 0;
}
.news-list li:hover {
  opacity: 0.5;
  transition: all 0.7s;
}
.news-list li a {
  display: flex;
}
.news-list li a span {
  margin-right: 12px;
}
.news-list li .date {
  font-weight: 900;
  background: #fff;
  border-radius: 50px;
  padding: 0 8px;
  white-space: nowrap;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

/* 右下のボタン */
.news-btn-wrapper {
  text-align: right;
}

.news-btn {
  display: inline-block;
  background-color: #222;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: al 0.3s;
}

.news-btn:hover {
  -webkit-animation: hop 0.6s;
          animation: hop 0.6s; /* 無限ではなく一度だけ実行 */
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards; /* アニメーション終了後も最後の状態を保持（必要に応じて） */
}

.concept-section {
  overflow: hidden;
  position: relative;
}
.concept-section .concept-slider {
  touch-action: pan-y;
}
.concept-section .concept-slider img {
  margin-right: 24px;
}
.concept-section .concept-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
}
.concept-section .concept-circle {
  margin: 80px 0 160px;
  width: 700px;
  height: 500px;
  background-color: #F4838D;
  border-radius: 50%;
  border: 2px solid #222222;
  align-items: center;
  text-align: center;
  position: relative;
}
.concept-section .concept-circle .concept-text {
  width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.concept-section .concept-circle .concept-text h3 {
  font-size: 40px;
  margin-bottom: 30px;
}
.concept-section .concept-circle .concept-text p {
  line-height: 2;
}
.concept-section .concept-circle .fish {
  width: 380px;
  top: 40px;
  left: -240px;
  position: absolute;
  -webkit-animation: float 4s ease-in-out infinite;
          animation: float 4s ease-in-out infinite;
}
.concept-section .concept-circle .bee {
  position: absolute;
  width: 330px;
  bottom: 0;
  right: -200px;
  -webkit-animation: float 2s ease-in-out infinite;
          animation: float 2s ease-in-out infinite;
}

@-webkit-keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ふわふわ */
@-webkit-keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.online-shop {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  margin-bottom: 160px;
}

.shop-info {
  width: 440px;
  flex-shrink: 0;
  margin-right: 60px;
}

.shop-slider li {
  width: 350px;
  padding: 0 10px;
}

/* --- 共通のボタンデザイン --- */
.btn-black {
  display: inline-block;
  background-color: #222222;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  margin-top: 40px;
  transition: transform 0.3s;
}

.btn-black:hover {
  -webkit-animation: hop 0.6s;
          animation: hop 0.6s; /* 無限ではなく一度だけ実行 */
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards; /* アニメーション終了後も最後の状態を保持（必要に応じて） */
}

@-webkit-keyframes hop {
  0%, 100% {
    transform: translateY(0); /* 元の位置 */
  }
  50% {
    transform: translateY(-10px); /* 上に10px移動 */
  }
}

@keyframes hop {
  0%, 100% {
    transform: translateY(0); /* 元の位置 */
  }
  50% {
    transform: translateY(-10px); /* 上に10px移動 */
  }
}
.event-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 160px;
}
.event-container .event-image {
  width: 500px;
}

.content-title .subtitle {
  font-size: 24px;
  margin: 24px 0;
  font-weight: 900;
}
.content-title .description .description-top {
  margin-bottom: 16px;
}
.content-title .next-event {
  margin-top: 32px;
}
.content-title .next-event dt {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.profile-section {
  margin: 120px auto;
  position: relative;
  padding: 100px 0;
  z-index: 0;
}
.profile-section .concept-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: -1;
  touch-action: pan-y;
}
.profile-section .concept-slider img {
  margin-right: 24px;
}
.profile-section .profile-card {
  margin: 0 auto;
  background-color: #f3f3f3;
  border: solid 2px #222222;
  padding: 80px;
  border-radius: 30px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 40px;
}
.profile-section .profile-card .profile-image {
  width: 200px;
  height: auto;
}
.profile-section .profile-card .profile-info .btn-black {
  margin-top: 16px;
}
.profile-section .profile-card .profile-info .sns-links {
  display: flex;
  gap: 24px;
  font-size: 20px;
}
.profile-section .profile-card .profile-info .sns-links a:hover {
  opacity: 0.5;
  transition: all 0.3s;
}
.profile-section .profile-card .profile-info .profile-name {
  font-size: 32px;
  font-weight: 900;
  margin: 0px 0px 16px;
}

.profile-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(251, 228, 1, 0.6); /* ここに背景色を指定 */
  mix-blend-mode: multiply; /* 背景色だけに乗算をかける */
  z-index: -1;
  pointer-events: none;
}

.line {
  gap: 16px;
  margin-bottom: 0;
}
.line .shop-info {
  width: 370px;
  margin-right: 0;
}
.line .event-image {
  width: 670px;
}

.contact {
  overflow: hidden;
}

.contact-top .contact-card {
  background-color: #4BB5DD;
}

.contact-card {
  position: relative; /* イラストを配置する基準点にします */
  max-width: 95%;
  border: 2px solid #222222;
  border-radius: 30px;
  padding: 80px 0px;
  margin: 160px auto 40px;
  text-align: center;
}
.contact-card .email {
  display: inline-block;
  text-decoration: underline;
  margin: 24px 0;
}
.contact-card .email:hover {
  opacity: 0.5;
  transition: all 0.7s;
}
.contact-card .copyright {
  font-size: 12px;
}

/* イラストの共通設定 */
.deco {
  position: absolute;
  z-index: 10;
}

.butterfly {
  width: 345px;
  left: -40px;
  bottom: -50px;
  -webkit-animation: float 2s ease-in-out infinite;
          animation: float 2s ease-in-out infinite;
}

/* 魚の配置（右上にはみ出す） */
.fish-top {
  width: 430px;
  right: -50px;
  top: -100px;
  -webkit-animation: float 4s ease-in-out infinite;
          animation: float 4s ease-in-out infinite;
}

@media screen and (max-width: 1080px) {
  .news-section {
    padding: 120px 40px;
  }
  .event-container {
    padding: 0 40px;
  }
  .shop-info {
    margin-left: 40px;
  }
}
@media screen and (max-width: 900px) {
  .pc.tab {
    display: none;
  }
  .tab {
    display: block;
  }
  .event-container {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 40px;
    align-items: flex-start;
    gap: 0;
  }
  .event-container .event-image {
    width: 100%;
    margin-top: 40px;
  }
  .event-container .event-content h2 {
    width: 380px;
  }
  .line {
    flex-direction: column;
  }
}
@media screen and (max-width: 770px) {
  body {
    font-size: 14px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .shop-info {
    margin-left: 0px;
  }
  .btn-black.sp {
    display: inline-block;
  }
  .loading-img {
    max-width: 180px;
  }
  .loading-text {
    font-size: 18px;
  }
  .main_visual header .hamburger {
    top: 32px;
    right: 32px;
  }
  .main_visual .top-bg {
    width: 95%;
    top: 16px;
  }
  .main_visual .top-main {
    top: 100px;
  }
  .main_visual .top-main .logo {
    width: 150px;
    margin-bottom: 8px;
  }
  .main_visual .top-main .card-wrapper img {
    padding: 0 16px;
  }
  nav.menu {
    top: 16px;
    right: 16px;
    padding: 0px;
    width: 80%;
  }
  nav.menu ul {
    padding: 120px 0 24px;
  }
  nav.menu ul li {
    margin: 12px 0;
  }
  .news-section {
    padding: 80px 16px 64px;
  }
  .news-section .news-container {
    padding: 40px 16px 16px;
  }
  .news-section .news-container .news-title {
    width: 170px;
    top: -35px;
  }
  .news-section .news-container .news-title img {
    height: 70px; /* デザインに合わせて調整 */
  }
  .news-section .news-container .news-list .date {
    font-size: 12px;
    position: relative;
    top: 5px;
  }
  .news-section .news-container .news-btn-wrapper {
    margin-top: 24px;
  }
  .concept-section .concept-slider img {
    width: 350px;
  }
  .concept-section .concept-container {
    padding: 0 16px;
  }
  .concept-section .concept-container .concept-circle {
    margin-top: 40px;
    margin-bottom: 64px;
    width: 100%;
    height: 500px;
  }
  .concept-section .concept-container .concept-circle .concept-text h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .concept-section .concept-container .concept-circle .concept-text p {
    width: 50%;
    margin: 0 auto;
  }
  .concept-section .concept-container .concept-circle .bee {
    width: 200px;
    top: auto;
    bottom: -80px;
    right: -70px;
  }
  .concept-section .concept-container .concept-circle .fish {
    width: 210px;
    top: -30px;
    left: -40px;
  }
  .online-shop {
    display: block;
    margin-bottom: 64px;
  }
  .online-shop .shop-info {
    padding: 0 16px;
    width: 100%;
    margin-bottom: 32px;
  }
  .online-shop .shop-info .subtitle {
    text-align: center;
    margin: 0px 0 16px;
    font-size: 20px;
  }
  .online-shop .shop-info h2 {
    width: 280px;
    margin: 0 auto;
  }
  .online-shop .btn-black {
    margin: 32px 16px 0;
  }
  .online-shop .center-btn {
    text-align: center;
  }
  .shop-slider li {
    width: 300px;
  }
  .event-container {
    display: block;
    padding: 0 16px;
    margin-bottom: 64px;
  }
  .event-container .event-image {
    width: 100%;
  }
  .event-container .event-content h2 {
    width: 240px;
    margin: 0 auto;
  }
  .event-container .event-content .subtitle {
    margin: 8px 0px 16px;
    text-align: center;
    font-size: 20px;
  }
  .event-container .event-content .event-image {
    margin-top: 24px;
  }
  .event-container .event-content .next-event {
    margin-top: 16px;
  }
  .event-container .event-content .next-event dt {
    font-size: 16px;
  }
  .profile-section {
    margin: 64px 0 0;
    padding: 64px 0;
    text-align: center;
  }
  .profile-section .concept-slider img {
    width: 350px;
  }
  .profile-section .profile-card {
    display: block;
    padding: 24px;
    width: 70%;
  }
  .profile-section .profile-card .profile-info .sns-links {
    justify-content: center;
  }
  .profile-section .profile-card .profile-info .profile-name {
    font-size: 24px;
  }
  .profile-section .profile-card .profile-image {
    margin: 0 auto;
    margin-bottom: 8px;
    width: 160px;
  }
  .line {
    margin-bottom: 0px;
    margin-top: 64px;
  }
  .line .shop-info {
    margin: 0 auto;
  }
  .line .shop-info h2 {
    width: 150px;
    margin: 0 auto;
  }
  .line .shop-info .subtitle {
    margin: 16px 0;
    font-size: 20px;
    text-align: center;
  }
  .line .event-image {
    margin-top: 24px;
  }
  .line .center-btn {
    text-align: center;
  }
  .line .center-btn .btn-black {
    margin-top: 24px;
  }
  .contact-card {
    margin: 64px 16px 24px;
    padding: 40px 0;
  }
  .contact-card .content h2 {
    width: 180px;
    margin: 0 auto;
  }
  .butterfly {
    width: 180px;
    left: -40px;
    bottom: -50px;
    -webkit-animation: float 2s ease-in-out infinite;
            animation: float 2s ease-in-out infinite;
  }
  .fish-top {
    width: 230px;
    right: -70px;
    top: -30px;
    -webkit-animation: float 4s ease-in-out infinite;
            animation: float 4s ease-in-out infinite;
  }
}
/*# sourceMappingURL=style.css.map */