@charset "utf-8";

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    background-color: #4C0004;
    color: #F5F5F5;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

h1 {
    color: #F5F5F5;
    font-family: "GFS Didot", serif;
    font-weight: 270;
}

.header-area {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-family: "GFS Didot", serif;
    font-weight: 270;
    letter-spacing: 0.1em;
}


/* メイン画像 */

.main-image {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.main-image .main-p {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 55px;
    font-weight: 430;
    font-family: "Shippori Mincho B1", serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 59%;
}



.contact-section {
    padding: 150px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    line-height: 2;
    margin-bottom: 50px;
    color: #4B1F0F;
    font-family: "Shippori Mincho B1", serif;
}

/* フォームの各アイテム */

.form-item {
    margin-bottom: 30px;
}


.form-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #4B1F0F;
}

/* 入力欄 */

.form-item input,
.form-item select,
.form-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color:#fafafa;
    font-family: inherit;
    box-sizing: border-box;
}

/* 送信ボタン */

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background-color: #4C0004;
    color: #fff;
    padding: 15px 60px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}


/* 下の線 */

.wineled-line {
    background-color: #4C0004;
    width: 100%;
    height: 50px;
}

/* ここからフッター */


footer {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
    color: #333;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
}

footer p {
    font-family: "Shippori Mincho B1", serif;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 5px;
}

.copyright {
    margin-top: 50px;
    font-family: "Shippori Mincho B1", serif;
    font-size: 12px;
    color: rgb(70, 70, 70);
}



/* レスポンシブデザイン */

@media screen and (max-width: 768px) {

    /* --- 全ページ共通部分 --- */

    .header-area {
        flex-direction: column;
        padding: 10px;
    }
    .nav ul {
        gap: 15px; 
        margin-top: 10px;
    }
    .nav a {
        font-size: 14px;
    }

    footer {
        padding: 40px 20px;
    }
    .footer-logo img {
        max-width: 200px;
    }

    /* フォーム部分 */
    
    .contact-section {
        padding: 100px 20px 60px; /* 上下の余白を少し詰める */
    }
    
    .main-image .main-p {
        font-size: 40px; /* スマホではタイトルを少し小さく */
    }
    
    .contact-intro {
        font-size: 14px;
        text-align: left; /* スマホでは左寄せの方が読みやすい場合も */
    }

    .submit-btn {
        width: 100%; /* スマホではボタンを横いっぱいにすると押しやすい */
        padding: 18px;
    }
}

/* フェードインアニメーション用（JSと連動） */
.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-reveal.show {
    opacity: 1;
    transform: translateY(0);
}