@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Noto+Sans+JP&display=swap');

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #0b0b0b;
  color: #fff;
}

.header {
  background: #111;
  color: #fff;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.header a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.header a:hover {
  color: #d4af37;
}

.hero {
  position: relative;
  background: url('/images/hero.jpeg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  display: flex;
  flex-direction: column; /* 縦並びにする */
  align-items: center;
  gap: 1rem; /* h1 と p の間隔 */
}

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  z-index: 1;
  margin: 0;
}

#hero p {
  font-size: 1.5rem;
  z-index: 1;
}

.about, .message, .services, .contact {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #d4af37;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.0rem;
  color: #d4af37;
  text-align: center;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #111;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid #333;
}

th {
  text-align: left;
  color: #d4af37;
}

/*ul li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 1rem;
  border-radius: 5px;
  border: none;
  width: 100%;
}

button {
  padding: 1rem;
  border: 2px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

button:hover {
  background: #d4af37;
  color: #111;
}

footer {
  background: #111;
  text-align: center;
  padding: 2rem 1rem;
  color: #888;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 2rem;
  }
  .header ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ロゴ */
.logo img {
  height: 50px;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

/* クリック時のアニメーション：バツ印 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* メニュー（右スライドアニメ） */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: auto-fit;
  height: 100%;
  background: #111;
  list-style: none;
  margin: 0;
  padding-top: 4rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  transition: right 0.3s ease;
  z-index: 105;
}

.menu.open {
  right: 0;
}

.menu li {
  padding: 1rem;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

/* PCではハンバーガー非表示、メニュー横並び */
@media (min-width: 769px) {
  .hamburger { display: none; }
  .menu {
    position: static;
    display: flex;
    height: auto;
    background: transparent;
    box-shadow: none;
    right: 0;
    flex-direction: row;
    align-items: center;
  }
  .menu li {
    padding: 0;
    margin-left: 1.5rem;
  }
}

/* モバイルではハンバーガー表示 */
@media (max-width: 768px) {
  .hamburger { display: block; }
}

/* Lineの友達追加 */
.scale-xlarge {
  transform: scale(2.0);
  transform-origin: top left; /* 左上を基準に拡大 */
  display: inline-block;
  margin-left: -80px; /* ← ここで位置補正 */
}

.scale-large {
  transform: scale(1.5);
  transform-origin: bottom center; /* 中央下を基準に拡大 */
  display: inline-block;
}

.scale-large-left {
  transform: scale(1.5);
  transform-origin: top left; /* 左上を基準に拡大 */
  display: inline-block;
  margin-left: -40px; /* ← ここで位置補正 */
}

.line-add-container {
  text-align: center; /* 親要素で中央寄せ */
  margin-top: 20px;
  z-index: 1;
}

.line-add-button {
  display: inline-block; /* 中央寄せを安定させる */
}

/* Instagramのフォロー追加 */
.instagram-follow {/*ボタンの下地*/
  color: #FFF;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  position: relative;
  display: inline-block;
  height: 40px;/*高さ*/
  width: 140px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 30px;/*文字のサイズ*/
  line-height: 30px;/*高さと合わせる*/
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
  margin-left: -20px;
}

.instagram-follow:before{/*グラデーション②*/
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;/*全体を覆う*/
  height: 100%;/*全体を覆う*/
  background: -webkit-linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
  background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
}

.instagram-follow .fa-instagram{/*アイコン*/
  font-size: 30px;/*アイコンサイズ*/
  position: relative;
  top: 4px;/*アイコン位置の微調整*/
}

.instagram-follow span {/*テキスト*/
  font-size: 1.2rem;
  margin-left: 5px;
  display:inline-block;
  position: relative;
  transition: .5s
}

.instagram-follow:hover span{/*ホバーで一周回転*/
  -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
}

/* PCでは改行しない */
.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}

.message-sign {
  height: 3.0rem;
}

.service-logo {
  height: 15.0rem;
}