@charset "UTF-8";

.header7 {
  height: 100vh;
}

.header7 .jumbotron {
  background-image: url("../img/main7.jpg");
  background-size: cover;
  background-position: center top;
  position: relative;
  height: 90%;
  margin-bottom: 0;
}

/* nav
-------------------------------------------------- */
nav.fixed {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
}
/*    キービジュアル
-------------------------------------------------- */
/*下層ページ*/
.under-layer .jumbotron {
  background-image: url("../img/main-img.jpg");
  background-size: cover;
  background-position: center top;
  margin-bottom: 0;
}

/* 全体リセットと基本設定 */
* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0px;
    color: #333;
    line-height: 1.6;
}

/* フォームの外枠 */
.contact-container {
    max-width: 650px;
    margin: 0 auto;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    color: #444;
}

/* 入力グループ */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* 入力フォーム（PC・スマホ共通で幅100%） */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px; /* iOSの自動ズーム防止 */
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

textarea {
    height: 160px;
    resize: vertical;
}

/* 送信ボタン */
.submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #4285f4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #3367d6;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .submit-btn {
        padding: 14px;
    }
}
