@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;
}

/* メイン画像 */

.hero-image {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 49%;
}

.about-hitoiki h2 {
    position: absolute;
    bottom: 13%;
    left: 65%;
    transform: translateX(-60%);

    padding: 30px;
    color: #F5F5F5;
    font-size: 35px;
    letter-spacing: 0.06em;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 270
}

/* 説明文 */

.about-hitoiki {
    background-color: #AFA231;
    text-align: center;
    padding: 100px 20px;
}


.about-hitoiki p {
    font-family: "Shippori Mincho B1", serif;
    font-size: 15px;
    color: #fff;
    line-height: 2.8;
}

.about-icon {
    width: 300px;
    height: auto;
    padding: 40px auto;
    display: block;
    margin: 50px auto;
}

.about-one {
    padding-bottom: 30px;
}

.about-two {
    padding-bottom: 50px;
}

.about-four {
    padding-bottom: 60px;
}

.about-five {
    padding-bottom: 60px;
}

.about-six {
    padding-bottom: 70px;
}

.about-seven {
    padding-bottom: 70px;
}



/* ここからラインと画像 */

.wineled-line {
    background-color: #4C0004;
    width: 100%;
    height: 40px;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    object-position: center 65%;
}

.green-line {
    background-color: #AFA231;
    width: 100%;
    height: 15px;
}



/* ここからフッター */

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);
}


/* 下の線 */

.wineled-line {
    background-color: #4C0004;
    width: 100%;
    height: 40px;
}


/* 動き */

/* 最初（隠れている時）の状態 */
.js-reveal {
    opacity: 0;
    transform: translateY(40px); /* 40px下から浮かび上がる */
    transition: opacity 1.6s ease, transform 1.6s ease; /* 1.6秒かけてゆったり動かす */
}

/* 表示された時（JSによって .show がついた時）の状態 */
.js-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* 例：about-twoはoneより少しだけ遅れて出る */
.about-two.js-reveal {
    transition-delay: 0.3s;
}
/* アイコンはさらに少し遅れて出る */
.about-icon.js-reveal {
    transition-delay: 0.5s;
}


/* レスポンシブデザイン */

@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;
    }

    /* --- ABOUTページ固有の調整 --- */

    /* 1. メイン画像と見出し */
    .hero-image {
        height: 60vh; /* スマホでは高さを少し抑える */
        position: relative;
    }
    .about-hitoiki h2 {
        /* PCの絶対配置をリセット気味に調整 */
        position: absolute;
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%); /* 中央寄せに変更 */
        width: 100%;
        text-align: center;
        font-size: 22px; /* 文字を小さく */
        padding: 0;
        margin: 0;
    }

    /* 2. 説明文エリア */
    .about-hitoiki {
        padding: 60px 20px; /* 上下の余白を少し詰める */
    }
    .about-hitoiki p {
        font-size: 14px; /* 文字を少し読みやすく */
        line-height: 2.2; /* 行間をスマホ向けに微調整 */
    }

    /* 3. アイコン（イラスト） */
    .about-icon {
        width: 180px; /* スマホに合わせて小さく */
        margin: 30px auto;
    }

    /* 4. 下部の画像エリア */
    .about-image {
        height: 250px;
    }
    .wineled-line {
        height: 25px; /* ラインも少し細く */
    }

    /* --- 全ページ共通：フッター --- */
    footer {
        padding: 40px 20px;
    }
    .footer-logo img {
        max-width: 200px;
    }
}

