/* ベースCSS・リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    border-radius: 0;
}
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #1f5491; /* 背景色を追加 */
    color: #fff; /* テキストの色を白に変更 */
}
.header-info {
    display: flex;
    gap: 20px;
}
h1 {
    margin: 0;
}.member-section {
    padding-top: 50px; /* セクションの上側の余白 */
    padding-bottom: 50px; /* セクションの下側の余白 */
    padding-left: 50px;
    padding-right: 50px;
}

/* セクションタイトルのスタイル */
.section-title {
    text-align: center;
    font-size: 2rem;
    /* タイトルの下の余白を減らします */
    margin-bottom: 10px; 
}

/* 実習内容セクションのスタイル */
.content-section {
    padding: 50px;
}
.day-item-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.day-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; /* アイコンを中央に配置 */
    gap: 20px;
    padding: 20px 30px;
    border: 2px solid #ccc; /* 枠線を追加 */
    border-radius: 10px; /* 角を丸くする */
    background-color: #f9f9f9; /* 背景色を追加 */
    transition: all 0.3s ease; /* マウスホバー時のアニメーション */
}

.day-item:hover {
    background-color: #e9e9e9; /* ホバー時の背景色 */
    border-color: #1f5491; /* ホバー時の枠線の色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.day-photo {
    width: 60px; /* アイコンのサイズを小さくします */
    height: 60px;
    object-fit: cover;
    border-radius: 50%; /* アイコンを丸くする */
}
.day-photo {
    width: 300px;
    height: 300px;
}
.did {
  font-size: 1.6rem;
    width: 60%;
}

/* カルーセル専用のスタイル */
.carousel {
    /* 両サイドに20vwの余白を開け、中央に配置 */
    width: 60vw;
    height: 400px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-area {
    height: 100%;
    position: absolute;
    display: flex;
    left: 0;
    transition: left 0.3s ease-in-out;
}
.carousel-list {
    width: 60vw;
    height: 100%;
    flex-shrink: 0;
}
/* プロフィールアイテム内のスタイル */
.profile-item {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 30px; 
    height: 100%;
    width: 100%;
    padding: 20px 40px; /* 上下20px, 左右40pxの余白を追加 */
}
.profile-text-container {
    display: flex;
    flex-direction: column; 
    gap: 5px;
}
.team-photo {
    width: 200px; 
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
/* 文字1：introのスタイル */
.intro {
    font-size: 2.2rem; /* サイズを調整 */
    padding: 5px;
}

/* 文字2：nameのスタイル */
.name {
    font-size: 1.7rem; /* サイズを調整 */
    font-weight: bold;
    padding: 5px;
}

/* 文字3：majorのスタイル */
.major {
    font-size: 1.3rem; /* サイズを調整 */
    padding: 5px;
}

/* スライド送りボタン */
.arrow-wrap {
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* この行を削除します */
    /* pointer-events: none; */
}
.arrow-btn {
    width: 48px;
    height: 48px;
    background-color: rgba(31, 84, 145, 0.8);
    border-radius: 50%;
    transition: .2s;
}
.arrow-btn:focus {
    box-shadow: 0px 1px 10px -2px rgba(0, 0, 0, 0.8);
}
.arrow-btn:hover {
    background-color: rgb(51, 79, 216);
    box-shadow: 0px 1px 10px -2px rgba(0, 0, 0, 0.8);
}
.arrow-left {
    position: relative;
}
.arrow-left:before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #fefefe;
    border-left: 2px solid #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%) rotate(-45deg);
}
.arrow-right {
    position: relative;
}
.arrow-right:before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #fefefe;
    border-left: 2px solid #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, -50%) rotate(135deg);
}

/* ページネーション */
.pagination {
    width: auto;
    margin: 5% auto 0;
    display: flex;
    justify-content: center;
    gap: 40px; 
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.pagination-circle {
    width: 20px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 50%;
    background-color: rgba(31, 84, 145, 0.471);
}
.pagination-circle.target {
    background-color: rgba(31, 84, 145, 0.804);
}
/* カード全体の設定 */
.card {
    position: relative;
    width: 100%; /* 親要素の幅に合わせます */
    height: 150px; /* カードの高さを統一します */
    perspective: 1000px; /* 3D効果を適用します */
    cursor: pointer;
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* 裏面を非表示にします */
    transition: transform 0.6s;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-front {
    transform: rotateY(0deg);
    background-color: #f9f9f9;
}
.card-back {
    transform: rotateY(180deg);
    background-color: #e9e9e9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card.flipped .card-front {
    transform: rotateY(180deg);
}
.card.flipped .card-back {
    transform: rotateY(360deg);
}

/* 既存のday-itemとday-photoのスタイルを調整 */
.day-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 30px;
}
.day-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}
.did {
    width: auto;
}
/* 「スキル紹介」のタイトルスタイル */
.skill-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px; 
}

/* 「スピードスイカ割り」のタイトルスタイル */
.skill-subtitle {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: -20px;
    margin-bottom: 20px;
}
/* スキル紹介セクション全体のスタイル */
.skill-section {
    padding: 50px 5vw; /* 上下左右に余白を追加 */
    background-color: #f8f9fa; /* 背景色を追加して他のセクションと区別 */
    text-align: center;
}

/* スキルコンテンツ部分のスタイル */
.skill-content {
    max-width: 800px; /* 最大幅を設定してテキストが広がりすぎないようにする */
    margin: 0 auto; /* 中央に配置 */
}

/* サブタイトルのスタイル */
.skill-subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1f5491; /* メインカラーを適用 */
    margin-top: 10px;
    margin-bottom: 20px;
}

/* スキル説明文のスタイル */
.skill-info {
    font-size: 1.1rem;
    line-height: 1.8; /* 行の高さを調整して読みやすくする */
    color: #555;
    text-align: justify; /* テキストを両端揃えにする */
}

/* 既存のタイトルスタイルはそのまま使用 */
.section-title {
    margin-bottom: 30px;
}
/* フッターのスタイル */
.footer-container {
    padding: 20px 50px;
    background-color: #1f5491; /* ヘッダーと同じ背景色 */
    color: #fff; /* 文字色を白に */
    text-align: center; /* テキストを中央揃えに */
    margin-top: 50px; /* 上部に余白を追加してコンテンツと分離 */
}
/* 動画セクションのスタイル */
.video-section {
    padding: 50px 5vw;
    text-align: center;
}
.video-container {
    max-width: 900px; /* 動画の最大幅を設定 */
    margin: 0 auto; /* 中央に配置 */
}
video {
    width: 100%; /* コンテナに合わせて幅を100%に */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* 600px以下のモバイル向けスタイル調整 */
@media screen and (max-width: 600px) {
    .skill-info {
        text-align: left; /* スマホでは左揃えに戻す */
    }
}
@media screen and (max-width: 600px) {
    .carousel {
        width: 300px;
        height: 500px;
        position: relative;
        display: block; 
        margin: 0 auto; 
        overflow: hidden;
    }
    .carousel-list {
        width: 300px;
        height: 100%;
        margin-right: 0;
    }
    .arrow-btn {
        width: 30px;
        height: 30px;
    }
}