@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 {
    padding-top: 80px;
}

.hero {
    width: 100%;
    height: 110vh;
    overflow: hidden;
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 49%;
}

.hero-content {
    position: absolute;
    top: 35%;
    left: 5%;
    transform: translateY(-50%);
}

.hero h2 {
    font-family: "Shippori Mincho B1", serif;
    font-size: 40px;
    font-weight: 270;
    color: #E5E5E5;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* キャッチコピーのアニメーション */

@keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
      filter: blur(4px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
      filter: blur(0);
    }
  }
  
  /* ---  親要素(p)の設定 --- */
  .catch-copy {
    font-family: "Shippori Mincho B1", serif;
    color: #fff;
    font-size: 40px;
  }
  
  /* --- 各文字(span)の初期状態 --- */
  .char {
    display: inline-block;
    opacity: 0; /* 最初は消しておく */
  }
  
  /* --- 親に.showがついたら、中の.char を動かす --- */
  .js-reveal.show .char {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
  
  /* --- 文字を遅らせて出す（delayの設定） --- */
  /* 一人ずつ順番に「出番だよ！」と命令 */
  .js-reveal.show span.char:nth-child(1) { animation-delay: 0.1s; }
  .js-reveal.show span.char:nth-child(2) { animation-delay: 0.2s; }
  .js-reveal.show span.char:nth-child(3) { animation-delay: 0.3s; }
  .js-reveal.show span.char:nth-child(4) { animation-delay: 0.4s; }
  .js-reveal.show span.char:nth-child(5) { animation-delay: 0.5s; }
  .js-reveal.show span.char:nth-child(6) { animation-delay: 0.6s; }
  .js-reveal.show span.char:nth-child(7) { animation-delay: 0.7s; }
  .js-reveal.show span.char:nth-child(8) { animation-delay: 0.8s; }
  .js-reveal.show span.char:nth-child(9) { animation-delay: 0.9s; }
  .js-reveal.show span.char:nth-child(10) { animation-delay: 1.0s; }
  .js-reveal.show span.char:nth-child(11) { animation-delay: 1.1s; }
  .js-reveal.show span.char:nth-child(12) { animation-delay: 1.2s; }
  .js-reveal.show span.char:nth-child(13) { animation-delay: 1.3s; }
  .js-reveal.show span.char:nth-child(14) { animation-delay: 1.4s; }
  .js-reveal.show span.char:nth-child(15) { animation-delay: 1.5s; }
  .js-reveal.show span.char:nth-child(16) { animation-delay: 1.5s; }
 


/* ここからABOUT */

.about {
    background-color: #DCD189;
    text-align: center;
    padding: 80px 20px;

}

.about h3 {
    font-family: "Shippori Mincho B1", serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.about p {
    font-family: "Shippori Mincho B1", serif;
    font-size: 18px;
    margin-bottom: 40px;
    color: #4C0004;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;

}

.link-button-area {
    display: inline-block;
    margin-top: 30px;
    background-color: #4C0004;
}

.link-button {
    display: inline-block;
    font-family: "Shippori Mincho B1", serif;
    font-size: 18px;
    padding: 12px 40px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.link-button:hover {
    background-color: #800000;
    color: #fff;
}


/* ここからNEWS */

.news {
    background-image: url(../images/top/pexels-cottonbro-4974553.jpg);
    background-size: cover;
    background-position: center 89%;
    background-attachment: fixed;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-area {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 40px;
    width: 100%;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news h2 {
    font-family: "Shippori Mincho B1", serif;
    font-size: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgb(31, 29, 29);
    text-align: left;

}

.news p {
    font-family: "Shippori Mincho B1", serif;
    font-size: 16.5px;
    line-height: 1.8;
    padding: 10px 0;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
    /* width: fit-content; */
    text-align: left;
}

.date {
    display: inline-block;
    width: 120px; /* 日付の幅を固定 */
    font-family: "Shippori Mincho B1", serif;
}


/* ここからITEMS */

.items {
    background-color: rgb(250, 250, 250);
    text-align: center;
    padding-top:80px;
}

.items-area {
    max-width: 1000px;
    margin: 0 auto 50px; /* 下にボタンとの間隔をあける */
}

.item-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.item-image {
    flex: 1;
}

.item-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.item-text {
    flex: 1;
    text-align: left;
}

.item-text p {
    font-family: "Shippori Mincho B1", serif;
    font-size: 16px;
}

.link-button {
    display: inline-block;
    font-family: "Shippori Mincho B1", serif;
    font-size: 18px;
    padding: 12px 40px;
    /* border: 1px solid #800000; */
    color: #fff;
    text-decoration: none;
    /* letter-spacing: 0.2em; */
    transition: 0.3s;
}

.link-button-area-i {
    display: inline-block;
    background-color: #4C0004;
    margin-top: 40px;
    margin-bottom: 100px;
    text-align: center;
}

.link-button:hover {
    background-color: #800000;
    color: #fff;
}


/* ここからラインと画像 */

.green-line {
    background-color: #AFA231;
    width: 100%;
    height: 15px;
}

.top-image {
    width: 100%;
    height: 400px;   
    overflow: hidden;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;        /* 画像下の謎の隙間を消す */
}

.winered-line {
    background-color: #4C0004;
    width: 100%;
    height: 40px;
}


/* ここからフッター */

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;
    }

    /* --- TOPページ固有の調整 --- */
    /* 1. ヒーロー画像とキャッチコピー */
    .hero {
        height: 70vh; 
    }
    .hero-content {
        top: 45%; 
        left: 5%;
        width: 90%;
    }
    .hero h2, .catch-copy {
        font-size: 28px !important; 
    }

    /* 2. ABOUTセクション */
    .about {
        padding: 60px 20px;
    }
    .about h3 {
        font-size: 24px;
    }
    .about p {
        font-size: 16px;
        line-height: 1.8;
    }

    /* 3. NEWSセクション */
    .news {
        padding: 60px 10px;
        background-attachment: scroll; 
    }
    .news-area {
        padding: 40px 20px;
    }
    .news p {
        font-size: 14px;
        text-align: left;
    }
    .date {
        display: block; 
        margin-bottom: 5px;
    }

    /* 4. ITEMSセクション */
    .items-area {
        padding: 0 20px;
    }
    .item-flex {
        flex-direction: column; 
        gap: 30px;
    }
    .item-text {
        text-align: center; 
    }

    /* 5. 下部の画像エリア */
    .top-image {
        height: 250px; 
    }
} 

