@charset "utf-8";



.innerWrap{
    margin: 0 ;
    padding: 20px 20px 0;
}
header .innerWrap {
    position: relative;
}

header nav {
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 13px;
}
header nav ul {
    display: flex;
    justify-content: end;
    margin: 0 auto;
}
header nav ul li {
    color: #ffffff;
    margin-left: 30px;
}

.logo {
    width: 150px;
}


.maint {
    display: flex;
    position: relative;
}
.black {
    width: 600px;
    height: 200px;
    opacity: 0.7;
    margin: 0 auto;
    margin-top: 90px;
    resizeimage img { width: 75%; };
}
.maintitle {
    position: absolute;
    top:35%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-weight: bold;
    font-size: calc(40px + 0.5vw);
    white-space: nowrap;
}





/* メインコンテンツ */
main {
    padding: 20px;
}

/* フォーム */
.contact-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* お名前とフリガナのレイアウト */
.name-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.name-field,
.kana-field {
    width: 48%; /* 2つのフィールドを横並びに */
}

.name-field label,
.kana-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* フォーム入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

/* プレースホルダー */
input::placeholder {
    color: #888;
}

/* ボタン */
button {
    background-color: #3300ff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;

}

button:hover {
    background-color: #190074;
}


h1 {
    font-size: 38px;
    text-align: center;
    margin: 30px 0;
}

.Q {
    margin: 0 50px;
}

.Q li {
    margin-bottom: 20px;
    border-bottom: #555 solid 2px;
    padding: 0 30px;
}

.btn {
    margin-left: 450px;
    margin-top: 30px;
}

.yokuaru {
    margin-top: 150px;
}




footer {
    margin-top: 200px;
}

.footerImg {
    background: url(../img/footerimg.png) no-repeat right center/cover;
    height: 200px;
    position: relative;
}
.navFooter{
    margin: 0 ;
    padding: 20px 20px 0;
}
.navFooter ul li{
    color: #ffffff;
    margin-left: 30px;
}
.navFooter ul {
    display: flex;
    justify-content: end;
    margin: 0 auto;
}
.footerTenmei {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    margin-top: 40px;
    margin-left: 30px;
}
.footerP {
    color: #fff;
    font-size: 15px;
    margin-top: 5px;
    line-height: 20px;
    margin-left: 30px;
}
.footerC {
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.otoiawase {
    width: 200px;
    position: absolute;
    bottom: 32px;
    left: 65%;
}
.snsLogo {
    width: 30px;
    margin-left: 10px;
}
.SNS {
    position: absolute;
    bottom: 10px;
    left: 70%;
}

html {
    scroll-behavior: smooth;
}