body {
  font-family: 'Kiwi Maru', serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;  /* ← これ大事 */
}





/* コピーライト（メニュー・フッター共通） */
.copyright {
  font-size: 12px; /* お好みのサイズに調整 */
  color: #5a3e36;
  text-align: center;
  white-space: nowrap;
  padding-bottom: 10px;
}

/* 背景 */
.background {
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ロゴ */
.logo {
  margin: 0;
  font-size: 28px;
  color: #5a3e36;
}

/* ハンバーガーメニューの見た目 */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 35px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger .bar {
  height: 4px;
  width: 100%;
  background-color: rgba(255, 97, 123, 0.6);
  border-radius: 2px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.hamburger:hover .bar,
.hamburger.clicked .bar {
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 97, 123, 0.6);
}

/* メニュー全体 */
.menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: #ffe6ed;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 0 20px;
}

/* メニュー内の上下分け用ラッパー */
.menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* メニューリスト */
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.menu li {
  margin: 30px 0;
}

.menu a {
  text-decoration: none;
  color: #5a3e36;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 8px;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(255, 192, 203, 0.6);
  transform: scale(1.05);
}


/* メニューが開いたとき */
.menu.active {
  right: 0;
}

/* ヘッダー */
header {
  position: relative;
  z-index: 1200;
}

/* フッター */
.footer {
  background-color: #ffe6ed;
  text-align: center;
  padding: 30px 10px 20px;
  border-top: 2px solid #ffb6c1;
  margin-top: 60px;
  font-family: 'Kiwi Maru', serif;
  width: 100%;
  box-sizing: border-box;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-menu li a {
  color: #5a3e36;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .logo {
    font-size: 24px;
  }

  .menu {
    width: 200px;
  }

  .menu a {
    font-size: 16px;
    padding: 8px 16px;
  }

  .hamburger {
    display: flex;
  }
}


/* プロフィール */
.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #5a3e36;
  text-align: center;
}

/* 白枠コンテナ */
.profile-container {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #fff;
  padding: 40px;
  max-width: 90%;
  width: 600px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.profile-container {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-image {
  width: 250px;
  height:250px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow: 0 0 8px #aeaeae;
}

.profile-text {
  max-width: 400px;
  color: #515151;
}

.profile-name {
  font-size: 20px;
  color: #5a3e36;
  margin-top: 0;
  margin-bottom: 10px;
}

html, body {
  overscroll-behavior-x: none;
}



.top-decoration {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100vw; /* ← 画面幅超え防止 */
}
 .background {
  overflow-x: hidden;
}


.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 縦4列 */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.caption {
  margin-top: 8px;
  font-size: 14px;
  color: #5a3e36;
}

/* モーダル拡大 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

#close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* レスポンシブで列数を変える */
@media screen and (max-width: 1024px) {
  .works-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .works-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item.large {
  grid-column: span 4; /* 4列分使う */
}

.gallery-item.large img {
  max-height: 400px; /* 通常より大きく */
}

@media screen and (max-width: 1024px) {
  .gallery-item.large {
    grid-column: span 3;
  }
}

@media screen and (max-width: 768px) {
  .gallery-item.large {
    grid-column: span 2;
  }
}

@media screen and (max-width: 480px) {
  .gallery-item.large {
    grid-column: span 1;
  }
}


.contact-form {
  max-width: 500px;
  margin: 60px auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(102, 88, 88, 0.1);
  text-align: left; /* ←中央揃えをやめて左揃えにする */
}

.contact-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #5a3e36;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  box-sizing: border-box; /* ← これで padding も含めて幅を正しく計算 */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Kiwi Maru', serif;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form button {
  background-color: #ff7f9c;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.contact-form button:hover {
  background-color: #ff5d80;
}

.form-note {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
  text-align: center;
}

/* お問い合わせタイトルの色をピンクに */
.contact-title {
  color: #5a3e36;
  text-align: center;
  display: block;
  width: 100%;
}









.floating-image {
  position: fixed;
  top: 100px; /* ← 上の波画像の下に合わせる（高さは画像に合わせて調整） */
  width: 480px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  animation: fall 12s linear forwards;
}

/* 落ちる */
@keyframes fall {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(120vh);
    opacity: 1; /* ← ここを1にすれば消えない */
  }
}


.title-box {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #fff;
  padding: 80px;
  max-width: 90%;
  width: 600px;
  margin: 60px auto;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  font-family: 'Kiwi Maru', serif;
  color: #5a3e36;
  border-radius: 12px;
}

.title-box h2 {
  margin: 0;
  font-size: 30px;
}

.falling-image {
  z-index: 0; /* フッターより下にする */
}
.footer {
  z-index: 10;
  position: relative;
}
