@charset "utf-8";

/* ------------------------------
   Hero
------------------------------ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面いっぱい */
    overflow: hidden;
}

/* 背景画像 */
.hero_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タイトル（PC用：横書き） */
.hero_title {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 2px solid #ffffff; /* 白枠 */
    border-radius: 6px;
    text-align: center;
}

/* 下部の白グラデーション */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
}

/* スマホでは縦書きに変更 */
@media (max-width: 800px) {
    .hero_title {
        transform: translate(-7.2rem, -55%); /* ← 微調整して中央寄りに */
        writing-mode: vertical-rl; /* 縦書き */
        text-orientation: upright;
        padding: 1rem;
        font-size: 2.5rem;
    }
}

/* ------------------------------
   Introduction
------------------------------ */
.intro_catch {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-top: 3rem;
    font-weight: 700;
} @media (max-width: 800px) {
    .intro_catch {
        font-size: 1.2rem;
        margin-top: 2rem; /* ← スマホで余白を詰める */
    }
}

.role {
    list-style-type: none;
}

/* ------------------------------
   Scroll
------------------------------ */

.gallery {
  display: flex;
  height: 360px;
  padding: 1rem 0 1rem;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery img {
  margin: 0.5rem;
  border-radius: 4px;
  border: 1px solid #355e3b;
}

/* スマホでギャラリー高さ最適化 */
@media (max-width: 800px) {
    .gallery {
        height: 240px; /* ← スマホで圧迫感を減らす */
    }
}

/* ------------------------------
   Activities
------------------------------ */
.activities{
    margin-bottom: 3rem;
}

@media (max-width: 800px) {
    .activities {
        margin-bottom: 2rem; /* ← スマホで余白を少し詰める */
    }
}

.activity_section {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ------------------------------
   Buttons
------------------------------ */
.btn-list {
    display: flex;
}

.btn {
    display: flex;
    align-items: center;      /* 縦方向の中央揃え */
    justify-content: center;  /* 横方向の中央揃え */

    padding: 0.6rem 1.4rem;
    margin: 0 1rem 0 0;
    border: 1px solid #355e3b;
    background: #f7f3e8;
    color: #355e3b;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;

    width: fit-content;
}

.btn svg {
    fill: #355e3b;
}

.btn, .btn svg {
    transition: all 0.2s ease;
}

.btn:hover {
    background: #355e3b;
    color: #f7f3e8;
}

.btn:hover svg {
    fill: #f7f3e8;
}

/* スマホでボタン縦並び */
@media (max-width: 800px) {
    .btn-list {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        margin: 0;
        justify-content: center;
    }
}
