/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー画像（切れずに全体を表示） */
header {
    background: url('2nd_year_anv_s.jpg') no-repeat center center;
    background-size: cover; /* 幅100%、高さも埋めるが画像は一部切れる可能性あり */
    height: 60vh;
}


/* ハンバーガーメニューアイコン（常時表示） */
.hamburger {
    display: flex;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 200;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s;
}

/* ハンバーガー → × 変形 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ナビゲーション（全画面・ふわっと表示） */
nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 20px 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
}

nav ul li a:hover {
    color: #f4a261;
}

/* about セクション */
#about {
    background: #f4f4f4;
    padding: 50px 0;
    text-align: left;
}

#about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* future セクション */
#future {
    background: #fff;
    padding: 50px 0;
    text-align: left;
}

#future h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#future p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* フッター */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
