*{
    margin: 0;
    padding: 0;
    color: white;
}

/* PC用背景 */
.top-img-pc {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: block;
}

/* 背景画像用のimgタグを全画面にフィット */
.top-img-pc .top-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1; /* テキストの後ろに */
}

/* テキスト */
.top-text {
  position: relative;
  text-align: center;
  color: white;
  padding-top: 250px;
}

/* スマホ用背景（初期は非表示） */
.top-img-sp {
  display: none;
}

/* スマホ時に画像を切り替え */
@media only screen and (max-width: 750px) {
  .top-img-pc { display: none !important; }
  .top-img-sp {
    display: block !important;
    background-image: url(../img/forsp.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
    height: 100vh;
  }
}

/* --- iPad専用調整 --- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .top-img-pc {
    background-attachment: scroll; /* 固定を解除 */
    background-position: center center;
    background-size: cover;
    height: 100vh;
  }
}


.top-text h1 {
  font-size: 100px;
  font-family: 'Dancing Script', cursive;
}

@media only screen and (max-width: 750px) {
  .top-text {
    padding: 150px 20px;
  }
  .top-text h1 {
    font-size: 80px;
  }
}

nav h3{
    font-family: 'Dancing Script', cursive;
    color: black;
}

nav i{
    color: #888;
}

.night-sky{
    background-image: url(../img/fix-bg.jpg);
    background-position: center;
    background-size: cover;
    padding: 200px 0px;
    text-align: center;
    background-attachment: fixed;
    max-width: 100%; 
    height:auto;
    color: black;
}

.night-sky h2{
    font-size: 80px;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 40px;
    color: black;
}

.service-list h2{
    font-family: 'Dancing Script', cursive;
    font-size: 80px; 
    margin-bottom: 40px;
    color: white;
}

@media screen and (max-width: 640px) {/* 640px以下でスマホ画面時*/
    .night-sky h2{
    font-size:3.5rem;/*64px*/    
    color: black;
}
}
.night-sky p{
    color:black;
}

.service-list{
    background-color: black;
    text-align: center;
    padding: 50px;
}

/*.service-list h2{
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;/*64px*/   
    color: white;
}
*/



.info{
    border: solid 2px white;
    margin: 20px;
    padding: 20px;
}

.info p{
    padding-top: 10px;
}

/* === お問い合わせセクション全体 === */
section.contact {
  background: linear-gradient(135deg, #f9f9f9 0%, #eaeaea 100%);
  padding: 100px 0;
  text-align: center;
}

/* === フォームコンテナ === */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 60px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #000;
  transition: all 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* === 見出し === */
.contact-form h2 {
  font-size: 80px;
  font-family: 'Dancing Script', cursive;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 40px;
  display: inline-block;
  padding-bottom: 6px;
}

/* === ラベル === */
.contact-form label {
  display: block;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 8px;
  margin-top: 10px;
}

/* === 入力エリア === */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  color: #111;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* === テキストエリア === */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* === 送信ボタン === */
.contact-form button {
  width: 100%;
  background: #000;
  color: #fff;
  font-size: 1.1rem;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin-top: 30px;
}

.contact-form button:hover {
  background: #222;
  transform: translateY(-2px);
}

/* === プレースホルダーの色調整 === */
::placeholder {
  color: #888;
}

/* === スマホ対応 === */
@media (max-width: 768px) {
  .contact-form {
    padding: 35px 25px;
  }
  .contact-form h2, .night-sky h2, .service-list h2 {
    font-size: 3.5rem;
  }
}

/* === PCサイズ時のみボタンを少し小さく === */
@media (min-width: 769px) {
  .contact-form button {
    width: 30%;
    font-size: 1rem;
    padding: 12px 0;
    margin-top: 25px;
  }

  .contact-form button:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

.contact-form button {
  display: block;
  margin: 25px auto 0; /* ← これで中央寄せ */
}



footer{
    background-color: #333;
    padding: 30px;
}

footer ul li{
    list-style: none;
}

footer ul li a{
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
}

footer ul li a:hover{
    color: white;
    text-decoration: none;
}

footer p{
    text-align: center;
}

/* --- Service セクション調整 --- */

/* h3と画像の間に余白を追加 */
.service-list h3 {
  margin-top: 20px; /* 画像との間隔 */
  margin-bottom: 15px; /* テキストとの間隔 */
  font-weight: 600;
}

/* コンテンツの左右余白を狭める（PC用） */
.service-list .container {
  max-width: 1100px; /* デフォルトより少し狭め */
}

/* 各サービスブロックの余白調整 */
.service-description {
  padding: 30px 40px; /* 上下30px、左右40px */
}

/* === スマホ用調整 === */
@media (max-width: 768px) {
  .service-description {
    padding: 20px 15px; /* 左右余白を減らす */
  }

  .service-list img {
    margin-bottom: 15px; /* 画像下の余白を確保 */
  }

  .service-list h3 {
    margin-top: 10px; /* 画像との間を少しだけあける */
    font-size: 1.3rem;
  }

  .service-list p {
    text-align: left;
    font-size: 0.95rem;
  }
}

